platform_build_soong/tests
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
..
androidmk_test.sh cosmetic: auto-scan test_ functions 2023-01-06 14:26:56 +00:00
apex_cc_module_arch_variant_tests.sh Add testing android products 2023-03-28 11:27:30 -07:00
apex_comparison_tests.sh Update apex_comparison_test.sh to support CFI 2023-06-05 18:07:42 +00:00
bootstrap_test.sh Revert "Revert "Restrict plugins to an existing allowlist"" 2023-05-18 18:20:28 +00:00
bp2build_bazel_test.sh Read BUILD files in bp2build 2023-06-09 16:02:40 +00:00
dcla_apex_comparison_test.sh Add the DCLA libs used by swcodec to the staging list 2023-06-05 16:47:34 -07:00
genrule_sandbox_test.sh Tool to detect modules that generate the incorrect output in sandbox 2023-05-26 14:45:12 -07:00
lib.sh Add missing dependency in create_mock_soong 2023-05-23 06:57:38 +00:00
mixed_mode_test.sh Refactor MixedBuildsEnabled and add --ensure-allowlist-integrity. 2023-04-25 20:55:07 +00:00
persistent_bazel_test.sh Load starlark files from soong 2023-04-26 17:18:19 -07:00
run_integration_tests.sh Add b_test to run_integration_tests.sh 2023-06-07 00:52:09 +00:00
sbom_test.sh Exclude diffs caught by sbom_test. 2023-05-25 16:29:20 -07:00
soong_test.sh simplify m clean 2023-05-23 17:34:15 -04:00