Cole Faust
7d49b1e70a
Merge "Call rblf.setDefault() when appending to a variable without +="
2022-03-08 22:58:58 +00:00
Cole Faust
816e080c4d
Call rblf.setDefault() when appending to a variable without +=
...
Bug: 222737841
Test: go test
Change-Id: I10e9e994fb1979e2e06ad30bbe66a21657d1e3db
2022-03-08 22:58:42 +00:00
Treehugger Robot
4a5110f046
Merge "Disable ChangedDefault"
2022-03-08 21:15:44 +00:00
Treehugger Robot
28080ea3b0
Merge "Support variables with dashes in their names"
2022-03-08 21:08:09 +00:00
Treehugger Robot
86ac783d8e
Merge changes from topic "vsdk_ramdisk"
...
* changes:
Add InstallInRoot property to snapshot binary json file.
Fix for duplicate modules across vendor and ramdisk snapshots.
2022-03-08 17:10:54 +00:00
Sam Gilbert
675f0b41be
Disable ChangedDefault
...
Bug: 223382732
Test: N/A
Change-Id: I45b70824650544b465fa656cb09983bf90f923b6
2022-03-08 11:24:44 -05:00
Andrew Walbran
1e17a78c55
Merge "Add stdlibs property for Rust build rules."
2022-03-08 16:07:16 +00:00
Romain Jobredeaux
d9eba6611f
Merge "Add source extension information for java_*/android_* modules in module-graph.json."
2022-03-08 14:52:17 +00:00
Paul Duffin
d94e4f5554
Merge "List bootclasspath_fragments in module-info.json"
2022-03-08 11:50:54 +00:00
Jingwen Chen
3889da5fea
Merge "Allowlist //external/auto/android-annotation-stubs for bp2build."
2022-03-08 10:55:49 +00:00
Ulya Trofimovich
6a71babc48
Merge "Add markdown docs for dexpreopt."
2022-03-08 10:05:44 +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
3c66771c62
Merge "Use single module for clang runtime libraries"
2022-03-08 06:51:43 +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
d9ccb6a2cb
Skip install rules for apexes with installable: false
...
When an apex sets installable: false call SkipInstall to prevent
creating the install rules, and don't report the install rules
to Make.
Fixes: 221261079
Test: m checkbuild
Change-Id: If94759b16f79ee10ddcf8ee89603ca9e822b74f5
2022-03-08 02:40:32 +00:00
Xin Li
a54e05c20f
Merge Android 12L
...
Bug: 222710654
Merged-In: I3b9c8a3d4d36cc03b6648b2c7a7b5a10706ec87d
Change-Id: Ib5060c5a5376a4b5acacc066e76c610d39f20ad3
2022-03-08 00:13:51 +00:00
Colin Cross
4c4c1be915
Use single module for clang runtime libraries
...
The clang prebuilts now provide a single module with per-architecture
variants instead of a module per architecture.
Bug: 220019988
Test: m checkbuild
Change-Id: I39e2cf8ae14edf8510276dab38011afaef85822c
Merged-In: I39e2cf8ae14edf8510276dab38011afaef85822c
2022-03-07 14:56:32 -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
Jose Galmes
c1a56bcbe9
Add InstallInRoot property to snapshot binary json file.
...
Bug: 215295121
Test: Generated snapshot and verified InstallInRoot property is present.
Change-Id: I4f20a454477d1263e9c16e98468d659f89e1e4f1
2022-03-07 14:49:46 -08:00
Jose Galmes
61741e20a5
Fix for duplicate modules across vendor and ramdisk snapshots.
...
Bug: 215295121
Test: Generated snapshots and verified there are no duplicates.
Change-Id: I6ba7deb4941e21d87578038de19ab313f2be539c
2022-03-07 14:48:12 -08:00
Treehugger Robot
97fe2742b7
Merge changes Ic3ef7557,If75daf11 am: b3bdf38453
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2011615
Change-Id: I3b9c8a3d4d36cc03b6648b2c7a7b5a10706ec87d
2022-03-07 21:11:55 +00:00
Treehugger Robot
b3bdf38453
Merge changes Ic3ef7557,If75daf11
...
* changes:
add all existing bp2build tests to CI
remove unconverted strip_import_prefix property
2022-03-07 20:50:21 +00:00
Sam Delmerico
75249f9ed9
Merge "bp2build java_libraries depend on Android SDK" am: 1b8942d4c8
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1997330
Change-Id: I551efbaf5830d6e862aa48888b1232bffc3757c9
2022-03-07 20:28:27 +00:00
Sam Delmerico
1b8942d4c8
Merge "bp2build java_libraries depend on Android SDK"
2022-03-07 20:02:47 +00:00
Cole Faust
3c4fc99593
Support variables with dashes in their names
...
Bug: 221946551
Test: go test
Change-Id: I085fc35159c4f3afe53868fbc731fcaeac3a69a8
2022-03-07 11:24:45 -08:00
Trevor Radcliffe
9b3a875efd
Merge "Add support for privileged apps to androidmk" am: 812bfff3d8
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2002751
Change-Id: Ic546811a01113e71dbc2b3a73ccbc546b3a83ef4
2022-03-07 19:06:48 +00:00
Trevor Radcliffe
812bfff3d8
Merge "Add support for privileged apps to androidmk"
2022-03-07 18:35:47 +00:00
Sam Delmerico
d3a1cfa6d1
add all existing bp2build tests to CI
...
Test: go test ./bp2build
Change-Id: Ic3ef75573cda9ed10c74bf12860269922e197d60
2022-03-07 18:26:33 +00:00
Sam Delmerico
7a62909f35
remove unconverted strip_import_prefix property
...
The requirements for this property changed in aosp/1985613.
Test: go test ./bp2build
Change-Id: If75daf11c857cdd8a54c119e073e327cddf8543d
2022-03-07 16:28:50 +00:00
Sam Delmerico
881d72022a
bp2build java_libraries depend on Android SDK
...
Soong adds an implicit dependency on the Android SDK for all
java_libraries (and related modules). This feature becomes apparent
after converting arch-variant srcs for android_apps, so we should suport
this for now. Eventually, we will want to replace this forced dependency
with a Bazel toolchain workaround.
Test: build/bazel/ci/bp2build.sh
Change-Id: Ic28e8c7690f69294b4bdcb9bb78a6f1f031fe97e
2022-03-07 15:50:42 +00:00
Andrew Walbran
797e4be221
Add stdlibs property for Rust build rules.
...
This lets no_std crates depend on system crates like core and alloc.
Bug: 223152204
Test: built pVM firmware skeleton with rust_ffi_static rule
Change-Id: I0f9b0ab3f5e3289fb8ce66f28d779bcf62a7181f
2022-03-07 15:42:34 +00: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
Treehugger Robot
10eada743a
Merge "Build avbtool with Bazel."
2022-03-07 09:21:32 +00:00
Junfeng Wu
219c28edb6
Merge "Add RBE environment variables config example and documentation." am: c9582e1f2e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1998311
Change-Id: Ie2542d8e98c281911752dc00152d4d4ef27787f9
2022-03-07 07:12:15 +00:00
Junfeng Wu
c9582e1f2e
Merge "Add RBE environment variables config example and documentation."
2022-03-07 06:50:32 +00:00
Junfeng Wu
90ba586f8b
Add RBE environment variables config example and documentation.
...
Test: N/A
Change-Id: Ic80f3f192e8e3449f02d8c99058c37e97251a4d2
2022-03-07 12:47:55 +08: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
Treehugger Robot
a33b682d0e
Merge "Disable BannedThrow check" am: 0d4833b18c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2006775
Change-Id: Ic7aa289e82f84d17882e6bfd2c8b2cd5a1a37669
2022-03-05 02:41:42 +00:00
Colin Cross
6984e882eb
Support experimental building with OpenJDK 17 am: 59c1e6ac0e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2006781
Change-Id: I2e7c2335299034ea07f55c4b1615f67bbe1deed6
2022-03-05 02:41:19 +00:00
Treehugger Robot
0d4833b18c
Merge "Disable BannedThrow check"
2022-03-05 02:17:56 +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
Colin Cross
59c1e6ac0e
Support experimental building with OpenJDK 17
...
Use EXPERIMENTAL_USE_OPENJDK17_TOOLCHAIN=true to build with OpenJDK 17
while still targeting java language version 11.
Bug: 219098645
Test: m EXPERIMENTAL_USE_OPENJDK17_TOOLCHAIN=true
Change-Id: I89fb04ecde4dbd1e102098f316692624dd67f8a2
2022-03-04 21:40:02 +00:00
Sam Gilbert
049af11112
Disable BannedThrow check
...
Bug: 222738070
Test: N/A
Change-Id: Id9d393c9b5c5c21d69c8b3a8d5456c66358426d9
2022-03-04 16:19:19 -05: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
Paul Duffin
ea465fbd3b
List bootclasspath_fragments in module-info.json
...
Bug: 202154151
Test: lunch aosp_cf_x86_64_phone-userdebug
m out/target/product/vsoc_x86_64/module-info.json
Change-Id: I2bdb6783f7570d89f5c3150b39f1be920c2a8989
2022-03-04 18:44:47 +00:00