Colin Cross
5ffb223ebb
Merge "Add host_linux target properties"
2022-03-09 02:05:38 +00:00
Jingwen Chen
3889da5fea
Merge "Allowlist //external/auto/android-annotation-stubs for bp2build."
2022-03-08 10:55:49 +00:00
Jingwen Chen
398a32d9b0
Allowlist //external/auto/android-annotation-stubs for bp2build.
...
Fixes breakage for bp2build-incremental.
Test: b build //external/...
Change-Id: Id493c119b6ba0f383c9d1e8bade8b8a0acf3efe6
2022-03-08 08:03:28 +00:00
Xin Li
c7c0b9e4ec
Merge "Merge Android 12L"
2022-03-08 06:52:32 +00:00
Colin Cross
91729bd2ba
Merge "Add musl_x86 and glibc_x86 style properties to bazel configurations"
2022-03-08 06:50:53 +00:00
Treehugger Robot
c8a6487153
Merge "Memory mapped coverage (take 2)"
2022-03-08 06:37:02 +00:00
Colin Cross
a98d36de64
Add host_linux target properties
...
Add host_linux to the target properties, which will apply to linux_glibc,
linux_bionic or linux_musl. This will eventually undo the hack that
makes the linux_glibc properties apply to linux_musl.
Bug: 223257095
Test: TestArchProperties
Change-Id: Iccf51ed13c363ce1da04333a277fa49c33d45b9a
2022-03-07 14:56:33 -08:00
Colin Cross
2d295a2de2
Add musl_x86 and glibc_x86 style properties to bazel configurations
...
Bug: 223257095
Test: build/bazel/ci/mixed_libc.sh
Change-Id: Ia2427f54cdaafc657e29a7ae7a7575bec2b71338
2022-03-07 14:56:32 -08:00
Treehugger Robot
d70fe75d4c
Merge "Build avbtool with Bazel." am: 10eada743a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2006755
Change-Id: Ia258fe5e6aa5ce51616f86676b2668df897e6e30
2022-03-07 09:45:24 +00:00
Jingwen Chen
7edadabd6c
Build avbtool with Bazel.
...
Test: CI
Change-Id: Ic506fea3ba1fb61692f59d8e6f708115c1a327ab
2022-03-07 04:40:35 +00:00
Wei Li
7ccc228753
Merge "Keep Bazel build file in build/bazel/vendor/google and prebuilts/bundletool." am: 083d4e072c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2005835
Change-Id: I729b52e39b1bd14205700530c6d2feb48dc2d7dd
2022-03-05 04:55:22 +00:00
Wei Li
083d4e072c
Merge "Keep Bazel build file in build/bazel/vendor/google and prebuilts/bundletool."
2022-03-05 04:31:55 +00:00
Pirama Arumuga Nainar
b37ae58a3d
Memory mapped coverage (take 2)
...
Add a build variable, CLANG_COVERAGE_CONTINUOUS_MODE, instead of
selecting based on paths.
Test: CLANG_COVERAGE_CONTINUOUS_MODE=true m and verify continuous mode works
Change-Id: I731172fc1f00e1cabff8efcf8b99f9a48210b446
2022-03-04 14:07:53 -08:00
Treehugger Robot
6e826bab74
Merge "prevent module being enabled if in existing BUILD file" am: fe86b81aab
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1999892
Change-Id: I0cca195fe44e4360006183a6d5c2203d5ea6bdde
2022-03-04 21:04:10 +00:00
Treehugger Robot
fe86b81aab
Merge "prevent module being enabled if in existing BUILD file"
2022-03-04 20:37:21 +00:00
Sam Delmerico
9e3f98b8cf
Merge "convert android_app certificate property, bp2build" am: d508a638c3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1980606
Change-Id: I38f798fa387b10288abb4250e9f941776e98088c
2022-03-04 17:56:28 +00:00
Sam Delmerico
d508a638c3
Merge "convert android_app certificate property, bp2build"
2022-03-04 17:30:31 +00:00
Treehugger Robot
265f41c1dc
Merge "Export binaries for shippedlibs and bom." am: 7010c53c50
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2003174
Change-Id: I5bd08c769c24638c068aed8f99e4d6d355fbfa74
2022-03-04 02:50:26 +00:00
Treehugger Robot
7010c53c50
Merge "Export binaries for shippedlibs and bom."
2022-03-04 02:23:38 +00:00
Liz Kammer
a1b33112b1
Merge "Export variant/features via soong_injection" am: 6e4cd27bec
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2000396
Change-Id: I6da248db7bca983d0ce5b121412f904e48f67a21
2022-03-03 18:36:17 +00:00
Liz Kammer
6e4cd27bec
Merge "Export variant/features via soong_injection"
2022-03-03 18:11:25 +00:00
Treehugger Robot
9688f00e3a
Merge "ensure out/bazel_metrics exists before writing to cquery-buildroot_bazel_profile.gz" am: 7ed6612fa6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2004236
Change-Id: I9401f672367864c89afdee750fa910f9ba217409
2022-03-02 22:42:16 +00:00
Sam Delmerico
94d26c2bc0
prevent module being enabled if in existing BUILD file
...
If a module is enabled via the module-level allow list,
bp2buildModuleAlwaysConvertList, then we should error if that same
module is hidden by an existing BUILD file.
Bug: 220875679
Test: add a module in a directory covered by an existing BUILD file
Change-Id: I5426bd9edac593690c0989b68a421ac1c3216010
2022-03-02 22:15:14 +00:00
Treehugger Robot
7ed6612fa6
Merge "ensure out/bazel_metrics exists before writing to cquery-buildroot_bazel_profile.gz"
2022-03-02 22:14:16 +00:00
Usta Shrestha
902fd17a99
ensure out/bazel_metrics exists before writing to cquery-buildroot_bazel_profile.gz
...
Bug: 222133546
Test: `rm -rf out` then `USE_BAZEL_ANALYSIS m libnativehelper` and ensure 'out/bazel_metrics' exists
Change-Id: I6803aba830e1c40f3618bfc41109728d721fd2af
2022-03-02 15:27:49 -05:00
Liz Kammer
cda3d14ad8
Merge "Improve clarity of arch decoding." am: b3fe72fc78
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2002771
Change-Id: Ibeb07556427c29a0d4a1a9b099b8c6b83783304a
2022-03-02 16:04:45 +00:00
Liz Kammer
b3fe72fc78
Merge "Improve clarity of arch decoding."
2022-03-02 15:44:26 +00:00
Wei Li
171410478a
Keep Bazel build file in build/bazel/vendor/google and prebuilts/bundletool.
...
Test: b test //build/bazel/tests/apex:build.bazel.examples.apex.minimal_mainline-module
Bug: 217838178
Change-Id: If94a2086db2a4afabe600b691f65b388ea19dcfe
2022-03-02 02:09:46 -08:00
Liz Kammer
94ff96ed4b
Merge "Disallow libc_musl_sysroot_libc++_headers" am: 6bd0d4e864
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2003473
Change-Id: I79b9cc64f14440ca63e26862c9b878741d555d2b
2022-03-01 19:28:27 +00:00
Liz Kammer
6bd0d4e864
Merge "Disallow libc_musl_sysroot_libc++_headers"
2022-03-01 19:10:16 +00:00
Liz Kammer
4f3b9f3d8d
Merge "Restrict genrules to disallow directories as input" am: a98902955a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1965346
Change-Id: Iac0395f0fbb4736d7b7fabb662625866cb419498
2022-03-01 15:47:55 +00:00
Liz Kammer
a98902955a
Merge "Restrict genrules to disallow directories as input"
2022-03-01 15:19:34 +00:00
Liz Kammer
878a7f1632
Disallow libc_musl_sysroot_libc++_headers
...
This depends on go modules and is musl specific, not a current focus.
Allows CI to be green again.
Test: bp2build.sh
Change-Id: I35520636b38eed3f829e176c4ba91517fd61364a
2022-03-01 09:08:23 -05:00
Bob Badour
3d9a7d8c6e
Export binaries for shippedlibs and bom.
...
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m nothing reportallnoticelibrarynames
Change-Id: Ie8e7b7f2b7b120fd25b523ce95641c903f8e97ca
2022-02-28 20:13:35 -08:00
Liz Kammer
e8303bd0ae
Export variant/features via soong_injection
...
Test: build/bazel/ci/bp2build.sh
Change-Id: If70043dc9d020d5f4a243ba4b192b99c9c7e8563
2022-02-28 14:17:15 -05:00
Liz Kammer
b7f3366cbb
Improve clarity of arch decoding.
...
Test: CI
Change-Id: I31789f962259e917e99ac6f778644729199f42ed
2022-02-28 14:17:15 -05:00
Sam Delmerico
74bb39d1ca
Merge "add a module-level allowlist to bp2build" am: b0b94f6182
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1995210
Change-Id: I748ac9e97f1aeb2b67dbf3a74de9cc92d1ae9cf7
2022-02-25 15:40:46 +00:00
Sam Delmerico
fa1831c200
add a module-level allowlist to bp2build
...
We currently enabled modules in bp2build on a package level, and we
disable individual modules based on a denylist. To enable a specific
module individually, we must change the corresponding Android.bp file to
include a bp2build_available property. Instead, have a centralized list
of specifically enabled modules.
Bug: 220875679
Test: m bp2build
Change-Id: I908f2f2366b72affb04234fbe92ba03bf5a37338
2022-02-24 14:46:41 +00:00
Liz Kammer
619be4626b
Restrict genrules to disallow directories as input
...
While Bazel genrules will allow genrules to accept a directory as input,
the results can be unexpected to a user as changes to the contents of
the directory may not trigger a rebuild as expected. Restricting this
in Soong ensures that converted targets will behave as expected.
Test: CI
Change-Id: I8616f58d1df267005e6c0ca3f4730d06de52c0d9
2022-02-23 21:29:22 +00:00
Treehugger Robot
e8815d5ebb
Merge "Fix typos in arch_list and do variant validation" am: cda344f120
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1982666
Change-Id: Icfd76442021fbd278a386fb44dff5f21b2cec0b5
2022-02-23 17:55:48 +00:00
Treehugger Robot
cda344f120
Merge "Fix typos in arch_list and do variant validation"
2022-02-23 17:34:51 +00:00
Sam Delmerico
4dc3df7be7
Merge "convert java proto libraries with bp2build" am: bc83b504ff
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1975287
Change-Id: I8706280d13486f6e3b3f230e37af2d3052655ad0
2022-02-23 16:59:35 +00:00
Sam Delmerico
bc83b504ff
Merge "convert java proto libraries with bp2build"
2022-02-23 16:13:15 +00:00
Treehugger Robot
119decff9b
Merge "Move functionality to test install rules into testing.go." am: 489be090e7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1980966
Change-Id: I0911fa11b0ddac5235deb2effdf69650fb82a4ae
2022-02-22 21:14:18 +00:00
Treehugger Robot
489be090e7
Merge "Move functionality to test install rules into testing.go."
2022-02-22 20:41:23 +00:00
Treehugger Robot
16e222bc2a
Merge "typos fixed" am: 92a21ddb41
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1991433
Change-Id: Iddd5f8ee11f39262dfca8bf7ae6dceb083808170
2022-02-22 14:42:14 +00:00
Treehugger Robot
92a21ddb41
Merge "typos fixed"
2022-02-22 14:17:13 +00:00
Anton Hansson
df4ea086a4
Merge changes from topics "extdir", "threadvars" am: d2149e6a81
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1988355
Change-Id: I8b8360f24b65a8dbc6d8ad144271508772b46403
2022-02-22 14:10:16 +00:00
Anton Hansson
d2149e6a81
Merge changes from topics "extdir", "threadvars"
...
* changes:
Add support for sdk extensions in prebuilt_apis
Refactor prebuilt_apis.go
Add base sdk extension version to the config
2022-02-22 13:46:47 +00:00
Usta Shrestha
0b52d83b60
typos fixed
...
Bug: N/A
Test: m nothing
Change-Id: Ia3abc4b9db2b811bf589447e32a7f29f341f2307
2022-02-18 22:19:12 -05:00