platform_build_soong/bp2build
Jingwen Chen 01812020c1 Add support for writing all Soong config variables into @soong_injection.
Also remove the need to use bp2build_available on
soong_config_module_types as we want to convert every single of them
into the tree for a complete soong_injection soong_config_variables.bzl
file.

The variables are split into their bool, value and string types
respectively, as they all need to be handled differently on the Bazel
product_platform side, as well as for generating constraint values and
settings. For example, value variables need to integrate with
TemplateVariableInfo, and string variables need to include the string
value itself into the select key/constraint value.

Sample soong_config_variables.bzl file: https://gist.github.com/jin/cef700bfb20c8656a931306dd71d47e1

Test: CI
Bug: 198556411
Change-Id: I8665dd1269a507edb37de62407ed3641564bea5c
2021-11-23 08:37:30 +00:00
..
Android.bp Add support for writing all Soong config variables into @soong_injection. 2021-11-23 08:37:30 +00:00
android_app_certificate_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
androidbp_to_build_templates.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
apex_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
apex_key_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
bp2build.go Add x86_host vars to config.bzl 2021-10-19 12:18:13 -04:00
build_conversion.go Fix bp2build select generation for inter-attribute soong config 2021-11-23 08:37:30 +00:00
build_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
bzl_conversion.go Bp2build: handle embedded structs as blueprint 2021-09-14 14:41:36 -04:00
bzl_conversion_test.go Bp2build: handle embedded structs as blueprint 2021-09-14 14:41:36 -04:00
cc_binary_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
cc_genrule_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
cc_library_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
cc_library_headers_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
cc_library_shared_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
cc_library_static_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
cc_object_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
cc_prebuilt_library_shared_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
configurability.go Fix bp2build select generation for inter-attribute soong config 2021-11-23 08:37:30 +00:00
constants.go Have bp2build generate BUILD.bazel instead of generating BUILD. 2021-05-18 09:01:36 -04:00
conversion.go Add support for writing all Soong config variables into @soong_injection. 2021-11-23 08:37:30 +00:00
conversion_test.go Add support for writing all Soong config variables into @soong_injection. 2021-11-23 08:37:30 +00:00
filegroup_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
genrule_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
metrics.go bp2build: Refactor metrics collection to use exported functions. 2021-09-20 11:54:00 +00:00
performance_test.go Add some initial benchmarking for bp2build. 2021-08-12 15:54:38 -04:00
prebuilt_etc_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
python_binary_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
python_library_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
sh_conversion_test.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00
soong_config_module_type_conversion_test.go Add support for writing all Soong config variables into @soong_injection. 2021-11-23 08:37:30 +00:00
symlink_forest.go Make symlink_forest.go prefer generated files. 2021-04-21 12:24:27 +02:00
testing.go Refactor bp2build tests 2021-11-15 11:09:05 -05:00