platform_build_soong/bp2build
Jingwen Chen 14a8bda31e bp2build: split as, c, and cpp srcs for cc_library
This CL adds support for cc_library to correctly split c, as and cpp
srcs in shared/static nested props, as well as splitting
the *filegroup* deps in those props, where each filegroup is expanded
into its own c, cpp and as srcs filegroups. This ensures that the
correct sources go into cc_library_static's underlying cc_libraries for
c, cpp and as sources respectively.

See the bp2build conversion test for a better visualization.

Bug: 183064430

Test: TH
Change-Id: I29add5140672d042adff65527d8b65f4a5f0a05b
2021-06-03 05:00:37 +00:00
..
Android.bp bp2build: export some cc toolchain flags into Starlark. 2021-05-13 06:25:47 +00:00
androidbp_to_build_templates.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
bp2build.go Dump bazel product config in Soong 2021-05-19 17:38:56 -04:00
build_conversion.go Support empty srcs for configurable attrs 2021-05-26 16:58:54 -04:00
build_conversion_test.go Make BUILD file merging slightly smarter. 2021-05-25 07:01:55 +00:00
bzl_conversion.go queryview: prefix internal attribute names. 2021-01-25 04:46:07 -05:00
bzl_conversion_test.go Move some implicitly shared testing code for bp2build into testing.go. 2021-05-19 09:14:26 -04:00
cc_library_conversion_test.go bp2build: split as, c, and cpp srcs for cc_library 2021-06-03 05:00:37 +00:00
cc_library_headers_conversion_test.go Mark test helpers as helpers. 2021-05-25 14:41:43 +00:00
cc_library_static_conversion_test.go Merge "Handle product vars *flags props in cc* modules" 2021-05-31 08:21:19 +00:00
cc_object_conversion_test.go Handle product vars *flags props in cc* modules 2021-05-27 13:57:01 -04:00
configurability.go Merge "Support empty srcs for configurable attrs" 2021-05-27 12:56:29 +00:00
constants.go Have bp2build generate BUILD.bazel instead of generating BUILD. 2021-05-18 09:01:36 -04:00
conversion.go Make BUILD file merging slightly smarter. 2021-05-25 07:01:55 +00:00
conversion_test.go Have bp2build generate BUILD.bazel instead of generating BUILD. 2021-05-18 09:01:36 -04:00
metrics.go Use handcrafted build targets in bp2build 2021-03-15 13:09:25 -04:00
python_binary_conversion_test.go Mark test helpers as helpers. 2021-05-25 14:41:43 +00:00
sh_conversion_test.go Mark test helpers as helpers. 2021-05-25 14:41:43 +00:00
symlink_forest.go Make symlink_forest.go prefer generated files. 2021-04-21 12:24:27 +02:00
testing.go Move some implicitly shared testing code for bp2build into testing.go. 2021-05-19 09:14:26 -04:00