Age | Commit message (Collapse) | Author |
|
Once the number of jobs exceeds the total CPU thread count,
the task scheduler starts to inflict excessive context switches,
slowing the entire operation down.
Change-Id: Iff8829f3932e3ceb5eb78151b616991187a27246
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
|
|
Bug: 195274797
Test: mmm system/apex/apexer/testdata
Change-Id: I21dbe8b1bfe02d267c710f3c0dd4abaa737cffe0
Signed-off-by: Huang Jianan <huangjianan@oppo.com>
|
|
Add the new property payload_fs_type in apex module type. Either 'f2fs'
or 'ext4'. Default 'ext4'.
Test: m
Bug: 158453869
Change-Id: I36f373251bd597e11acb62af75437a87e2a531ec
Merged-In: I36f373251bd597e11acb62af75437a87e2a531ec
|
|
Running clang-tidy on all the AOSP code is of little use for us, but it
takes a substantial amount of build time. Disable it to reduce build
times for native code.
Change-Id: Idc3d97bf0a08db31e66ab6ad018749575906ca1e
|
|
Change-Id: I1a52a8e8e436eec827022413270d8b7c76808a69
|
|
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I89b7093be92cb22a223033f9a7269624f7293c35
|
|
* library.go only covers libraries
Change-Id: I3374999d6b364dd1bbc2060996964ee7b04493e7
|
|
Change-Id: Ibbc46fe4af567fc1df72c0a234a64be1aa704453
|
|
staging/lineage-18.1_merge-android-11.0.0_r38
Android 11.0.0 Release 38 (RQ3A.210605.005)
* tag 'android-11.0.0_r38':
Minimal license feature.
Minimal license feature.
Minimal license feature.
Change-Id: I044dc34b2c042162c91cf8e0b0ee5aa3c23e15ef
|
|
Fixes an issue where prebuilt module under unexported soong
namespace overrides source modules when flag `prefer` was set.
Test: Create two modules under the same name, use cc_library_shared
for first one and cc_prebuilt_library_shared with `prefer` set
to true.
Then put the prebuilt module under `soong_namespace {}` and
attempt to compile it without appending the namespace path to
product namespaces.
Without this change it should fail to resolve the
cc_library_shared module even if it should be available.
Change-Id: I506641218e6af94a0b5f048e09e06d83602e50f5
|
|
After removing vndk block from aidl_interface definition
vendor.lineage.power-ndk_platform target no longer exists.
This reverts commit fa55b7ca14307218264487ca85e30cfa5b987a1c.
Change-Id: I431df49a2423b46b87d466feeb6bd3e2caf05e74
|
|
Change-Id: I0e315f8fb9cc6be284574943d1629e6f4b0265b1
|
|
rvc-qpr3-release
Change-Id: I686b1458b0a8ad89feae8e1a341d0ef7b1da9c30
|
|
b5d58b3eaa -s ours am: 64a932b9c7 -s ours am: 7ebfebdb93 -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13928045
Change-Id: I33d035390a3218f8316b656921970c63b509b545
|
|
b5d58b3eaa -s ours am: 64a932b9c7 -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13928045
Change-Id: Ieaddfa6ed52c8febdb199cb604f372afb350d65d
|
|
b5d58b3eaa -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13928045
Change-Id: I4393e98e96b34b0e4604e0c03a7cc2b16e7a5c2e
|
|
-s ours am: 967ca0a6f0 -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 dc5be9099b is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13929165
Change-Id: I205fdd6184d71558111a96988861838906ec8649
|
|
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13928045
Change-Id: If527f71987f23aee63aa0a1209572479672398c5
|
|
-s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 dc5be9099b is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13929165
Change-Id: I8fd218bbabaf658ef3408fbefe00b9eb2ed8e3f4
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13929165
Change-Id: I49453a723ea46a2bda5d21655e569c212564c076
|
|
Keeps license declarations from breaking the build without implementing
the full feature.
Test: m all
Bug: 181768532
Change-Id: Ic78672cd25da13aa9078a48b06446f66780c792d
Merged-in: Ic78672cd25da13aa9078a48b06446f66780c792d
Merged-in: If3fbc157c6ffed8e3ee4bdd9aa56fabe2c24444b
Merged-in: Ie7e1695ecb8cd943124426a0cad2c0d1db2b46ed
|
|
Keeps license declarations from breaking the build without implementing
the full feature.
Test: m all
Bug: 181768532
Change-Id: Ic78672cd25da13aa9078a48b06446f66780c792d
Merged-in: Ic78672cd25da13aa9078a48b06446f66780c792d
Merged-in: If3fbc157c6ffed8e3ee4bdd9aa56fabe2c24444b
Merged-in: Ie7e1695ecb8cd943124426a0cad2c0d1db2b46ed
|
|
rvc-qpr3-release
Change-Id: Ib835221bb007f4bea64fd45e2a6826e158f3608f
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13879853
Change-Id: Ib49755e526c64d8cbaee4e6d26133321b66bd535
|
|
Keeps license declarations from breaking the build without implementing
the full feature.
Test: m all
Bug: 181768532
Change-Id: Ic78672cd25da13aa9078a48b06446f66780c792d
Merged-in: If3fbc157c6ffed8e3ee4bdd9aa56fabe2c24444b
Merged-in: Ie7e1695ecb8cd943124426a0cad2c0d1db2b46ed
|
|
staging/lineage-18.1_merge-android-11.0.0_r32
Android 11.0.0 Release 32 (RQ2A.210305.006)
* tag 'android-11.0.0_r32':
[DO NOT MERGE] Capture the build command that executed the build system.
[DO NOT MERGE] Capture the build command that executed the build system.
Deprecate both USE_GOMA and FORCE_USE_GOMA flags
Add data bin and lib properties to sh_test
Remove special-cased stub deps on framework-res
Collect the hostname of the machine as a metric.
Add a tagged output for app's exportPackage
Update to r383902b1.
Conflicts:
java/java.go
Change-Id: I181c38f5620c53fa3dea6bcff58782b5f8033a31
|
|
OverrideModule's `base` property should point a valid
module(OverridableModule).
It should be checked before using it.
Bug: 159503211
Test: add `override_apex` without `base`
m emits error, not panic.
Change-Id: I1d7c9395cc9a7461e317dd4b6ddbec3a9e68e9bf
(cherry picked from commit 3851b0c1fe8e8ffd3d30b4b8a5289f39a2c98270)
|
|
The default value is set to enable scudo with the
32-bit libc variant.
Change-Id: I9205da12eceadfe6245763a49c7208d30b82ad99
|
|
Change-Id: Ib46d9638a2b3648d5e2ade1dfa864bc4e2ae695c
|
|
Test: try building on the xcode 12 beta 2 macOS 11 SDK
Change-Id: Ic7e245ca418914798ba737106c6a345844e7a6ac
|
|
Change-Id: Ieb3e5739b50789bdbaf41a7d5adb04b08f7b9ea2
|
|
-Allow folks to see easily if the term session they are in has
WITH_SU set to true
-Also add a dumpvar rule for WITH_GMS for those that have it
Change-Id: Ib310d0016bb9eb16960f794720321b706b6fd8b0
|
|
Change-Id: I24b29442f041aec451a173db404f542060ac67d2
|
|
Change-Id: Ia9d2210605c5927b529fbe9485b0e5abd079f487
|
|
* This reverts commits c59e356, ce8c7b4, f6807aa in preparation
for using Soong config variables as per Google's docs.
Change-Id: Ice01dcd8da10e3e2c38394acd9fe9a9ccb1d9784
|
|
* Looking for modules that provide a boot jar is currently
done by module name match only. This breaks when you
have multiple copies of the same module in your build
tree (eg in another device).
* Add a new mutator that marks the modules that should be used
for bootjar content.
* The logic is simple: give priority to modules that are in
exported soong namespace.
Change-Id: I2476174b892475c14a9f10b5e66b8496186f81c0
|
|
Squash of:
Author: Rashed Abdel-Tawab <rashed@linux.com>
Date: Thu Aug 9 14:08:53 2018 -0700
soong: Special case Lineage SDK
* org.lineageos.platform-res.apk needs to be installed to /system/framework
* org.lineageos.platform-res needs to be a dependency for
org.lineageos.platform and org.lineageos.platform.internal
* Add other special exceptions for org.lineageos.platform-res
Change-Id: Ic617c07c086916005ea4b88f26d31c61691a45f8
Author: Sam Mortimer <sam@mortimer.me.uk>
Date: Thu Aug 30 15:33:16 2018 -0700
soong: make org.lineage.platform-res depend on framework-res
*) Allows us to build org.lineage.platform-res with no_framework_libs
true (as is done for framework-res).
*) Whilst we're here, undo a dependency loop prevention in aar.go
that we added during sdk bringup to allow our platform res to build
with no_framework_libs false.
Change-Id: Ib452a2e45112baf5d61b70b4be1ce0c01dfd84e5
Author: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: Mon Feb 4 18:56:52 2019 +0100
Always link org.lineageos.platform-res for org.lineageos.platform.sdk
Test: m clean && m org.lineageos.platform.sdk
Change-Id: I58956855bd4d1157e2582103c4861e7b384b4f73
Author: Sam Mortimer <sam@mortimer.me.uk>
Date: Fri Aug 31 10:52:29 2018 -0700
soong: Allow framework to access lineage-sdk resources
*) Make framework depend on lineage-sdk resource package
*) Allows framework module to access lineage-sdk resources
via usual org.lineageos.platform.internal.R paths.
Change-Id: Ifd19d43d9308ac370ad40a499de16bf8ce204beb
Change-Id: Icc18de5dfaa83fc0a1eda6f3704f3a92e1de0764
|
|
*) Add option --copy-all-files that copies all generated output.
*) When enabled, do not error when unexpected output files are found.
*) For use by lineage_generator module.
Change-Id: Ia3cd2216807f6165b23a97a001db7303f15d33e2
|
|
Change-Id: Ice4093b86baed6974bab630f0e80f6b13a5e28f3
|
|
Change-Id: I0e5395ac70220f1d3a1c87c6112e33f84f526fea
|
|
Includes the following commit:
Author: Simon Shields <simon@lineageos.org>
Date: Mon Sep 4 21:09:44 2017 +1000
soong: explicitly specify name of Lineage variables struct
Change-Id: Ic754b8a13658ddc40620f985581bd1754b780b15
Change-Id: If127c9da6b57340ae57e0cf725151cdcc3c82ef3
|
|
Used by vendor/lineage generated kernel header module.
Partial pick from:
Author: Sam Mortimer <sam@mortimer.me.uk>
Date: Fri Aug 17 11:25:08 2018 -0700
soong: Add java sources overlay support
Change-Id: I94143febb0a8afa6a165364d36a40d5120a4e7bc
Change-Id: I415af71458f2a7be8e256cb3c548994f09c5bebf
|
|
APEX variants that share the same SDK version and updatability
almost always use identical command line arguments to build but
with different intermediates directories. This causes unnecessary
build time and disk space for duplicated work.
Deduplicate APEX variants that would build identically. Create
aliases from the per-APEX variations to the new shared variations
so that the APEX modules can continue to depend on them via the
APEX name as the variation.
This has one significant change in behavior. Before this change,
if an APEX had two libraries in its direct dependencies and one
of those libraries depended on the other, and the second library
had stubs, then the first library would depend on the implementation
of the second library and not the stubs. After this change, if
the first library is also present in a second APEX but the second
library is not, then the common variant shared between the two
APEXes would use the stubs, not the implementation.
In a correctly configured set of build rules this change will
be irrelevant, because if the compilation worked for the second
APEX using stubs then it will work for the common variant using
stubs. However, if an incorrect change to the build rules is
made this could lead to confusing errors, as a previously-working
common variant could suddenly stop building when a module is added
to a new APEX without its dependencies that require implementation
APIs to compile.
This change reduces the number of modules in an AOSP arm64-userdebug
build by 3% (52242 to 50586), reduces the number of variants of the
libcutils module from 74 to 53, and reduces the number of variants
of the massive libart[d] modules from 44 to 32.
This relands I0529837476a253c32b3dfb98dcccf107427c742c with a fix
to always mark permissions XML files of java_sdk_library modules as
unique per apex since they contain the APEX filename, and a fix
to UpdateUniqueApexVariationsForDeps to check ApexInfo.InApexes
instead of DepIsInSameApex to check if two modules are in the same
apex to account for a module that depends on another in a way that
doesn't normally include the dependency in the APEX (e.g. a libs
property), but the dependency is directly included in the APEX.
Bug: 164216768
Test: go test ./build/soong/apex/...
Change-Id: I2ae170601f764e5b88d0be2e0e6adc84e3a4d9cc
|
|
In preparation for reusing the same variation for multiple apexes,
rename ApexName to ApexVariationName.
Bug: 164216768
Test: all soong tests
Change-Id: I88f2c5b192ffa27acd38e01952d0cefd413222a0
|
|
Propagate CreateAliasVariation from Blueprint to Soong.
Bug: 164216768
Test: m checkbuild
Change-Id: I635bf67481092b83a8d26ef1cb06e2e3e21a595f
|
|
Previously, when java_sdk_library_import was preferred over a
java_sdk_library the latter ends up depending on the prebuilt child
modules created by the java_sdk_library_import instead of the source
child modules that it created itself. That was because all dependencies
on those source child modules were replaced with the corresponding
prebuilt child modules.
This change prevents those dependencies from being replaced to preserve
the dependencies from java_sdk_library onto its source child modules by
making the replacement conditional depending on the tag used. It also
updates the affected test.
Bug: 159902351
Test: m nothing
Change-Id: I4441b901dedfd44b9769df1ac2e248b94834cf85
|
|
Previously, java_sdk_library_import added the dependencies on its child
components in the deps mutator after prebuilts without a matching
source module are renamed to the source module name. That meant that
the java_sdk_library_import has to use the source module name and ended
up depending on the source module unless it was preferred.
This change adds a new component deps mutator that runs before the
PrebuiltRenameMutator so that the java_sdk_library_import can add
dependencies onto the prebuilt modules. It also updates an affected
test.
Bug: 159902351
Test: m nothing
Change-Id: I3576c4873302743e51aff547ea1497bef6d748ac
|
|
Adds some tests to track the current dependencies between
java_sdk_library, java_sdk_library_import and their child modules in
various configurations. This is in preparation for a series of changes
that will update the dependencies to ensure that the java_sdk_library
always depends on the source modules that it creates and
java_sdk_library_import always depends on the prebuilt modules that it
creates.
Comments in the tests highlight the parts that will be affected by the
follow up changes.
Bug: 159902351
Test: m nothing
Change-Id: I8eea3ac80061f5cbbc9dec201750c4b59e224b4b
|
|
Previously, an APEX variant was created for a module that was a member
of an SDK just in case it had to be replaced with an APEX requested
snapshotted version of that member. That was necessary because that was
the only way to have APEX specific replacements.
Since then a new method called ReplaceDependenciesIf() has been added
which provides fine grained control over which dependencies are
replaced. This change uses that new method to handle the replacements
which allows the APEX variants to be removed.
Bug: 161928524
Test: m nothing
Change-Id: If3869dd6753dc182b099af566b20fbc9c9c6eff7
|
|
apexDepsMutator marks all dependencies of apex modules. Previously, it
was converted from WalkDeps() to Top-down mutator to avoid the pitfall
of WalkDeps() bug. (It did't handle multiple visits via different
paths.)
Because WalkDeps() problem solved in aosp/1277516, apexDepsMutator can
be reverted to use WalkDeps().
Even though there's no observable difference between them, I revert this
for the up-coming change, which requires different pruning strategies
per apexes.
Bug: 159195575
Test: m
Change-Id: Ib09cbc7a3dfd143dd37b660b1aea6c71392ce2e3
|