Treehugger Robot
d67a057017
Merge "Write all BUILD files for queryview"
2021-04-22 20:15:23 +00:00
Rupert Shuttleworth
369f329c44
Merge "Add libc_openbsd to mixed builds deny list." am: be1c47b216
am: 5150ab815d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1684906
Change-Id: I9c10acd6a0ce42cd26da8bb31357113daf5e48a6
2021-04-22 19:08:20 +00:00
Rupert Shuttleworth
5150ab815d
Merge "Add libc_openbsd to mixed builds deny list." am: be1c47b216
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1684906
Change-Id: I4f7118005569549b088fe6d2bb6fd726ded3b9e2
2021-04-22 18:52:08 +00:00
Liz Kammer
78c68655e1
Write all BUILD files for queryview
...
Some BUILD files cannot be written to support bp2build as they already
exist in the tree; however, all BUILD files should be written for
queryview as they are not intended to coexist with handwritten BUILD
files.
Test: $ bazel query --config=queryview
"somepath(//system/linkerconfig:linkerconfig--android_arm64_armv8-a ,
//bionic/libc:libc_openbsd--android_arm64_armv8-a_static)"
Test: build/bazel/ci/bp2build.sh
Fixes: 186132826
Change-Id: I2cb26b7482e7eb5523cee33452be3753ad37e1b0
2021-04-22 14:40:17 -04:00
Rupert Shuttleworth
be1c47b216
Merge "Add libc_openbsd to mixed builds deny list."
2021-04-22 17:46:33 +00:00
Rupert Shuttleworth
5baca302df
Add libc_openbsd to mixed builds deny list.
...
Test: USE_BAZEL_ANALYSIS=1 m linkerconfig
Change-Id: I59386d7d70a9a3c0cabe1b641284dfbd131d532d
2021-04-22 13:41:37 -04:00
Treehugger Robot
0b77156774
Merge "Support paths for vintf_fragments from Soong." am: 1552c7b178
am: 193651c2ae
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1677041
Change-Id: I208b3a2483752b2914e0b838173b0b933c4a33a1
2021-04-22 17:21:00 +00:00
Paul Duffin
c5e960d1ae
Merge "bootclasspath_fragment: Add hidden API flag files to snapshot" am: 0f28a51669
am: b9ede6228f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1682091
Change-Id: I4feae7a8f003604eeda442fec6b118a8596baaae
2021-04-22 17:20:27 +00:00
Treehugger Robot
193651c2ae
Merge "Support paths for vintf_fragments from Soong." am: 1552c7b178
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1677041
Change-Id: I7fb15f305486169ae7f90bdeb7cd48a250afeac7
2021-04-22 17:15:40 +00:00
Paul Duffin
b9ede6228f
Merge "bootclasspath_fragment: Add hidden API flag files to snapshot" am: 0f28a51669
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1682091
Change-Id: I50f50b6230998154830da29026380d8cd49120b6
2021-04-22 17:11:40 +00:00
Paul Duffin
855362a5da
Merge "bootclasspath_fragment: Add contents to snapshot" am: 6e0a62b773
am: 889010d73a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1682090
Change-Id: I1a34c19f2fd2ceda3d7353f933a31957d1844d54
2021-04-22 17:10:41 +00:00
Paul Duffin
ab2941a932
Merge "Workaround build failure in coverage build" am: c69bfdd53b
am: eb3fecce39
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683873
Change-Id: I9d3985c9bd13058a8ec1c2469b0cdc695f7e9a8d
2021-04-22 17:10:34 +00:00
Florian Mayer
17c91a2916
Merge "Revert^2 "Add debug ramdisk variant"" am: 4d48aa5255
am: 723ac288a4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683875
Change-Id: I75e603134a8ebe500f586f4efd3fa0edf66ff1fb
2021-04-22 17:10:23 +00:00
Treehugger Robot
1552c7b178
Merge "Support paths for vintf_fragments from Soong."
2021-04-22 17:03:31 +00:00
Paul Duffin
889010d73a
Merge "bootclasspath_fragment: Add contents to snapshot" am: 6e0a62b773
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1682090
Change-Id: I39de93522f400dca2612f84178ba999e7bbccdf1
2021-04-22 17:03:22 +00:00
Paul Duffin
0f28a51669
Merge "bootclasspath_fragment: Add hidden API flag files to snapshot"
2021-04-22 17:02:58 +00:00
Paul Duffin
6e0a62b773
Merge "bootclasspath_fragment: Add contents to snapshot"
2021-04-22 17:01:24 +00:00
Paul Duffin
eb3fecce39
Merge "Workaround build failure in coverage build" am: c69bfdd53b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683873
Change-Id: I723f66b72a7c8a6403736e8bb61174be319e8da1
2021-04-22 17:01:17 +00:00
Florian Mayer
723ac288a4
Merge "Revert^2 "Add debug ramdisk variant"" am: 4d48aa5255
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683875
Change-Id: I5be91cf3b83cdead75d19b191e994b71cfac33a5
2021-04-22 17:00:37 +00:00
Rupert Shuttleworth
40a47c28da
Merge "Allow more cc_library_static targets to build." am: 80c2377089
am: 39cec3c1dd
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1677125
Change-Id: I54226de9fa595cc78ce0dbb788e55e73146776c7
2021-04-22 17:00:24 +00:00
Paul Duffin
c69bfdd53b
Merge "Workaround build failure in coverage build"
2021-04-22 16:54:12 +00:00
Florian Mayer
4d48aa5255
Merge "Revert^2 "Add debug ramdisk variant""
2021-04-22 16:40:24 +00:00
Florian Mayer
836a8f3d61
Revert^2 "Add debug ramdisk variant"
...
78ea2f5eac
Change-Id: I6a6a2ee82e2807045364bab105ec03a1934b411f
2021-04-22 16:38:47 +00:00
Paul Duffin
a9dd6faae5
Workaround build failure in coverage build
...
The jacocoagent is special as while it is depended on by prebuilts it
is not actually a prebuilt.
Bug: 177892522
Bug: 186118711
Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true nothing
Previous command fails without this change and works with it.
Change-Id: I8fba922fc40919936d74a6f95af745e37f1ca61f
2021-04-22 17:31:50 +01:00
Rupert Shuttleworth
39cec3c1dd
Merge "Allow more cc_library_static targets to build." am: 80c2377089
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1677125
Change-Id: I2aec3a7fea471a86b0900e1b70eac4498b9f2977
2021-04-22 16:25:24 +00:00
Rupert Shuttleworth
80c2377089
Merge "Allow more cc_library_static targets to build."
2021-04-22 16:07:20 +00:00
Jaewoong Jung
c7f1d66e2c
Merge changes Ia74a2b83,I30a46c8f,Iac7c0149 am: d6599f5573
am: a9aa24ea33
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683373
Change-Id: I39be09feff6fa678f31c8a131a1e66e8aa219046
2021-04-22 15:53:47 +00:00
Jaewoong Jung
e3f8cfe47e
Merge "Make apex.key and certificate overridable." am: 6a328ff8ac
am: 78939b2bc6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1682218
Change-Id: I936a8e29719a14195e380c59911b231936854119
2021-04-22 15:53:42 +00:00
Treehugger Robot
e6bdf43b20
Merge "Revert "Add debug ramdisk variant"" am: f9c6744e28
am: ae210266fd
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1684345
Change-Id: Ibd01f766e315cc6cf0c25b5b3203a89549d8fc4c
2021-04-22 15:53:33 +00:00
Paul Duffin
ea69b4109b
Merge "Move monolithic stub flags generation to platform_bootclasspath" am: 57d13c6892
am: 5774eb9e14
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683866
Change-Id: Ia4b4ad562a0e90351334cae9a323466f6c7a569b
2021-04-22 15:53:26 +00:00
Paul Duffin
9b76c7bee2
Merge "Extract common stub flags code" am: d631512659
am: d8d72e85f6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683865
Change-Id: I2aa0acb55e98e1399516f582525419d93fbadc14
2021-04-22 15:53:13 +00:00
Jaewoong Jung
a9aa24ea33
Merge changes Ia74a2b83,I30a46c8f,Iac7c0149 am: d6599f5573
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683373
Change-Id: Ifb10107ec571fd3ca20a4ebcb1df5e7ea4291925
2021-04-22 15:44:08 +00:00
Jaewoong Jung
78939b2bc6
Merge "Make apex.key and certificate overridable." am: 6a328ff8ac
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1682218
Change-Id: Ia994ae6bfdac031ef55dfb633bb4dd3f51e6311a
2021-04-22 15:43:40 +00:00
Jaewoong Jung
d6599f5573
Merge changes Ia74a2b83,I30a46c8f,Iac7c0149
...
* changes:
Add lint.strict_updatability_linting
Move Java lint tests to lint_test.go
Forbid bypassing updatability lint checks.
2021-04-22 15:39:41 +00:00
Jaewoong Jung
6a328ff8ac
Merge "Make apex.key and certificate overridable."
2021-04-22 15:37:22 +00:00
Treehugger Robot
ae210266fd
Merge "Revert "Add debug ramdisk variant"" am: f9c6744e28
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1684345
Change-Id: I92d9aaf2d1eafe621bf28710564b9b129d5367b8
2021-04-22 15:35:27 +00:00
Paul Duffin
5774eb9e14
Merge "Move monolithic stub flags generation to platform_bootclasspath" am: 57d13c6892
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683866
Change-Id: I5534c2a10a19d0b433bfa2955326215bf3df16eb
2021-04-22 15:35:14 +00:00
Paul Duffin
d8d72e85f6
Merge "Extract common stub flags code" am: d631512659
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683865
Change-Id: I894fd306eaae9ef0a58ee4a8b73269117cc68374
2021-04-22 15:34:25 +00:00
Treehugger Robot
f9c6744e28
Merge "Revert "Add debug ramdisk variant""
2021-04-22 15:28:06 +00:00
Paul Duffin
57d13c6892
Merge "Move monolithic stub flags generation to platform_bootclasspath"
2021-04-22 15:06:16 +00:00
Paul Duffin
d631512659
Merge "Extract common stub flags code"
2021-04-22 15:05:54 +00:00
Paul Duffin
aae44728e4
Merge "Allow generate_hiddenapi_lists.py to work with no custom flag files" am: eee990820b
am: 04378bd2ba
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1682096
Change-Id: Iac0e41d260b473623ebb8be1df1ef1b2e5bb457c
2021-04-22 14:41:51 +00:00
Paul Duffin
13b9d25ed4
Merge changes I67589bcc,Ibcfae390 am: 7cbdf81e95
am: 33f495f305
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683868
Change-Id: I1b3d7fae197d3e072ac205cfe8e09a1c6bf0ddc3
2021-04-22 14:41:43 +00:00
Paul Duffin
04378bd2ba
Merge "Allow generate_hiddenapi_lists.py to work with no custom flag files" am: eee990820b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1682096
Change-Id: I092ad11719b3a1a4a861bb26cc7b5aebe04d1028
2021-04-22 14:23:15 +00:00
Paul Duffin
33f495f305
Merge changes I67589bcc,Ibcfae390 am: 7cbdf81e95
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1683868
Change-Id: Ie19e2285fd129b52e17a8df6091ac53be126794b
2021-04-22 14:18:03 +00:00
Paul Duffin
eee990820b
Merge "Allow generate_hiddenapi_lists.py to work with no custom flag files"
2021-04-22 14:05:22 +00:00
Paul Duffin
7cbdf81e95
Merge changes I67589bcc,Ibcfae390
...
* changes:
Replace boot image with bootclasspath fragment in sdk package
bootclasspath_fragment must only depend on source contents
2021-04-22 14:02:43 +00:00
Paul Duffin
74431d57c6
Move monolithic stub flags generation to platform_bootclasspath
...
As part of that this change:
* Moves code that will be common to platform_bootclasspath and
bootclasspath_fragment from hiddenapi_singleton.go into
hiddenapi_modular.go.
* Fixes the tests in hiddenapi_singleton_test.go but intentionally
does not rename them or move them into a more appropriate place so
as to make it easier to see the differences. A TODO has been added
and these will be cleaned up in a follow up change.
Bug: 179354495
Test: verified that the monolithic out/soong/hiddenapi/... files are
unchanged by this change
Change-Id: I680e4dab2e6bdf4a655fa9f255c195175904667e
2021-04-22 14:23:28 +01:00
Paul Duffin
3e7fcc3fe7
Extract common stub flags code
...
The stubFlagsRule does three separate tasks:
1. It computes the set of modules that provide the stubs.
2. It scans all the modules to find the stub modules and retrieves the
paths to their dex files.
3. It constructs the ninja rule.
Of those three tasks, 1 and 3 will be same for the
platform_bootclasspath. Instead of searching all the modules for the
ones that provide the stubs it will simply add dependencies onto the
stub modules and retrieve the dex file paths from them.
This change extracts tasks 1 and 3 into separate methods for reuse. It
also parameterizes the generation of the ninja rule.
Bug: 179354495
Test: verified that the monolithic out/soong/hiddenapi/... files are
unchanged by this change
Change-Id: I893845dbddc4b001dfd44d0e0b1c8a31b7f3f89f
2021-04-22 14:23:08 +01:00
Anton Hansson
05ecab28a3
Merge "Add new stub_only_static_libs attr for sdk_library" am: 24eac476d4
am: ec47b30e0e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1682097
Change-Id: Iafe4f8df922fc2234de596b1f1c3819accc50656
2021-04-22 13:11:33 +00:00