Spandan Das
7836d75592
Merge "Allowlist jni libs of FrameworksNetsTests" into main
2023-10-09 19:55:00 +00:00
Treehugger Robot
37fb733466
Merge changes from topic "aapt2_toggle_bazel" into main
...
* changes:
Allowlist prebuilt version aapt2
Allowlist kotlinx_coroutines_android
2023-10-09 16:02:37 +00:00
Treehugger Robot
6bc88ae14d
Merge "Allowlist AndroidFrameworkLintChecker" into main
2023-10-06 20:17:25 +00:00
Romain Jobredeaux
69e2d83e8d
Allowlist prebuilt version aapt2
...
Bug: 303786272
Test: CI + Manual build
Change-Id: I0a748430e4f2c4d77c6564562c3a85b0dc4368e4
2023-10-06 13:46:42 -04:00
Romain Jobredeaux
f2e3c111ec
Allowlist kotlinx_coroutines_android
...
Change-Id: Ib097d43e0abb6a94cdb4e0ff13d6ac3e0c13da9f
2023-10-06 13:46:15 -04:00
Spandan Das
046c8b4f19
Allowlist jni libs of FrameworksNetsTests
...
This dir contains the following jni libs
- libnetworkstatsfactorytestjni
- libandroid_net_frameworktests_util_jni
Bug: 297405814
Test: b build $(bmod libnetworkstatsfactorytestjni) --config=android
Test: b build $(bmod libandroid_net_frameworktests_util_jni) --config=android
Change-Id: I3905396cab8df5ebbbf12eafcd9f96cde8305697
2023-10-06 17:18:45 +00:00
Zi Wang
b0f3ff43e5
Merge "Add support for java_library proto plugin in bp2build" into main
2023-10-05 22:32:53 +00:00
Jason Wu
4db4f814bb
Denylist libhardware to pass bp2build-incremental
...
Test: bp2build.sh and abtd test.
Bug: 303534112
Change-Id: I6913818619a555939f4dbfad99602dce420d888b
2023-10-05 20:52:01 +00:00
Zi Wang
dbaf6a9dd0
Add support for java_library proto plugin in bp2build
...
Test: Added unit test and CI
Bug: 303064670
Change-Id: Idb96ac322aafcb6789ea2002b84a6905d5ec488f
2023-10-05 12:53:23 -07:00
Treehugger Robot
65a06d460f
Merge "Add packages/modules/Connectivity/staticlibs/netd/libnetdutils" into main
2023-10-05 02:22:17 +00:00
Spandan Das
ee557e4c69
Merge "Create bp2build converter for versioned_ndk_headers" into main
2023-10-05 02:00:55 +00:00
Spandan Das
62e66592b3
Add packages/modules/Connectivity/staticlibs/netd/libnetdutils
...
This dir contains a dep of FrameworksNetTests
Test: b build
//packages/modules/Connectivity/staticlibs/netd/libnetdutils/...
--config=android
Bug: 297405814
Change-Id: Ia3b0b99b1230bf6cd43dff6c87309b31b70351c0
2023-10-04 23:35:52 +00:00
Liz Kammer
1f309f3ac9
Allowlist AndroidFrameworkLintChecker
...
Test: bp2build.sh
Bug: 299463632
Change-Id: I72def76df4f105a3496c7b2dd1588910e62d562b
2023-10-04 10:37:05 -04:00
Yu Liu
b57dd3946e
Remove AconfigJavaHostTest from the allowlist.
...
It was added by an accident previously.
Bug: None
Test: CI
Change-Id: I9a1fa32bb2686f336f9735a1e809a8491d38cd4c
2023-10-03 11:22:07 -07:00
Yu Liu
7a90fcfa45
Merge "Convert java_aconfig_library to bazel." into main
2023-10-03 17:29:26 +00:00
Yu Liu
f2b94010c8
Convert java_aconfig_library to bazel.
...
Bug: 297357579
Test: Unit test and AconfigJavaHostTest
Change-Id: Icf944cc0b2a7382107923d49b2d2ff0eb4113638
2023-10-02 15:04:19 -07:00
Spandan Das
a7da3f0e0b
Create bp2build converter for versioned_ndk_headers
...
This module type is used by a single soong module - `common_libc` in
bionic/libc
Implementation details
- Convert this module type to ndk_headers rule. Bazel's ndk_headers rule
will have a boolean attribute `run_versioner` to determine if
verioner should be run on the headers
- Add this module type to the alwaysConvert bp2build list
- Add the converted target for `common_libc` to the deps of
`ndk_sysroot`. This ensures that unbundled apps link against the
versioned NDK headers of libc
Test: go test ./bp2build
Test: b build //bionic/libc:common_libc --config=android
Test: for f in $(find bazel-bin/bionic/libc/common_libc.versioned -type f); do cmp $f ${f/bazel-bin\/bionic\/libc\/common_libc.versioned/out\/soong\/ndk\/sysroot\/usr\/include}; done # no diff
Bug: 301169067
Change-Id: I55be202f0589db9bdc743c8be41c9c5afd74c352
2023-10-02 17:35:55 +00:00
Zi Wang
2260933688
Allowlist tradefed-common-util and some dependents for tradefed
...
Test: CI
Bug: 283193845
Change-Id: Id9e8eefcf47080e786c62466658c7cb1f31b055d
2023-10-02 09:56:34 -07:00
Romain Jobredeaux
e2007bfd0e
Merge "Use manual BUILD files in jdk8 and allowlist apache-commons-compress" into main
2023-10-02 13:38:50 +00:00
Romain Jobredeaux
3fe1edde31
Use manual BUILD files in jdk8 and allowlist apache-commons-compress
...
Bug: 302008402
Bug: 302587886
Change-Id: I91401bf3fcda4c83ad2bb9d782b4021ffe6fd103
2023-09-29 15:08:55 -04:00
Christopher Parsons
dec9ce6693
Merge "support aidl bp2build changes" into main
2023-09-28 20:19:43 +00:00
Jingwen Chen
6b73be150c
Merge "Allowlist directories for tradefed's deps." into main
2023-09-28 06:51:29 +00:00
Chris Parsons
2173b5f578
support aidl bp2build changes
...
- Allowlist an aidl module by package, not name (to support a small
module name change)
- Implement some unit test framework changes which facilitate better
aidl bp2build testing
- Support a convenience function to add a load hook for registering a
module as "has a bazel definition of a given target name"
Bug: 301676937
Test: m bp2build, verified the aidl target was generated before/after
this CL.
Test: Presubmits
Test: Ran bp2build progress and ensured that aidl_interface targets
under frameworks/ continued to appear converted
Change-Id: I62412057d6f61a2ce2bc39488c75af793eb14c94
2023-09-27 21:30:19 +00:00
Romain Jobredeaux
641b62b205
Merge changes from topic "bazel_framework_res" into main
...
* changes:
bp2build support for framework-res
Keep rules_testing BUILD files
2023-09-27 20:52:50 +00:00
Treehugger Robot
1eeda315c8
Merge "Add frameworks/base/mime to allowlist" into main
2023-09-27 18:52:42 +00:00
Jingwen Chen
7501a1b15b
Allowlist directories for tradefed's deps.
...
Fix: 302094734
Test: presubmits/bp2build-incremental
Test: b build //tools/tradefederation/core/util_apps/... --config=android
Change-Id: I3d35650a1001defb74eb93a62b361109a5baccd9
2023-09-27 13:10:45 +00:00
Treehugger Robot
c5b9abba30
Merge "Allowlist libflagtest and FlagMacrosTests." into main
2023-09-27 00:18:46 +00:00
Liz Kammer
06d442e954
Add frameworks/base/mime to allowlist
...
Test: b build //frameworks/base/mime/...
Test: b build //frameworks/base/mime/... --config=android
Change-Id: If73e04e33487bbb63e14475b34f34b31b1386f16
2023-09-26 22:22:58 +00:00
Zi Wang
ffb9a2af93
Merge "Allowlist part of tradefed deps" into main
2023-09-26 22:20:02 +00:00
Romain Jobredeaux
9c06ef353b
bp2build support for framework-res
...
Change-Id: I5b32a702e02b5f1ec08d5608d766a8a0c08d845c
Bug: 276928228
Bug: 297356405
2023-09-26 15:06:50 -04:00
Romain Jobredeaux
c9e585eabf
Keep rules_testing BUILD files
...
Change-Id: I9036ac0c372f1935e29477bdd1a42203f65e5385
2023-09-26 15:04:13 -04:00
Treehugger Robot
7c02986d60
Merge "Add system/tools/hidl to allowlist" into main
2023-09-26 16:59:03 +00:00
Zi Wang
aa516c562e
Allowlist part of tradefed deps
...
Test: CI
Bug: 283193845
Change-Id: Idab167cc1698f40a3853967f31533bdfb6fbd455
2023-09-26 09:39:57 -07:00
Jingwen Chen
c6f3c10615
Allowlist system/core/libstats/expresslog
...
Fixes: 302046711
Test: b build //system/core/libstats/expresslog:libexpresslog --config=android
Change-Id: I904fa0e6bd31d454ec38be91dbeecb765593266c
2023-09-26 02:02:08 +00:00
Cole Faust
71aa535721
Merge "Emit a system image target for the current product" into main
2023-09-25 17:08:34 +00:00
Jingwen Chen
b70c096a65
Allowlist libflagtest and FlagMacrosTests.
...
Test: atest-dev FlagMacrosTest --roboleaf-mode=dev
Fixes: 300335177
Change-Id: I44a63b0a1aa6bef30736f72d01d7a80930e2f48d
2023-09-25 14:58:54 +00:00
Zi Wang
7c5b6d5273
Merge "Pass java_library libs and static_libs to java_*_proto_library" into main
2023-09-23 03:45:48 +00:00
Wonsik Kim
ee03e4e577
Merge "Add libcodec2_aidl into allowlist" into main
2023-09-22 22:12:33 +00:00
Cole Faust
cb193ec471
Emit a system image target for the current product
...
This system image can be built with bazel instead of make.
Bug: 297269187
Test: m bazel_sandwich
Change-Id: I5fd61a28f664d8310435c3b7e5dbdd89a7ec6159
2023-09-22 14:42:33 -07:00
Zi Wang
4dbd0e8688
Pass java_library libs and static_libs to java_*_proto_library
...
If a java_library module has proto srcs, a java_*_proto_library target
will be created for it. Proto sources are generated and then compiled
by a java_library target. We need to pass the libs and static_libs of
the java_library module to this java_library target so that
the compile-time classpath is correct.
Test: updated unit tests and CI
Bug: 301469542
Change-Id: I05b2efce6fda2223e85728b3c4c7b1815d04c3dd
2023-09-22 11:20:06 -07:00
Motomu Utsumi
9c5b51e4f6
Merge "Remove unused file path" into main
2023-09-22 02:06:54 +00:00
Spandan Das
7ba007a3c6
Merge "Create a bp2build converter for ndk_headers" into main
2023-09-21 23:11:33 +00:00
Zi Wang
0dc9d095b4
Merge "Allowlist grpc-java and its deps" into main
2023-09-21 22:52:34 +00:00
Liz Kammer
0db75201a9
Add system/tools/hidl to allowlist
...
Test: b build //system/tools/hidl/...
Test: b build //system/tools/hidl/... --config=android
Change-Id: I28d0e50aa91b193309029655460edbacec21c1c0
2023-09-21 14:27:44 -04:00
Treehugger Robot
a56002a473
Merge "Revert^2 "bp2build converter for android_test_helper_app."" into main
2023-09-21 17:56:35 +00:00
Yu Liu
62f7302701
Merge "Convert cc_aconfig_library to bazel." into main
2023-09-21 17:43:07 +00:00
Zi Wang
63fc0f6292
Allowlist grpc-java and its deps
...
Test: CI
Bug: 300135965
Change-Id: I8d7b320a17c4070badd3224e8408be6dd2599d19
2023-09-21 09:41:09 -07:00
Spandan Das
02f2211931
Merge "Always convert ndk_library" into main
2023-09-21 16:18:49 +00:00
Jingwen Chen
6528999872
Revert^2 "bp2build converter for android_test_helper_app."
...
2395286cda
Change-Id: I698c1e62b87f3d8338d8d207d06f62ec680d71c9
2023-09-21 15:16:59 +00:00
Jingwen Chen
38b7be9d29
Merge "Revert "bp2build converter for android_test_helper_app."" into main
2023-09-21 15:14:29 +00:00