platform_build_soong/bp2build
Liz Kammer 48cdbeba29 Handle stubs within an apex with apex_available
Note this doesn't entirely match Soong's logic but is an improvement to
allow linking against implementation when two cc modules are
apex_available to the same module.

It is not possible to recreate the logic for "directly in" without
significant changes to bp2build as we do not add dependencies nor run
apex mutators. Rather than trying to replicate this, we would be better
off refactoring Soong to no longer support the "directly in apex" logic
and require users to correctly specify apex_available.

Bug: 272378496
Test: go test conversion tests
Change-Id: I17ac426f9b4bdad0c2ab661484e5d994f63568ce
2023-03-27 13:05:37 +00:00
..
aar_conversion_test.go bp2build kotlinCFlags 2023-03-14 13:57:22 +00:00
Android.bp Bp2build support for multiple product configs 2023-01-05 12:49:14 -08:00
android_app_certificate_conversion_test.go export common bp2build testing functions 2022-08-01 14:49:31 -04:00
android_app_conversion_test.go Bp2build for android_app minsdkversion property 2023-03-17 20:47:52 +00:00
androidbp_to_build_templates.go Handle nameless modules during bp2build conversion. 2022-09-14 09:32:17 -07:00
apex_conversion_test.go remove stub dependency on source_library 2023-03-16 10:01:22 -04:00
apex_key_conversion_test.go Introduce BazelStringOrLabelFromProp. 2022-10-20 14:57:37 +00:00
api_domain_conversion_test.go Move API providing modules from bp2build to api_bp2build workspace 2022-10-04 17:33:32 +00:00
bp2build.go Avoid deleting bp2build directory 2023-03-01 23:15:30 -05:00
bp2build_product_config.go Add --config alias for musl host platform 2023-01-23 10:17:21 -08:00
bpf_conversion_test.go Add bp2build converter for bpf 2022-09-28 14:18:45 -07:00
build_conversion.go Add a method in bp2build to create aliases in another directory 2023-03-08 21:40:26 +00:00
build_conversion_test.go Bp2build support for multiple product configs 2023-01-05 12:49:14 -08:00
bzl_conversion.go Replace SortedStringKeys with SortedKeys 2023-02-28 16:51:32 -08:00
bzl_conversion_test.go Create a new mode in soong_ui to generate API only BUILD files 2022-10-04 17:32:56 +00:00
cc_binary_conversion_test.go LTO Bp2build 2023-03-02 17:45:01 +00:00
cc_library_conversion_test.go Handle stubs within an apex with apex_available 2023-03-27 13:05:37 +00:00
cc_library_headers_conversion_test.go Add variant_prepend support for all the properties in bp2build 2023-01-04 11:19:50 -08:00
cc_library_shared_conversion_test.go Handle stubs within an apex with apex_available 2023-03-27 13:05:37 +00:00
cc_library_static_conversion_test.go Handle stubs within an apex with apex_available 2023-03-27 13:05:37 +00:00
cc_object_conversion_test.go convert cc_object crt property in bp2build 2023-01-26 10:21:58 -05:00
cc_prebuilt_binary_conversion_test.go Support cc_prebuilt_binary building with Bazel 2022-10-06 19:39:09 +00:00
cc_prebuilt_library_conversion_test.go Revert "Revert "Produce _alwayslink sibling targets through bp2b..." 2023-03-10 22:14:29 +00:00
cc_prebuilt_library_shared_test.go Rename prebuilt_library_* to cc_prebuilt_library_* 2022-10-20 14:51:55 +00:00
cc_prebuilt_library_static_test.go Revert "Revert "Produce _alwayslink sibling targets through bp2b..." 2023-03-10 22:14:29 +00:00
cc_prebuilt_object_conversion_test.go Add bp2build support for cc_prebuilt_object 2022-12-09 13:58:58 -08:00
cc_test_conversion_test.go Use //build/bazel/platforms/os:linux_glibc for osLinux 2022-12-20 15:29:31 -08:00
cc_yasm_conversion_test.go Exporting MakeBazelTarget() in testing.go 2022-09-01 16:47:58 +00:00
configurability.go Replace SortedStringKeys with SortedKeys 2023-02-28 16:51:32 -08:00
constants.go Have bp2build generate BUILD.bazel instead of generating BUILD. 2021-05-18 09:01:36 -04:00
conversion.go Replace SortedStringKeys with SortedKeys 2023-02-28 16:51:32 -08:00
conversion_test.go Export apex_available_baseline to soong_injection 2023-02-08 17:43:09 -08:00
droidstubs_conversion_test.go Create (API) bp2build converters for droidstubs 2022-12-28 23:58:52 +00:00
filegroup_conversion_test.go Add apex_available aidl + aidl&lang libraries 2023-03-24 15:14:53 -04:00
genrule_conversion_test.go Make cc_genrule.srcs configurable. 2022-10-19 12:35:26 -07:00
gensrcs_conversion_test.go export common bp2build testing functions 2022-08-01 14:49:31 -04:00
java_binary_host_conversion_test.go Create an intermediate java library for every java_binary target 2023-03-16 21:11:30 +00:00
java_import_conversion_test.go Use //build/bazel/platforms/os:linux_glibc for osLinux 2022-12-20 15:29:31 -08:00
java_library_conversion_test.go Add apex_available aidl + aidl&lang libraries 2023-03-24 15:14:53 -04:00
java_library_host_conversion_test.go Bp2Build for libs property in java_library 2022-11-29 19:44:50 +00:00
java_plugin_conversion_test.go support libs for java_plugin -> * 2023-01-17 14:57:57 +00:00
java_proto_conversion_test.go Bp2Build for libs property in java_library 2022-11-29 19:44:50 +00:00
java_sdk_library_conversion_test.go Add limited bp2build converter of java_sdk_library 2023-02-14 13:21:21 -08:00
license_conversion_test.go Implement bp2build for the license module 2022-09-14 13:49:18 -07:00
license_kind_conversion_test.go Implement bp2build for the license_kind module 2022-09-14 13:49:27 -07:00
linker_config_conversion_test.go Export RunBp2BuildTestCaseSimple() in testing.go 2022-09-01 18:57:01 +00:00
metrics.go Replace SortedStringKeys with SortedKeys 2023-02-28 16:51:32 -08:00
ndk_headers_conversion_test.go Move API providing modules from bp2build to api_bp2build workspace 2022-10-04 17:33:32 +00:00
ndk_library_conversion_test.go Move API providing modules from bp2build to api_bp2build workspace 2022-10-04 17:33:32 +00:00
package_conversion_test.go Implement bp2build for the package module 2022-09-14 13:49:27 -07:00
performance_test.go Bp2build support for multiple product configs 2023-01-05 12:49:14 -08:00
prebuilt_etc_conversion_test.go product_variables srcs in prebuilt_etc 2022-09-09 20:52:09 +00:00
python_binary_conversion_test.go Fix some issues in bp2build converter for python_binary_host. 2022-10-12 17:43:20 -07:00
python_library_conversion_test.go Export RunBp2BuildTestCaseSimple() in testing.go 2022-09-01 18:57:01 +00:00
sh_conversion_test.go Exporting MakeBazelTarget() in testing.go 2022-09-01 16:47:58 +00:00
soong_config_module_type_conversion_test.go Correct global excludes not always being excluded 2023-01-26 11:16:39 -05:00
symlink_forest.go Avoid rewriting soong_build outputs if unchanged 2023-02-10 15:34:06 -05:00
testing.go Add apex_available aidl + aidl&lang libraries 2023-03-24 15:14:53 -04:00