aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow tools for building mesahistory/28-08-2020Tobias Tefke2020-08-151-0/+6
| | | | | | | | | | | | | | Mesa needs some external host tools tools that are not allowed by Soong. We have to allow these tools, otherwise error messages like the following will be displayed: "xgettext" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information. Signed-off-by: Tobias Tefke <t.tefke@stud.fh-sm.de> Change-Id: Ife48e4ddf2f638b992a58e786a9680c98a40208b GNUtoo: Added bison, flex, nano Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Allow to use the host python2Denis 'GNUtoo' Carikli2020-08-151-0/+1
| | | | | | | | | | | | | | | | | Using TEMPORARY_DISABLE_PATH_RESTRICTIONS=true has several downsides: - It output a warning each time a tool that is not in the config.go list is used. This spawns the build log. So it's a good idea to add the tools we use in config.go regardless of if TEMPORARY_DISABLE_PATH_RESTRICTIONS is set to true or not. - Adding python2 in config.go and not enabling TEMPORARY_DISABLE_PATH_RESTRICTIONS could be used to track the usage of 'python' as it's not allowed. In turn if we find that it's not used at all, we could simply remove the requirements to symlink python to python2 as users building Replicant might have other programs that require python to be python3 and not everybody might have the time or the resources to dedicate a distribution to build Replicant. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Adjust to vendor/lineage move to vendor/replicantDenis 'GNUtoo' Carikli2020-08-151-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Merge tag 'android-10.0.0_r37' into ↵lineage-17.1Kevin F. Haggerty2020-06-017-34/+114
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | staging/lineage-17.1_merge-android-10.0.0_r37 Android 10.0.0 Release 37 (QQ3A.200605.001) * tag 'android-10.0.0_r37': Wrap getenv when linking a coverage-enabled binary Refactor libprofile-extras to be added as a whole static library Package coverage files as a zip. Build native coverage variant of APEXes when needed Change-Id: I89b49b7f720021e528ad51ef2be9554e06189904
| * Snap for 6182290 from 8ee870a540764c8b8ca538fec4ddf18d056b6ec4 to ↵android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-build-team Robot2020-02-056-4/+66
| |\ | | | | | | | | | | | | | | | qt-qpr3-release Change-Id: I0b819cd37a1f6a04d0e2dcf61e3457e5711e94a8
| | * Merge "Build native coverage variant of APEXes when needed" into qt-dev am: ↵Automerger Merge Worker2020-02-046-4/+66
| | |\ | | | | | | | | | | | | | | | | | | | | abc4f820a1 Change-Id: Id11c85eb9c5dea8a43486a70409ae370d1faa938
| | | * Merge "Build native coverage variant of APEXes when needed" into qt-devTreeHugger Robot2020-02-046-4/+66
| | | |\
| | | | * Build native coverage variant of APEXes when neededJiyong Park2019-08-166-4/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the native coverage is enabled, APEXes (and files there) are built for native coverage as well. Bug: 138952487 Test: make -j NATIVE_COVERAGE=true COVERAGE_PATHS='*' com.android.resolv find out -name "*.gcno" | grep DnsResolver shows files Test: libnetd_resolv.zip is found under $(TARGET_OUT)/apex/com.android.resolv/lib directory Merged-In: I97bcee9bf8ffc0dc71453abbdb613ed56ea2cdb4 (cherry picked from commit ee9a98d88ec9a792c3d67b9aed9e4571bf2544cf) Change-Id: I97bcee9bf8ffc0dc71453abbdb613ed56ea2cdb4
| * | | | Snap for 6179254 from 8d8639d5f506d2058949a517c170d277203da566 to ↵android-build-team Robot2020-02-045-30/+48
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-qpr3-release Change-Id: Id9cdbaf3ab69ff34fa860bb9e6ae660571a27820
| | * | | Wrap getenv when linking a coverage-enabled binary am: c2cf2c5dbeAutomerger Merge Worker2020-02-031-0/+2
| | |\| | | | | | | | | | | | | | | | | Change-Id: I0cc628c5672e3c7565fc3f0250bb45f0c62cedad
| | | * | Wrap getenv when linking a coverage-enabled binaryPirama Arumuga Nainar2020-02-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wrapper to getenv() appends the effective userid (euid) of the current process to GCOV_PREFIX. This avoids conflicts and permissions issues when multiple processes try to create/access the same directories and files under /data/misc/trace. Bug: 148178774 Test: Verify that coverage files are written to /data/misc/trace/<euid>/proc/... instead of /data/misc/trace/proc/... Change-Id: If58081a12b2b9bc40cfcbf64c99beafe198d07af Merged-In: If58081a12b2b9bc40cfcbf64c99beafe198d07af (cherry picked from commit 100bbdc8f3458b8a48b339356130cf4165aaadea)
| | * | | Refactor libprofile-extras to be added as a whole static library am: 2363a2b162Automerger Merge Worker2020-02-032-23/+24
| | |\| | | | | | | | | | | | | | | | | Change-Id: Ic7b0c632eed10248906eb5a36a40f7afa1c659ce
| | | * | Refactor libprofile-extras to be added as a whole static libraryPirama Arumuga Nainar2020-02-032-23/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: http://b/134177005 Bug: http://b/116873221 Previously, the libprofile-extras dependency was added as a LateStaticLib and the constructor in this library was included during linking with the '-uinit_profile_extras' linker flag. This was done because at the deps() stage, the exact binaries that need coverage are not known (in fact the coverage-enabled variants are not created yet). This meant that for a link command, if one of the shared libraries already exported the constructor, the output of the link command did not load/link libprofile-extras. For other reasons, we now want to add more symbols to this library that need to be linked into all libraries and executables. To accomplish that, refactor the dependency handling so libprofile-extras can be added as a 'WholeStaticLib'. This is done by creating a new dependency type (with a coverageDepTag dependency tag) to add libprofile-extras as a dependency for all modules that can potentially link with coverage. During the flags() call, this dependency is moved as a WholeStaticLib dependency iff coverage is enabled in this link step. There are a few NFC changes as well: - deps() takes a DepsContext parameter. - flags() has an extra PathDeps parameter and return value. - add useSdk() helper to cc.Module. Test: Build with coverage and check that we can generate coverage using SIGUSR1 and the debug.coverage.flush sysprop. Change-Id: I7e7d8201956a150febbda5bb1794f8ece016db8b Merged-In: I7e7d8201956a150febbda5bb1794f8ece016db8b (cherry picked from commit 82fe59b65684462cb70a17145336e54c3fe5c79c)
| | * | | Package coverage files as a zip. am: baa54c6ed8Automerger Merge Worker2020-02-033-7/+22
| |/| | | | | |/ / | | | | | | | | Change-Id: I6c9890781efb0eb2a0667d1e8e22c06a07411aaa
| | * | Package coverage files as a zip.Oliver Nguyen2020-02-033-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 148178774 Test: make NATIVE_COVERAGE=true COVERAGE_PATHS="*" Change-Id: I955212a20ea19c854ebc88635252a1d174ea8f7f Merged-In: I955212a20ea19c854ebc88635252a1d174ea8f7f (cherry picked from commit c743414d4298c2ffad94eb4fc00d644b992b0bf8)
* | | | Merge tag 'android-10.0.0_r31' into lineage-17.1-android-10.0.0_r31Luca Stefani2020-03-0720-301/+879
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 10.0.0 release 31 * tag 'android-10.0.0_r31': Revert submission 9940985-qpr1-dev merge Revert submission 9919844-manual r1 merge DO NOT MERGE: Add tradefed_java_library_host DO NOT MERGE: Add tradefed_java_library_host DO NOT MERGE: Add tradefed_java_library_host Switch to clang-r353983c1. Switch to clang-r353983d Shard gensrcs modules into multiple commands Move sharding functions for reuse Rewrite depfile from sbox to stay reproducible Support RuleBuilder.Sbox to wrap commands in sbox Update droidstubs build target Change-Id: Iff6698461ec43d1c74e70e3a693ebd028fe7b8b7
| * | | | Snap for 6091187 from 93567935fd147a7a0086fd94594ccf113953bfd8 to ↵android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-build-team Robot2019-12-213-45/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: I57cb782c31c177ed6c08ba0b308b3f55c4eafc66
| | * | | Merge "Revert submission 9919844-manual r1 merge" into qt-r1-dev am: a9904830b1Automerger Merge Worker2019-12-200-0/+0
| | |\ \ \ | | | | | | | | | | | | | | | | | | Change-Id: Ibb114dc72f2b9ca44e0f94b5248be1dad36280d2
| | | * \ \ Merge "Revert submission 9919844-manual r1 merge" into qt-r1-devTreeHugger Robot2019-12-203-45/+1
| | | |\ \ \
| | | | * | | Revert submission 9919844-manual r1 mergeKimberly Kreider2019-12-193-45/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reason for revert: broke tests b/146476630 Bug: 146476630 Reverted Changes: Change-Id: I66b0f86dfc6336fa0dd88e6e4c340744a4791efd
| | * | | | | Merge "Revert submission 9940985-qpr1-dev merge" into qt-qpr1-devKimberly Kreider2019-12-203-45/+1
| | |\ \ \ \ \
| | | * | | | | Revert submission 9940985-qpr1-dev mergeKimberly Kreider2019-12-203-45/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reason for revert: broke tests b/146476630 Bug: 146476630 Reverted Changes: Change-Id: I48c73bcb0819f7cb4c41834cdd680e9e6c323be7 Exclude all builds containing Colin's original change Meged-In: f0f2e2cf79558569c227e8d96a784d9c0679814a
| | * | | | | | DO NOT MERGE: Add tradefed_java_library_host am: cba45b2892 am: 4f2eeaba4eAutomerger Merge Worker2019-12-190-0/+0
| | |\ \ \ \ \ \ | | | | |/ / / / | | | |/| | | | | | | | | | | | Change-Id: I6ad1c987e630d4a5d273055f67bd89d0da54a0bb
| | | * | | | | DO NOT MERGE: Add tradefed_java_library_host am: cba45b2892Automerger Merge Worker2019-12-170-0/+0
| | | |\ \ \ \ \ | | | | |_|/ / / | | | |/| | / / | | | | | |/ / | | | | |/| | Change-Id: I3b77506c0de706526e21f31731a0edd1330881d1
| | | | * | | DO NOT MERGE: Add tradefed_java_library_hostColin Cross2019-12-133-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a module type for tradefed libraries that causes an additional copy to be installed at out/host/linux-x86/tradefed. Bug: 143908003 Exclude merging into *-plus-aosp branches, since they already include the change. Merged-In: I670345494abbad80dacab54471e635abfae3b3b3 Merged-In: I1cb25bbd5823a14f1a9428d58827677eff22ec7e Change-Id: I55bca53e02588827374896ef87d58f3f4bdc48c7 (cherry picked from commit f0f2e2cf79558569c227e8d96a784d9c0679814a)
| | * | | | | DO NOT MERGE: Add tradefed_java_library_host am: 853f5c9eddAutomerger Merge Worker2019-12-190-0/+0
| | |\| | | | | | | |_|/ / | | |/| | | | | | | | | Change-Id: I43e5f13223e99e6edf4e04386a45e31fa1cb4312
| | | * | | DO NOT MERGE: Add tradefed_java_library_hostColin Cross2019-12-133-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a module type for tradefed libraries that causes an additional copy to be installed at out/host/linux-x86/tradefed. Bug: 143908003 Exclude merging into *-plus-aosp branches, since they already include the change. Merged-In: I670345494abbad80dacab54471e635abfae3b3b3 Merged-In: I1cb25bbd5823a14f1a9428d58827677eff22ec7e Change-Id: I55bca53e02588827374896ef87d58f3f4bdc48c7 (cherry picked from commit f0f2e2cf79558569c227e8d96a784d9c0679814a) (cherry picked from commit cba45b28925b2fb3ebbd9e281a185de0d2b8b0c7)
| * | | | | Snap for 6087694 from 4ba82c94824137acae8ed1c69db6d1c151b155ee to ↵android-build-team Robot2019-12-203-1/+45
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: I5c39ed1c0476a6f4705dab83a3571b8c6a2fca14
| | * | | | DO NOT MERGE: Add tradefed_java_library_hostColin Cross2019-12-173-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a module type for tradefed libraries that causes an additional copy to be installed at out/host/linux-x86/tradefed. Bug: 143908003 Exclude merging into *-plus-aosp branches, since they already include the change. Merged-In: I670345494abbad80dacab54471e635abfae3b3b3 Merged-In: I1cb25bbd5823a14f1a9428d58827677eff22ec7e Change-Id: I55bca53e02588827374896ef87d58f3f4bdc48c7 (cherry picked from commit f0f2e2cf79558569c227e8d96a784d9c0679814a) (cherry picked from commit cba45b28925b2fb3ebbd9e281a185de0d2b8b0c7)
| * | | | | Snap for 6057378 from 438f8347e87ebaad8605bfc7f2d125a503151570 to ↵android-build-team Robot2019-12-081-2/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: I0e3b92463c0a0be6167d5c59b3efb8bd0bb86953
| | * | | | Switch to clang-r353983c1.Yi Kong2019-12-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: presubmit Bug: 145023753 Bug: 145483858 Change-Id: I76850ac443d9da4dd2d1500219d0bb87f6d283d1
| * | | | | Snap for 6037790 from 32a1377540e32871a6345c1ead421392bd7c9a2e to ↵android-build-team Robot2019-11-281-2/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: I50d12e20b24ff0f64900f9952694a54e269409af
| | * | | | Switch to clang-r353983dYi Kong2019-11-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: TreeHugger Bug: 145023753 Bug: 140209771 Bug: 138801468 Change-Id: I955c4600149dbc83d6568d00017ee895f6d2bfe5
| * | | | | Snap for 6034952 from d9c1c8fbcb242d2aacebbd9dc28702b402fe44f4 to ↵android-build-team Robot2019-11-2717-298/+851
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: If50010e646664876b1e50fa9a4a49a766a60e94f
| | * | | | Shard gensrcs modules into multiple commandsColin Cross2019-11-212-148/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gensrcs modules use a single command to convert all of the sources, which can lead to command line length limits, long critical path times, and excessive rebuilds. Shard them into multiple rules, defaulting to 100 commands in each. Test: TestGenSrcs Test: m Fixes: 70221552 Fixes: 138438756 Fixes: 138829091 Fixes: 144948629 Change-Id: I8409e43011a4754e095ad1b368570a2ba8d75e50 Merged-In: I8409e43011a4754e095ad1b368570a2ba8d75e50 (cherry picked from commit 1a527688d67b9349f4ea5735916c35bdb7f1847f)
| | * | | | Move sharding functions for reuseColin Cross2019-11-214-14/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move shardPaths and shardTests to android.ShardPaths and android.ShardStrings for reuse in other packages. Bug: 144948629 Test: m checkbuild Change-Id: I868802872c73616b80f56cbf11f959c01a8b793a Merged-In: I868802872c73616b80f56cbf11f959c01a8b793a (cherry picked from commit 0a2f719bcaad397f27bcf52cd6604df6b5cec03b)
| | * | | | Rewrite depfile from sbox to stay reproducibleDan Willemsen2019-11-219-21/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sbox will generate a random directory for the output root, and most tools will encode that directory name in the output target of the depfile. So embed the library from dep_fixer into sbox so that it can rewrite the output filename to a static (reproducible) value. Ninja doesn't care what that value is, so it's just "outputfile". Also fix up rule_builder to actually tell sbox about the depfile. Bug: 144948629 Test: mmma system/iorap; check the contents of: out/soong/.intermediates/system/iorap/libiorap-binder/android_arm_armv7-a-neon_core_static/gen/aidl/system/iorap/binder/com/google/android/startop/iorap/IIorap.cpp.d Change-Id: I3640a2e8b0c034f143a35e398a8418a6d621b265 Merged-In: I3640a2e8b0c034f143a35e398a8418a6d621b265 (cherry picked from commit c89b6f19810d368d7d5c128407c3eaaa5e3b2e81)
| | * | | | Support RuleBuilder.Sbox to wrap commands in sboxDan Willemsen2019-11-215-123/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This essentially allows you to declare that everything in a directory will be created by the rule, and we'll ensure that your command actually writes out all of the claimed outputs, and remove any other files that previously existed in that directory. Bug: 144948629 Test: built-in tests Change-Id: I990dce2b3a0d89ebd2736ac1a0cadfb5864c6e73 Merged-In: I990dce2b3a0d89ebd2736ac1a0cadfb5864c6e73 (cherry picked from commit 633c50229544db07f48e75833cab655a294f677d)
| * | | | | Snap for 6018910 from 51510a887743de47acc6f0e52ddc1e527d5bf3ab to ↵android-build-team Robot2019-11-202-2/+27
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-qpr2-release Change-Id: If03b5e6a4e90211d41dfe0718a91f0c68c32313b
| | * | | | Update droidstubs build target am: 0b09ad7f34Jerome Gaillard2019-11-192-2/+27
| |/| | | | | | |/ / / | | | | | | | | | | | | | | | | | | | | am: 874cbda338 Change-Id: I58bcb252189a28231d74dbadf88100e465251508
| | * | | Update droidstubs build targetJerome Gaillard2019-11-192-2/+27
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 0b09ad7f34 Change-Id: I5c4e69b3905547e78ba2228b05aa7a7c8b391f08
| | | * | Update droidstubs build targetJerome Gaillard2019-11-182-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows to use Metalava to generate metadata files useful for Android Studio as part of a droidstubs target. Once those files have been created in a new metadata folder, they are zipped to make it easier to transfer them into the out/target/common/obj/PACKAGING folder where they can then be picked up by the SDK build to be included there. Bug: 142480924 Test: m sdk Change-Id: I4be1c9e78369c65ee9cd94706c6d20ab0df6b797 Merged-In: I4be1c9e78369c65ee9cd94706c6d20ab0df6b797
* | | | | Simplify message around nsjail errorDan Willemsen2020-03-041-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have known problems (docker; distros w/o user namespaces) which mean that we won't be turning this into a fatal error anytime soon. Also remove the bug report link, it's not useful to continue getting the same reports. Change-Id: I271871d68150417ac938f074d3730cad4518e327 Test: treehugger
* | | | | Uncompress dex in unbundled privileged appsColin Cross2020-02-011-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mainline builds privileged apps unbundled and then uses them as prebuilts, so they need to respect the privileged flag when deciding whether or not to uncompress the dex. Bug: 135772877 Test: TestUncompressDex Change-Id: I91da7116b779ae35c0617ef77dbcb9788902370c
* | | | | Don't print critical path parallelism ratio if elapsed time is 0.Colin Cross2020-01-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Test: m nothing, examine out/soong.log Change-Id: Ib23902c703d306337b2a5150d6d63b1e3d0f95b3
* | | | | Take into account RAM usage for multiproduct_katiDan Willemsen2020-01-041-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently we have some instances of Soong taking 16GB of RAM. While that's a problem to solve on it's own, make multiproduct_kati's auto-parallelism detection smarter by taking into account the total RAM on the machine instead of just the number of CPUs. Bug: 146925549 Test: check soong.log for autodetected parallelism values Change-Id: Ice34c2cf73ea4f8f235521cbefc8654a79a04eef
* | | | | Add TotalRAM detectionDan Willemsen2020-01-045-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Colin originally wrote this for the highmem pool: https://android-review.googlesource.com/c/platform/build/soong/+/1168271 But while that's a larger change, this is useful to just be in the logs, and for use in multiproduct_kati to better limit the number of concurrent jobs. Test: check soong.log on linux and mac Change-Id: I0518d303a220d775f8d78dba9f660b2954e68e3e
* | | | | soong: Add function to return camera parameters library namestaging/lineage-17.0_merge-android-10.0.0_r9Rashed Abdel-Tawab2019-12-111-0/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: I3113ea6813b82c3f6b250205080030ff9c2255ec
* | | | | soong: Give priority to modules in exported namespaces for bootjarsSam Mortimer2019-12-116-1/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | | soong: Allow setting namespace import to "all" to import every namespaceRashed Abdel-Tawab2019-12-111-1/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: I5fc78a15349a77fff85b69bf2a92172149ce37fc