- Sep 08, 2021
-
-
Lukacs T. Berki authored
They were a bit repetitive. In addition, make the environment checks more correct; they could probably use an integration test or two to make sure that when the environment changes, exactly those outputs are rebuilt that need to be, but for now, this is an improvement already. Test: Presubmits. Change-Id: Idd79b81ca6975d57d00e5bf4699d266152505ff8
-
Lukacs T. Berki authored
This makes soong_ui the only place where soong_build is invoked, thus greatly simplifying the conceptual model of the build. It comes with the slight limitation that now soong_docs (and queryview and the JSON module graph) are not Make targets anymore, but I suppose that's an acceptable loss. The only place where someone depended on soong_docs from a Makefile is removed in a separate change. Test: Presubmits. Change-Id: I3f9ac327725c15d84de725d05e3cdde1da3dcbe2
-
Lukács T. Berki authored
-
- Sep 07, 2021
-
-
Chih-hung Hsieh authored
-
Chih-Hung Hsieh authored
Test: make Change-Id: I01b7bcd2cb5a766baf7ea8015996b4a782395875
-
Linzhao Ye authored
-
Lukacs T. Berki authored
Its value is a function of the call site, so it doesn't make a lot of sense to plumb it through the configuration. Test: Presubmits. Change-Id: If928b34de075969fd42932212ce9187808cbdf86
-
Nikita Iashchenko authored
-
Lukacs T. Berki authored
The breakage was because: - aosp/1818236 removed the "rm -fr" invocation from the Ninja file that removed the old queryview tree - queryview files were created with permissions 440 to discourage manual editing These two together made incremental queryview invocations not be able to overwrite its output files. (Of course, it also made them incorrect since old files were lft in place) Test: Presubmits. Change-Id: Idaa3e1db82c9eb8325c48e37aca5146e69af7333
-
- Sep 06, 2021
-
-
Nikita Iashchenko authored
This is part of merging upstream changes from OpenJDK 11.28. This CL adds jdk.internal.math to package_allowed_list.txt Bug: 199067710 Test: atest CtsLibcoreOjTestCases Change-Id: I343bed53ce6b52a6b373a75828b3234073b9cba8
-
Lukacs T. Berki authored
It used to be invoked from out/soong/build.ninja, which required two soong_build invocations one after the other (ne to generate out/soong/build.ninja, one to generate the queryview workspace). This was slower and required some shell-quoted-in-ninja-quoted-in-Go . Test: Presubmits. Change-Id: Idda79c067606663b66e9f94626fa24f3b5af4114
-
Lukacs T. Berki authored
This includes the JSON graph generator and bp2build. Before: GENERATE_BAZEL_FILES=1 m nothing GENERATE_JSON_MODULE_GRAPH=1 m nothing Now: m json-module-graph m bp2build They can now also be combined with other targets or each other. The longer-term goal is to run "m queryview" and "m soong_docs" using the same infrastructure. There are two alternate approaches: 1. Call soong_build from within the main Ninja invocation. This requires two sequential soong_build invocations and is thus slower. 2. Do everything requested in the same soong_build invocation. This would be faster, but one AFAIU can't tell Ninja that multiple possible actions can build the same output so that doesn't work. (1) is somewhat more desirable because soong_docs seems to be built from build/make/core/main.mk ; I assume that that can be worked around although I haven't checked where the output of "m soong_docs" goes. Test: Presubmits. Change-Id: If5ba36490d9f3f60733e6d6be9286eb2b67c3ff5
-
Treehugger Robot authored
-
- Sep 03, 2021
-
-
Treehugger Robot authored
-
Lukács T. Berki authored
-
Bob Badour authored
Bug: 151177513 Test: m all Change-Id: If794ccc814379e383db87f0deb587114b743d952
-
Treehugger Robot authored
-
- Sep 02, 2021
-
-
Matthias Maennich authored
Both processes might consume a large amount of memory when analyzing library ABIs. By chaining them via a pipe we keep the same representation twice in memory. That can introduce a problematic peak memory consumption. Hence, split them apart into separate rules that depend on each other. Bug: 191235788 Test: m out/soong/abi-dumps/ndk/28/x86_64/libc/abi.xml Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: Ia0264a5ede5b2c2a3c2e3fbe968c11d36acf33c2
-
Sasha Smundak authored
Bug: 193540681 Test: internal Change-Id: Ic23bf0f0eadb159285650f0b7e20307788c12387
-
Daniel Norman authored
Bug: 197787336 Test: Create an override_apex that uses a different `prebuilts` than its base. Observe built contents. Test: apex_test.go Change-Id: I7666ed6cfe3f2fa5dd81e5f8c1961477dabbbd3c
-
Lukács T. Berki authored
-
Ulyana Trafimovich authored
* changes: Fix DONT_UNCOMPRESS_PRIV_APPS_DEXS for `android_app_import`. Add tests for uncompressed dex for `android_app_import`.
-
Treehugger Robot authored
-
Lukacs T. Berki authored
They both used to return out/soong. Unfortunately, the tests seem to assume the old behavior, so I had to keep tests inconsistent and I was scared of dexpreopt, too. Test: Presubmits. Change-Id: Ib00c7956fd2cdb28cc11d481c17e5a3ff5ad563a
-
Jingwen Chen authored
* //system/core/libprocessgroup:libprocessgroup_headers * //external/brotli/... and build libbrotli. * //external/libcxx/... This also adds //system/core/libprocessgroup to the denylist, but non-recursively, because there are other modules in its subpackages that don't build yet, so CI's bp2build-incremental's `//system/...` build can keep working. Fixes: 186826841 Fixes: 198148733 Fixes: 197954422 Test: ran mixed_droid-clean locally Test: presubmits Change-Id: I5f21287f5374811c4bfcf7b7d64430fe4f9b2900
-
Lukacs T. Berki authored
The only case for this was Blueprint itself at build/blueprint, but with that being a part of Soong, this special case is not necessary anymore. Test: Presubmits. Change-Id: Icc51cd80bd43f936a97018061cfbf76fc385e4c3
-
Lukacs T. Berki authored
It was confusing because bootstrapping uses two configurations: the "global" config and the special-cased bootstrap one. This change merges them. Test: Presubmits. Change-Id: I82b482cbe28a343ab6991374b2a28667e1a06b48
-
- Sep 01, 2021
-
-
Chris Ye authored
Bug: 194806512 Test: Boot up. Change-Id: I50518b0291dd40dc051c340faa2641c4cf5952d4
-
Chih-hung Hsieh authored
-
Ulya Trafimovich authored
Don't uncompress priv-app dex for `android_app_import` if DONT_UNCOMPRESS_PRIV_APPS_DEXS is true. Update expected test results. Bug: 194504107 Test: m nothing Change-Id: I4e7aa1a3deea856f388ae5ecd9292301f8a09a2f
-
Ulya Trafimovich authored
Some of the test cases for privileged apps currently produce incorrect results (e.g. with DONT_UNCOMPRESS_PRIV_APPS_DEXS := true); they are marked with TODO and will be fixed in a follow-up CL. Bug: 194504107 Test: m nothing Change-Id: Ic0cd24113a27850a967afa0b3deb4a6324f95347
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Lukács T. Berki authored
-
Paul Duffin authored
-
Paul Duffin authored
-
Lukacs T. Berki authored
blueprint_go_binary is enough. Test: Presubmits. Change-Id: Ic95ed8533603dff396740bc1d2a7c60ff2cebf20
-
Anton Hansson authored
-
- Aug 31, 2021
-
-
Lukács T. Berki authored
-