platform_build_soong/bp2build
Jingwen Chen 12b4c2706d bp2build: add allowlist for package-level conversions.
This CL adds the support for specifying lists of directories in
build/soong/android/bazel.go, which are then written into
out/soong/bp2build/MANIFEST. Using this configuration,
modules/directories can either default to bp2build_available: true or
false, while still retaining the ability to opt-in or out at the module level.

It also ensures that ConvertWithBp2Build returns true iff the module
type has a registered bp2build converter.

Test: go tests
Test: demo.sh full
Test: TreeHugger presubmits for bp2build and mixed builds.

Change-Id: I0e0f6f4b1b2ec045f2f1c338f7084defc5d23a55
2021-03-24 02:27:19 -04:00
..
Android.bp Use handcrafted build targets in bp2build 2021-03-15 13:09:25 -04:00
androidbp_to_build_templates.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
bp2build.go bp2build: add allowlist for package-level conversions. 2021-03-24 02:27:19 -04:00
build_conversion.go Support autoconverted modules in mixed builds 2021-03-16 15:11:49 -04:00
build_conversion_test.go bp2build: add allowlist for package-level conversions. 2021-03-24 02:27:19 -04:00
bzl_conversion.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
bzl_conversion_test.go bp2build: add bazel_module: { bp2build_available } prop. 2021-02-05 09:26:22 -05:00
cc_library_headers_conversion_test.go bp2build: Unexport GenerateBazelTargetsForDir. 2021-02-22 10:22:58 -05:00
cc_object_conversion_test.go Handle include_build_directory prop in bp2build 2021-03-19 12:33:34 -04:00
configurability.go bp2build: add configurable attribute (select) support. 2021-02-26 05:17:54 -05:00
constants.go Use handcrafted build targets in bp2build 2021-03-15 13:09:25 -04:00
conversion.go bp2build: add allowlist for package-level conversions. 2021-03-24 02:27:19 -04:00
conversion_test.go bp2build: add allowlist for package-level conversions. 2021-03-24 02:27:19 -04:00
metrics.go Use handcrafted build targets in bp2build 2021-03-15 13:09:25 -04:00
python_binary_conversion_test.go bp2build: add python_binary_host converter. 2021-03-09 18:58:42 -05:00
sh_conversion_test.go bp2build: Unexport GenerateBazelTargetsForDir. 2021-02-22 10:22:58 -05:00
testing.go bp2build: add allowlist for package-level conversions. 2021-03-24 02:27:19 -04:00