platform_build_soong/bp2build
Sam Delmerico 24c5603815 refactor bp2build module allowlists into struct
To make testing easier, refactor existing module-global variables into a
struct that can be mocked.

Test: build/bazel/bp2build.go
Change-Id: I9d177677644ea743641a745b1839a3a8b29f902a
2022-04-14 13:31:05 +00:00
..
Android.bp refactor bp2build module allowlists into struct 2022-04-14 13:31:05 +00:00
android_app_certificate_conversion_test.go Use one mutator for all bp2build conversion. 2021-12-14 09:37:45 -05:00
android_app_conversion_test.go emulate java_library static_deps with Bazel exports 2022-03-30 18:58:38 +00:00
androidbp_to_build_templates.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
apex_conversion_test.go Add bp2build support for property "compressible" of apex module. 2022-01-25 19:42:43 +00:00
apex_key_conversion_test.go Use one mutator for all bp2build conversion. 2021-12-14 09:37:45 -05:00
bp2build.go Add x86_host vars to config.bzl 2021-10-19 12:18:13 -04:00
build_conversion.go export Java variables to Bazel 2022-04-08 14:15:43 +00:00
build_conversion_test.go refactor bp2build module allowlists into struct 2022-04-14 13:31:05 +00:00
bzl_conversion.go Bp2build: handle embedded structs as blueprint 2021-09-14 14:41:36 -04:00
bzl_conversion_test.go Use one mutator for all bp2build conversion. 2021-12-14 09:37:45 -05:00
cc_binary_conversion_test.go Support tailoring clang --target flag based on min sdk version. 2022-03-18 01:16:52 +00:00
cc_library_conversion_test.go Merge "Dedupe libraries in both static and whole static" 2022-03-26 00:32:01 +00:00
cc_library_headers_conversion_test.go Support tailoring clang --target flag based on min sdk version. 2022-03-18 01:16:52 +00:00
cc_library_shared_conversion_test.go Support tailoring clang --target flag based on min sdk version. 2022-03-18 01:16:52 +00:00
cc_library_static_conversion_test.go Support tailoring clang --target flag based on min sdk version. 2022-03-18 01:16:52 +00:00
cc_object_conversion_test.go Support tailoring clang --target flag based on min sdk version. 2022-03-18 01:16:52 +00:00
cc_prebuilt_library_shared_test.go Use one mutator for all bp2build conversion. 2021-12-14 09:37:45 -05:00
configurability.go Add package for printing starlark formatted data 2022-02-08 17:32:28 -05:00
constants.go Have bp2build generate BUILD.bazel instead of generating BUILD. 2021-05-18 09:01:36 -04:00
conversion.go export Java variables to Bazel 2022-04-08 14:15:43 +00:00
conversion_test.go export Java variables to Bazel 2022-04-08 14:15:43 +00:00
filegroup_conversion_test.go Use one mutator for all bp2build conversion. 2021-12-14 09:37:45 -05:00
genrule_conversion_test.go add target_compatible_with stanza for host targets 2022-02-03 19:25:12 +00:00
java_binary_host_conversion_test.go emulate java_library static_deps with Bazel exports 2022-03-30 18:58:38 +00:00
java_import_conversion_test.go convert java_import jars with arch variants 2022-03-31 21:00:24 +00:00
java_library_conversion_test.go convert logtags in java srcs 2022-04-08 14:43:18 +00:00
java_library_host_conversion_test.go add target_compatible_with stanza for host targets 2022-02-03 19:25:12 +00:00
java_plugin_conversion_test.go emulate java_library static_deps with Bazel exports 2022-03-30 18:58:38 +00:00
java_proto_conversion_test.go emulate java_library static_deps with Bazel exports 2022-03-30 18:58:38 +00:00
metrics.go Add metrics collection to soong_build 2022-03-25 17:19:44 -04:00
performance_test.go Add test for performance testing 2021-12-07 16:59:40 -05:00
prebuilt_etc_conversion_test.go Handle the 'enabled' property in bp2build 2021-12-21 16:37:32 -05:00
python_binary_conversion_test.go add target_compatible_with stanza for host targets 2022-02-03 19:25:12 +00:00
python_library_conversion_test.go add target_compatible_with stanza for host targets 2022-02-03 19:25:12 +00:00
sh_conversion_test.go sh_binary: Use pointers for optional attributes 2021-12-21 16:01:53 -05:00
soong_config_module_type_conversion_test.go Support enabled flag in product variable config 2022-01-12 16:26:44 +00:00
symlink_forest.go Make symlink_forest.go prefer generated files. 2021-04-21 12:24:27 +02:00
testing.go refactor bp2build module allowlists into struct 2022-04-14 13:31:05 +00:00