Treehugger Robot
f9a94d552f
Merge "[rust] Switch LTO flavor to "thin"" am: e852d69f88
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869695
Change-Id: If6d5ca1cc681efbfa340ab3ded5d96d4c15a0689
2021-10-26 16:04:04 +00:00
Paul Duffin
28537eb8db
Merge "Dedup use of "prebuilt_"" am: 84e644ada0
am: 6df1c9c190
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1870489
Change-Id: I8ef8766f0eb252de7f1cc398719190f3617bf76e
2021-10-26 15:58:27 +00:00
Treehugger Robot
e852d69f88
Merge "[rust] Switch LTO flavor to "thin""
2021-10-26 15:47:03 +00:00
Paul Duffin
6df1c9c190
Merge "Dedup use of "prebuilt_"" am: 84e644ada0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1870489
Change-Id: If9e8bf7bb3cb855cf39ef7934c49883030656310
2021-10-26 15:43:08 +00:00
Paul Duffin
84e644ada0
Merge "Dedup use of "prebuilt_""
2021-10-26 15:31:21 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
34d60d6672
Remove vestigial GetPrebuiltCcStaticLibraryFiles
...
Test: mixed_{libc,droid}.sh
Change-Id: Ie6e22e1994f8abf1b66f4abfd834bf38a1f097b2
2021-10-26 15:03:18 +00:00
Lukacs T. Berki
f66d5035fd
Generate actions when building the module graph. am: eb0454b2a4
am: 893308aa08
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1870487
Change-Id: Ia5c87cae53ab7dd1a2cb0e718ceffadc7d92a3fd
2021-10-26 14:11:28 +00:00
Lukacs T. Berki
893308aa08
Generate actions when building the module graph. am: eb0454b2a4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1870487
Change-Id: Iaccbb39e6b53ee8f967e29b78b6d9394d30fd6fb
2021-10-26 13:55:21 +00:00
Lukacs T. Berki
eb0454b2a4
Generate actions when building the module graph.
...
This is necessary because GenerateAndroidBuildActions() is effectively a
mutator and therefore can change the data stored in each module.
Sometimes one wants to dump that data in the JSON module graph, and in
order to do so, actions need to be generated.
I briefly entertained removing StopBeforePrepareBuildActions(), but it
incurs a 10-second penalty on "m soong_docs" and "m bp2build" so I
decided to keep it.
Test: Presubmits.
Change-Id: I438aaf981e989dc39a09e8a2ba73f7a08ee55386
2021-10-26 13:32:59 +02:00
Paul Duffin
9804da0544
Dedup use of "prebuilt_"
...
Bug: 177893770
Test: m nothing
Change-Id: I664ee4d9c3aafda3de0a3f8985ee23f25db38680
2021-10-26 10:43:23 +01:00
Gabriel Biren
01db2f61a7
Merge "Add android.hardware.wifi.supplicant-V1-ndk to VNDK list." am: cbab07b45f
am: ae3cdab066
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1859860
Change-Id: I5e8c93514df5180c1c1b750417bab20a8827d1f9
2021-10-26 05:11:54 +00:00
Gabriel Biren
ae3cdab066
Merge "Add android.hardware.wifi.supplicant-V1-ndk to VNDK list." am: cbab07b45f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1859860
Change-Id: I06e540474387e8fdd364588e1d869e2067744420
2021-10-26 04:58:08 +00:00
Gabriel Biren
cbab07b45f
Merge "Add android.hardware.wifi.supplicant-V1-ndk to VNDK list."
2021-10-26 04:43:57 +00:00
Yifan Hong
932920f403
Add health to vndk vendor variant list
...
Test: pass
Bug: 177269435
Change-Id: I40841daba4e52f65a27f5ed35b2731afb9a26a45
2021-10-25 20:22:11 -07:00
Treehugger Robot
af0c8e7b22
Merge "Add the device config GenerateAidlNdkPlatformBackend" am: ab1312d010
am: 995bf90bb2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1866897
Change-Id: I4aeb14009fb887d105891a8de9f02d5f20613595
2021-10-26 00:31:44 +00:00
Treehugger Robot
995bf90bb2
Merge "Add the device config GenerateAidlNdkPlatformBackend" am: ab1312d010
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1866897
Change-Id: Ieee64392844a25e2c9229125abf08cd521e12a76
2021-10-26 00:14:11 +00:00
Treehugger Robot
ab1312d010
Merge "Add the device config GenerateAidlNdkPlatformBackend"
2021-10-25 23:54:37 +00:00
Joel Galenson
135e01ed4e
Merge "Allow writing Rust fuzzers for third-party crates." am: 215ed178dd
am: e0ed411c8b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1867228
Change-Id: I16261419a73be0f6104b184a06f61f1c3ea1d681
2021-10-25 23:08:25 +00:00
Joel Galenson
e0ed411c8b
Merge "Allow writing Rust fuzzers for third-party crates." am: 215ed178dd
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1867228
Change-Id: I6c27743d7ed95a2ea8c2d2c0c7377de01e1c7608
2021-10-25 22:51:38 +00:00
Pirama Arumuga Nainar
f77913f0de
[rust] Switch LTO flavor to "thin"
...
Bug: http://b/202032071
Thin LTO provides similar performance gains to full LTO but takes less
time during build.
Thin LTO also doesn't cause the error with `-C lto` and `-C
llvm-args=--runtime-counter-relocation` in b/202032071.
Test: presubmit
Test: verify b/202032071
Change-Id: Id5749aaea598d4b555a9d959ed753a312ae36f26
2021-10-25 22:44:55 +00:00
Joel Galenson
215ed178dd
Merge "Allow writing Rust fuzzers for third-party crates."
2021-10-25 22:37:22 +00:00
Gabriel Biren
f355d3c5ae
Add android.hardware.wifi.supplicant-V1-ndk to VNDK list.
...
Bug: 196235436
Test: m
Change-Id: Ifc23ca36423de0a842e09120e783f6e8dfc807c3
2021-10-25 20:27:35 +00:00
Chih-Hung Hsieh
3bb934f0ad
Do not add .tidy files as RBE link inputs
...
* RBE adds implicit dependent files as inputs
and creates too long commands.
* Adds .tidy files as validation paths.
* Change type of tidyFiles to WritablePaths.
Bug: 203577539
Test: lunch aosp_cf_arm64_phone-userdebug; USE_RBE=true WITH_TIDY=1 make
Test: USE_RBE=true WITH_TIDY=1 mm in external/skia
Change-Id: I5fc9d6f8c9c58abcd3721ca9fbae1bc785e4e609
2021-10-25 12:24:30 -07:00
Yi Kong
27a412e668
Do not build tests with ThinLTO am: 85d7297318
am: a8662675e0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1866896
Change-Id: Ide4e88dc3b9f026bf2ad114a864434ea3d9280e4
2021-10-25 17:56:00 +00:00
Yi Kong
a8662675e0
Do not build tests with ThinLTO am: 85d7297318
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1866896
Change-Id: I84abb89dce791e6272513adb542249c3148cb4fd
2021-10-25 17:38:11 +00:00
Jiyong Park
d163d4d7f5
Add the device config GenerateAidlNdkPlatformBackend
...
The config is used to force the generation of the AIDL ndk_platform
backend which will eventually be removed in favor of the ndk backend.
The switch is needed as an escape hatch for some devices whose BSP
(outsourced and thus hardly modifiable) depends on the ndk_backend
libraries.
Bug: 161456198
Test: m
Merged-In: Ie11ca62be05754bb2593da16e1380103c670b393
Change-Id: Ie11ca62be05754bb2593da16e1380103c670b393
(cherry picked from commit 65d9718328
)
2021-10-25 08:55:57 +09:00
Yi Kong
85d7297318
Do not build tests with ThinLTO
...
There's not a great return on investment for spending additional
compilation/link time on tests that may only be run once or very few
times (as compared to actual library code that ships and is run orders
of magnitude more times).
Bug: 195134194
Bug: 203737712
Test: m GLOBAL_THINLTO=true dist device-tests platform_tests
Change-Id: I7149c4140f7c52b22bedbe322f1bf2c81f7ad66b
2021-10-24 17:01:43 +08:00
Treehugger Robot
b9467cc6d1
Merge "Sort codenames in version_defaults.rbc" am: 139fd3655b
am: 979cb7d6ba
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1867225
Change-Id: I8721caf36db022f15f08db1060412c15591541c1
2021-10-22 00:07:13 +00:00
Treehugger Robot
979cb7d6ba
Merge "Sort codenames in version_defaults.rbc" am: 139fd3655b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1867225
Change-Id: I8de0e68f27f0d3e8c24238030b47ed9a46e9cf1d
2021-10-21 23:53:13 +00:00
Treehugger Robot
139fd3655b
Merge "Sort codenames in version_defaults.rbc"
2021-10-21 23:35:59 +00:00
Cole Faust
984272b169
Sort codenames in version_defaults.rbc
...
Without the sort, the codenames were appearing in a random order.
This was causing `go test` to flake.
Test: go test
Change-Id: Ieeb0677503d1521dc4b1aead09ea1ab7ea38b2ea
2021-10-21 15:01:56 -07:00
Joel Galenson
d993155204
Allow writing Rust fuzzers for third-party crates.
...
These would ideally be upstreamed, but until then we can host them here.
Test: Run fuzzers.
Change-Id: Ie1bfd8ce6dffeaa211b85cd6340dfb435ab83c71
2021-10-21 14:28:00 -07:00
Sophie Zheng
4975230387
Merge "Save all the detected native shared library backing by mainline modules." am: 7fe4ccafc1
am: 3148f72c42
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1858614
Change-Id: I36883d5e4c4230f3f96492a4ae0e287071109e6e
2021-10-21 19:19:29 +00:00
Sophie Zheng
3148f72c42
Merge "Save all the detected native shared library backing by mainline modules." am: 7fe4ccafc1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1858614
Change-Id: I5bce1b4267e999ebd0bfd34dba5ddcbbdadac0fd
2021-10-21 18:56:05 +00:00
Sophie Zheng
7fe4ccafc1
Merge "Save all the detected native shared library backing by mainline modules."
2021-10-21 18:42:35 +00:00
Treehugger Robot
0e26bc9ee3
Merge "Rewrite macOS SDK selection" am: 1c6de4bdac
am: bbe2e6c750
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1864059
Change-Id: If27b334ab8207b1618247af7c49631d66e134545
2021-10-20 22:54:16 +00:00
Treehugger Robot
bbe2e6c750
Merge "Rewrite macOS SDK selection" am: 1c6de4bdac
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1864059
Change-Id: I0f360745b26dad800f0a5bd697c4a5745dfb8883
2021-10-20 22:39:25 +00:00
Treehugger Robot
1c6de4bdac
Merge "Rewrite macOS SDK selection"
2021-10-20 22:24:46 +00:00
Liz Kammer
98eeaad1e6
Merge "bp2build: Add support for cc_binary." am: 2dafba7da9
am: cba4259f19
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1844462
Change-Id: I1173d7caeded7d75fec8f56ea41901774b72650d
2021-10-20 14:42:53 +00:00
Liz Kammer
cba4259f19
Merge "bp2build: Add support for cc_binary." am: 2dafba7da9
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1844462
Change-Id: If2731bd1639d33232b4f1d192a3f93ee3f71dff6
2021-10-20 14:25:12 +00:00
Liz Kammer
2dafba7da9
Merge "bp2build: Add support for cc_binary."
2021-10-20 14:02:39 +00:00
Paul Duffin
84e2edf8f2
Merge "Remove artApex parameter from ApexBundleFactory" am: e760c3b724
am: fcba421625
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1862814
Change-Id: I691771af21b4675823dedf63715d6ed6ca359043
2021-10-20 10:53:01 +00:00
Paul Duffin
fcba421625
Merge "Remove artApex parameter from ApexBundleFactory" am: e760c3b724
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1862814
Change-Id: I2f38fd18d4a7567da56149748a42b63b378e310f
2021-10-20 10:43:02 +00:00
Paul Duffin
e760c3b724
Merge "Remove artApex parameter from ApexBundleFactory"
2021-10-20 10:29:29 +00:00
Paul Duffin
eb8051d80d
Remove artApex parameter from ApexBundleFactory
...
Since coverage support was added to bootclasspath_fragment in
https://r.android.com/1684807 and bootclasspath_fragments were
integrated into the ART APEX it is no longer necessary to treat ART
APEXes differently to other APEXes.
Change https://r.android.com/1684807 added coverage support, follow
up changes integrated
Bug: 177892522
Test: m droid
m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true
Change-Id: I4800a003c7459c4686607e16f4c5bde0be105f16
2021-10-20 10:29:14 +00:00
Dan Willemsen
7368d86a20
Rewrite macOS SDK selection
...
Modern Xcode versions only have a single macOS SDK installed anymore, so
we don't need to iterate through our supported versions, only check
whether the current version is supported.
This also makes it so that we can specify "11" (or soon, "12") to
specify all 11.x SDKs, instead of having to update our supported list
multiple times a year. This matches previous years that had multiple
patch releases on 10.14.y, 10.15.y, etc.
Bug: 203607969
Test: build on Mac, changing the supported SDK list
Change-Id: I42715f7e8dfec811de440a435927c14c742dede9
2021-10-19 21:43:41 -07:00
sophiez
9a6eabf952
Save all the detected native shared library backing by mainline modules.
...
Test: TARGET_BUILD_APPS=com.google.android.adbd m dist apps_only
Change-Id: I510292542bf2550c9244e9374cd6f7b40a971486
2021-10-19 14:33:57 -07:00
Christopher Parsons
cbd3804df2
Merge "Add OS to configuration key in mixed builds" am: c0ed1f653f
am: bdf745fa16
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1858160
Change-Id: I2bcda64130d6b52d01813edd42d4da5537f09fb5
2021-10-19 21:13:24 +00:00
Liz Kammer
9025c634b2
Merge "bp2build include generated hdrs in all src splits" am: 2ec92fc0a0
am: bc57abcb55
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1862913
Change-Id: I1adfaa024dcc52d4f07712048f9cdd4e7adc1111
2021-10-19 21:13:18 +00:00
Christopher Parsons
356bae90a2
Merge "Add x86_host vars to config.bzl" am: a8b37dd7f1
am: 5d065e7627
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1858395
Change-Id: I9c6404ac5e044815b727edcd7054751af63eff25
2021-10-19 21:13:11 +00:00