platform_build_soong/bp2build
Jingwen Chen 041b184c92 bp2build: flatten *_defaults properties.
This CL brings the defaults mutators into bp2build, reusing the
implementation of flattening defaults from *_defaults module deps into
the modules themselves.

This is an approach to converge defaults semantics with Bazel, which
doesn't have existing equivalent abstractions, other than macros, which
require more infrastructure to be built.

Test: TH
Test: build_conversion_test.go
Change-Id: Ia1443f8e6c3eb277fa861bb96625425a22cfc6d7
2021-02-01 00:33:30 -05:00
..
Android.bp bp2build: automatically convert all genrules. 2021-01-24 20:51:18 -05:00
androidbp_to_build_templates.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
bp2build.go bp2build: introduce CodegenMode. 2021-01-26 00:30:30 -05:00
build_conversion.go bp2build: support Starlark rules and load statements. 2021-01-26 22:46:20 -05:00
build_conversion_test.go bp2build: flatten *_defaults properties. 2021-02-01 00:33:30 -05:00
bzl_conversion.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
bzl_conversion_test.go bp2build: support Starlark rules and load statements. 2021-01-26 22:46:20 -05:00
conversion.go bp2build: support Starlark rules and load statements. 2021-01-26 22:46:20 -05:00
conversion_test.go bp2build: support Starlark rules and load statements. 2021-01-26 22:46:20 -05:00
testing.go bp2build: support Starlark rules and load statements. 2021-01-26 22:46:20 -05:00