Yu Liu
4c9b3e114b
Merge "denylist boringssl_test_support before we fully support cc_test_library" into main
2023-07-20 04:16:22 +00:00
Yu Liu
1d03d176a9
denylist boringssl_test_support before we fully support cc_test_library
...
Bug: 291962016
Test: CI
Change-Id: I20596fe3f70d0a27b12b39a288df753c0befb891
2023-07-19 23:39:41 +00:00
Romain Jobredeaux
0ccd94cefa
Merge "Keep rules_java vendored repository BUILD files" into main
2023-07-19 23:22:11 +00:00
Romain Jobredeaux
01e6b2c788
Keep rules_java vendored repository BUILD files
...
Test: CI
Bug: 291828210
Bug: 287596254
Change-Id: Ic8a3a1966cc82816b74f0efe59c27fae70552c11
2023-07-19 15:27:13 -04:00
Liz Kammer
b492843c3f
Handle static binary repetition of system deps
...
Test: b build `bmod toybox-static`
Test: go test bp2build tests
Change-Id: Id728f6fd08832a4fc153f0ff5282cdfb6b19c2f6
2023-07-10 10:28:02 -04:00
Jingwen Chen
661b2ee719
Merge "Revert "add media.swcodec to Bazel prod allowlist""
2023-06-30 04:23:40 +00:00
Trevor Radcliffe
061012475c
Revert "add media.swcodec to Bazel prod allowlist"
...
This reverts commit b1274236e8
.
Reason for revert:
b/289418267
Change-Id: I0a94675e09a82b55d62e58dbeea0d3186c754ed3
2023-06-29 22:30:18 +00:00
Trevor Radcliffe
cae9c84a56
Merge "add media.swcodec to Bazel prod allowlist"
2023-06-29 16:26:11 +00:00
Yu Liu
b1274236e8
add media.swcodec to Bazel prod allowlist
...
Bug: 280339074
Test: CI
Change-Id: I56b858dbd95a85221440c020afd1eb1530c1a467
2023-06-27 00:15:06 +00:00
Treehugger Robot
7376815e21
Merge "Handle no generated headers and exporting for xsd"
2023-06-26 21:20:46 +00:00
Treehugger Robot
3da9587eda
Merge changes from topic "revert-2637031-revert-2626204-rules_go_repo-OSFOZKENFO-KSSEOFEKLG"
...
* changes:
Revert^2 "Symlink external/bazelbuild-rules_go in mock tests"
Revert^2 "Always use the BUILD files from bazelbuild-rules_go"
2023-06-26 08:01:19 +00:00
Spandan Das
4a5bc5c587
Revert^2 "Always use the BUILD files from bazelbuild-rules_go"
...
51eee74a02
Change-Id: I86f2d4bb1e336c72a9c89e67598db8a1bdea6a2c
2023-06-26 03:44:04 +00:00
Liz Kammer
084d6a908f
Handle no generated headers and exporting for xsd
...
Test: new bp2build unit tests
Test: build libvintf
Change-Id: I2c7bf409b30d78fcf6762d69139e3249a2b0d368
2023-06-23 15:48:16 -04:00
Matthias Männich
2424ae6e39
Merge changes from topic "revert-2626204-rules_go_repo-OSFOZKENFO"
...
* changes:
Revert "Always use the BUILD files from bazelbuild-rules_go"
Revert "Symlink external/bazelbuild-rules_go in mock tests"
2023-06-23 07:55:32 +00:00
Matthias Männich
51eee74a02
Revert "Always use the BUILD files from bazelbuild-rules_go"
...
Revert submission 2626204-rules_go_repo
Reason for revert: breaks the aosp_kernel-build-tools (https://ci.android.com/builds/branches/aosp_kernel-build-tools/grid )
Reverted changes: /q/submissionid:2626204-rules_go_repo
Change-Id: I912050a50313fe6a951f675664035857d89c0194
2023-06-23 07:45:26 +00:00
Treehugger Robot
896c6b09dc
Merge changes from topic "rules_go_repo"
...
* changes:
Symlink external/bazelbuild-rules_go in mock tests
Always use the BUILD files from bazelbuild-rules_go
2023-06-22 23:54:44 +00:00
Alix
e266787aed
bp2build conversion for rscript srcs in cc modules
...
Bazel does not support using .rscrip/.fs files as cc srcs.
For a module foo with foo srcs, Bp2build will create a bazel
target of rule class rscript_to_cpp with name foo_renderscript
which will have only the renderscript files as srcs.
Bp2build will also create a target foo with the expected cc rule class.
The foo target will have all other src files as srcs and will also
have the target foo_renderscript as another src.
Bug: 210509914
Test: bp2build testing & b build target rstest-latency
Change-Id: Ifdc55051a3595f5fcf54eab8b59e11e9351e141c
2023-06-21 14:58:10 +00:00
Usta (Tsering) Shrestha
1205d717cb
Disallow java_test_host dependant
...
Bug: 287462798
Change-Id: I98cc7c9bb1d9fbaf3211284c02c85e0037e2059c
Test: ABTD run
2023-06-20 19:08:45 +00:00
Spandan Das
7bdea7e56d
Always use the BUILD files from bazelbuild-rules_go
...
This repository contains the core go rules
Test: TH
Bug: 284483729
Change-Id: I4385c84140f2e41bfa5e5cd5434a212c138f456a
2023-06-16 17:16:43 +00:00
Cole Faust
6cac8cbb26
Add implementation whole archive deps to binaries
...
...as regular whole archive deps because binaries don't have
implementation whole archive deps.
Also allowlist checkpolicy which requires this change.
Test: bp2build presubmits should now build checkpolicy
Change-Id: I1f98312da249ea1f37004ccba8799449bdbc4718
2023-06-15 15:01:30 -07:00
Jingwen Chen
a1a17759e1
Fix bp2build breakage by denylisting //system/apex/libs/libapexsupport/...
...
Added in
https://android-review.git.corp.google.com/c/platform/system/apex/+/2623829/ ,
but the modules depend on rust_* modules.
Test: bp2build-incremental presubmit
Change-Id: I229a2442e1b8a89ab768b54dfa713a8b97908436
2023-06-15 11:07:39 +00:00
Jason Wu
5d5a3bb963
denylist logcat to pass bp2build-incremental
...
Bug: 286488545
Test: bp2build.sh
Change-Id: I0940b833c6bf4f9f3780293684a6c64c0c72e32f
2023-06-14 13:26:35 -04:00
Jason Wu
ee51c54888
denylist new modules that have implicit proto deps
...
Bug: 286488545
Test: bp2build.sh
Change-Id: I44c5d4a407aff2cb3123b5ba7e0f0faca5bb2abc
2023-06-13 15:44:44 -04:00
Sam Delmerico
96c1550ddf
disable new modules in //art/runtime
...
Change-Id: Idecab7b34ef4a03870ce88c314fceaa1aa597338
2023-06-13 09:16:18 -04:00
Sam Delmerico
a8a1086c87
denylist new modules that have implicit proto deps
...
Bug: 286488545
Bug: 246997908
Test: b build //external/protobuf/...
Change-Id: I5338e7d30b68b8e35957189f45933008216e9331
2023-06-12 14:37:56 -04:00
Chris Parsons
8152a94816
Read BUILD files in bp2build
...
The parsed BUILD files will be scanned for obvious definitions of BUILD
targets which have Android.bp counterparts. In such cases, bp2build will
automatically omit conversion of these defined modules (to prevent
collisions). With this change, we no longer need one-off denylisting of
modules which have BUILD file definitions.
This has a 0.03s to 0.2s slowdown for bp2build with current state. This
impact is identical on a heavier test branch, as well. I also ran an
experiment that applied BUILD scanning to all source BUILD files
(regardless of allowlisting), and this had a 2 second slowdown.
We may want to look into parallelizing or improving the performance of
this evaluation, but it's probably not worth the effort at this time,
since the current performance hit is small.
Test: New integration test
Test: Removed libprotobuf-python from denylist and tested building the
package
Test: Treehugger
Change-Id: Ibde3bab12cd4a8fed642ad46e5344a56953bec91
2023-06-09 16:02:40 +00:00
Cole Faust
f1815ea326
Merge "Allowlist build_image and its dependencies"
2023-06-09 00:29:27 +00:00
Treehugger Robot
f253d23e95
Merge changes from topic "cc_stem"
...
* changes:
Remove modules from denylist
Update runpath for jni libs
bp2build support for stem
2023-06-08 22:38:34 +00:00
Cole Faust
17cd19c040
Allowlist build_image and its dependencies
...
Bug: 265127181
Test: Presubmits
Change-Id: Idd8508cd2ca549c75d918635b7eef36c8edd2ba0
2023-06-08 12:26:42 -07:00
Jihoon Kang
c44be96f06
Allowlist process-compat-config module
...
process-compat-config module is required as executable tool to create
actions for platform_compat_config rule class. Thus, add
process-compat-config Soong module to be always converted to bazel
target.
Test: TH
Bug: 269202028
Change-Id: Ic60ace1a86f3a97927937ee0e2e7385fab756deb
2023-06-06 19:36:01 +00:00
Yu Liu
3b343c6c25
Merge "Allowtlist some cc_test modules."
2023-06-06 18:22:40 +00:00
Yu Liu
95c78ef99f
Merge "Add the DCLA libs used by swcodec to the staging list"
2023-06-06 17:41:18 +00:00
Treehugger Robot
aefd27fce6
Merge "Correct genrule path references"
2023-06-06 14:59:16 +00:00
Spandan Das
cd4d085c3a
Remove modules from denylist
...
That were blocked on `stem` conversion
Bug: 240563612
Test: TH
Change-Id: Idc0f495683d98e00ae913664eb29c9d1133720ae
2023-06-06 00:07:40 +00:00
Yu Liu
7301fc8aeb
Add the DCLA libs used by swcodec to the staging list
...
Bug: 269342245
Test: run dcla_apex_comparison_test
Change-Id: I26bcbf6447b9216258c18c42e80f729e5651658a
2023-06-05 16:47:34 -07:00
Yu Liu
2c0b890bb2
Allowtlist some cc_test modules.
...
Bug: 284287101
Test: b test locally
Change-Id: I0ecd88def0f7f5e68cf48e9766575ec5dd82b7be
2023-06-05 16:40:59 -07:00
Liz Kammer
1e75324ebd
Correct genrule path references
...
Test: b build `bmod robolectric_tzdata`
Test: go test bp2build tests
Change-Id: I98333f2b9f480019ddca11944b455d484a47cf8e
2023-06-02 19:09:35 -04:00
Zi Wang
b9d36bcb6b
Remove truth-prebuilt and truth-host-prebuilt from denylist
...
truth-prebuilt and truth-host-prebuilt are able to be
built by bazel now.
Bug:285001041
Test: presubmit
Change-Id: I49ca0c4ccd55a0df591176554eab4e82c95e4699
2023-06-02 15:29:49 -07:00
Spandan Das
82f0e5daae
Merge "Always convert xsd_config module type"
2023-06-02 20:07:48 +00:00
Zi Wang
4af4ff33f0
Merge "Add simple bp2build converter for java_test_host"
2023-06-01 22:37:28 +00:00
Spandan Das
8d6bf5e59b
Always convert xsd_config module type
...
Modules of this type have a limited set of deps (e.g. libxml2), and they
have already been converted.
compatibility_matrix_schema is a filegroup that is used in one of the
xsd_config modules in Soong, and it has been added to the allowlist as
well.
Test: bp2build.sh
Bug: 211678537
Change-Id: Idcbafe7c8413134b9dd7abb0dee53473f3e1d2e8
2023-06-01 19:12:05 +00:00
Zi Wang
65b36729c3
Add simple bp2build converter for java_test_host
...
Bug:281551424
Test: java_test_host_conversion_test.go and presubmits
Change-Id: I43ed26df0bacd63ef402de4d9733d19604005c35
2023-06-01 10:37:09 -07:00
Spandan Das
ab5f1c56c8
Allowlist xsdc
...
This is a java_binary_host that is used to generate .cpp/.java files
from .xsd file.
Test: TH
Bug: 211678537
Change-Id: I62ae9f1dc7c531fc59778a5a043bffc9960c12db
2023-05-26 16:53:04 +00:00
Alix
b29a3cd2aa
bp2build java_resources that only contain a filegroup
...
supports filegroup that specifies path property
Bug: 280860624
Test: built libauto_value_plugin
Change-Id: I9ed0b13e055beb92ba8090f6b5e88b9873c9ce61
2023-05-24 18:21:15 +00:00
Usta Shrestha
6e5a5b18ee
bp2build allowlist expanded
...
Bug: 282160334
Test: ran bp2build.sh
Change-Id: I354ded2cd4d2e9c89dc67ca8b9fdddd1c660ffa2
2023-05-19 16:45:56 +00:00
Sam Delmerico
3402c0ad44
re-add swcodec payload to mixed staging allowlist
...
Bug: 279756270
Test: m
Test: forrest
Change-Id: I3305c1bd9388b326fdecb5d333c07cf653d310d8
2023-05-17 20:49:39 -04:00
Treehugger Robot
a2244043ea
Merge "Allowlist libservices"
2023-05-17 17:51:05 +00:00
Treehugger Robot
3daa129afa
Merge changes from topic "adbd_host"
...
* changes:
Allowlist python dependency of adb targets
bp2build support for host_ldlibs
2023-05-17 05:23:21 +00:00
Spandan Das
b3d5c48cad
Allowlist python dependency of adb targets
...
Bug: 216626461
Test: TH
Change-Id: I4f16ce0037dd7afdf194e210ce63bfc60bd73cc1
2023-05-16 22:44:52 +00:00
Spandan Das
9aa6a49ca1
Merge "Allowlist aidl"
2023-05-16 22:30:23 +00:00