platform_build_soong/bp2build
Liz Kammer fc46bc1ee4 Refactor BazelTargetModule
This eliminates the need to remove quotes, delete attributes, and
re-checking that name has correct prefix. Additionally, this allows
assignment directly to the BazelTargetModuleProperties struct, which
allows defaulting unused fields and clarity of which field is being set.

Test: go test soong tests
Test: ran ./build/bazel/scripts/milestone-2/demo.sh
Change-Id: Ia9bfcce76234c793a4ddd5f29a661150f83341c9
2021-02-23 08:29:40 -05:00
..
Android.bp bp2build: add a simple UI to report migration progress. 2021-02-19 09:30:11 -05:00
androidbp_to_build_templates.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
bp2build.go bp2build: add a simple UI to report migration progress. 2021-02-19 09:30:11 -05:00
build_conversion.go Refactor BazelTargetModule 2021-02-23 08:29:40 -05:00
build_conversion_test.go bp2build: Unexport GenerateBazelTargetsForDir. 2021-02-22 10:22:58 -05: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 bp2build: Unexport GenerateBazelTargetsForDir. 2021-02-22 10:22:58 -05:00
conversion.go bp2build: rename generated files to BUILD 2021-02-09 04:26:18 +00:00
conversion_test.go bp2build: support Starlark rules and load statements. 2021-01-26 22:46:20 -05:00
metrics.go bp2build: add a simple UI to report migration progress. 2021-02-19 09:30:11 -05:00
sh_conversion_test.go bp2build: Unexport GenerateBazelTargetsForDir. 2021-02-22 10:22:58 -05:00
testing.go Refactor BazelTargetModule 2021-02-23 08:29:40 -05:00