platform_build_soong/bp2build
Spandan Das 1f65f9e9bd Stub/Impl selection for sdk variants
If a dependency has ndk stubs, then the sdk variant of the library
should link against the ndk stub variant and not the impl/apex_stubs variant

Unlike module-libapi, the depdendency does not go through an
@api_surfaces external repo indirection. This indirection was created to
support Multi-tree, and will likely  be removed in the future

Test: Added a unit test
Bug: 298085502
Change-Id: Ie081e153fa586b6c22db0b8e42f91149fd8e5d9b
2023-09-16 02:57:29 +00:00
..
aar_conversion_test.go export SimpleModuleDoNotConvertBp2build for AIDL 2023-09-10 19:05:54 +00:00
aconfig_conversion_test.go Support aconfig_declarations, aconfig_values and aconfig_value_set 2023-09-09 12:33:40 -07:00
aidl_library_conversion_test.go Implement bp2build converter for aidl_library 2023-05-11 11:39:43 -04:00
Android.bp Implement bp2build converter for fdo_profile 2023-09-15 10:45:17 -04: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 export SimpleModuleDoNotConvertBp2build for AIDL 2023-09-10 19:05:54 +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 Parameterize cc_stub_suite for api surface 2023-09-14 17:07:24 +00:00
apex_key_conversion_test.go export SimpleModuleDoNotConvertBp2build for AIDL 2023-09-10 19:05:54 +00:00
bp2build.go Generate android_certificate_directory 2023-09-12 15:23:36 -07:00
bp2build_product_config.go Merge "Support aconfig_declarations, aconfig_values and aconfig_value_set" into main 2023-09-15 16:46:01 +00:00
bp2build_product_config_test.go Make bp2build-generated selects() based on product config build settings 2023-08-03 10:12:09 -07:00
bpf_conversion_test.go Add bp2build converter for bpf 2022-09-28 14:18:45 -07:00
build_conversion.go Delete ApiBp2build soong_build mode 2023-09-05 17:09:51 -07:00
build_conversion_test.go Merge "Add unit test for parsing build files in bp2build" into main 2023-09-15 00:04:09 +00:00
bzl_conversion.go Replace SortedStringKeys with SortedKeys 2023-02-28 16:51:32 -08:00
bzl_conversion_test.go Merge changes I8ca452aa,I437fc890,If9446700 into main 2023-08-08 00:51:52 +00:00
cc_binary_conversion_test.go export SimpleModuleDoNotConvertBp2build for AIDL 2023-09-10 19:05:54 +00:00
cc_library_conversion_test.go bp2build converter for ndk_library 2023-09-16 02:57:26 +00:00
cc_library_headers_conversion_test.go export SimpleModuleDoNotConvertBp2build for AIDL 2023-09-10 19:05:54 +00:00
cc_library_shared_conversion_test.go Stub/Impl selection for sdk variants 2023-09-16 02:57:29 +00:00
cc_library_static_conversion_test.go export SimpleModuleDoNotConvertBp2build for AIDL 2023-09-10 19:05:54 +00:00
cc_object_conversion_test.go Make bp2build-generated selects() based on product config build settings 2023-08-03 10:12:09 -07: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 Create a bp2build converter for ndk_prebuilt_*_stl 2023-09-13 18:08:55 +00:00
cc_prebuilt_library_shared_conversion_test.go bp2build: migrate export_{,system_}include_dirs -> *includes for cc_prebuilt_library{,_static,_shared} 2023-04-11 18:56:41 +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_conversion_test.go bp2build: migrate export_{,system_}include_dirs -> *includes for cc_prebuilt_library{,_static,_shared} 2023-04-11 18:56:41 +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 export SimpleModuleDoNotConvertBp2build for AIDL 2023-09-10 19:05:54 +00:00
cc_yasm_conversion_test.go Exporting MakeBazelTarget() in testing.go 2022-09-01 16:47:58 +00:00
configurability.go Print default val if all vals in axis match default val 2023-05-03 00:35:13 +00:00
constants.go Have bp2build generate BUILD.bazel instead of generating BUILD. 2021-05-18 09:01:36 -04:00
conversion.go Generate android_certificate_directory 2023-09-12 15:23:36 -07:00
conversion_test.go Generate android_certificate_directory 2023-09-12 15:23:36 -07:00
droiddoc_exported_dir_conversion_test.go Bp2build-convert droiddoc_exported_dir 2023-09-14 12:06:54 -04:00
fdo_profile_conversion_test.go Implement bp2build converter for fdo_profile 2023-09-15 10:45:17 -04:00
filegroup_conversion_test.go Handle .proto files in different package for filegroups 2023-08-07 21:39:05 +00:00
genrule_conversion_test.go Fix replacements of namespace module srcs in genrule 2023-08-17 22:50:07 +00:00
gensrcs_conversion_test.go bp2build data property -> data attr in gensrcs 2023-06-09 15:37:45 -04:00
go_conversion_test.go Create additional test target for go modules in bp2build 2023-07-27 17:11:42 +00:00
java_binary_host_conversion_test.go Update runpath for jni libs 2023-06-06 00:07:40 +00:00
java_host_for_device_conversion_test.go Add do not convert for sdk_version unset 2023-08-29 20:06:48 -04:00
java_import_conversion_test.go Bp2build support for sdk_version and java_version. 2023-04-11 21:05:48 -04:00
java_library_conversion_test.go Always drop deps from java_library with no srcs 2023-09-15 10:37:16 -07:00
java_library_host_conversion_test.go Bp2build support for sdk_version and java_version. 2023-04-11 21:05:48 -04:00
java_plugin_conversion_test.go Bp2build support for sdk_version and java_version. 2023-04-11 21:05:48 -04:00
java_proto_conversion_test.go Do not append deps to exports when java_library has only proto srcs 2023-09-13 10:15:10 -07:00
java_sdk_library_conversion_test.go Add limited bp2build converter of java_sdk_library 2023-02-14 13:21:21 -08:00
java_test_host_conversion_test.go java_test macro needs srcs and deps to create .jar for tradefed_test_suite 2023-07-17 16:39:07 -07: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 Fix false pos in bp2build-prog due to prebulits 2023-08-25 17:42:42 -04:00
package_conversion_test.go Change bp2build converter of module "package". 2023-05-09 17:37:04 -07:00
performance_test.go Bp2build support for multiple product configs 2023-01-05 12:49:14 -08:00
platform_compat_config_conversion_test.go Create bp2build converter for platform_compat_config module type 2023-06-06 19:35:36 +00:00
prebuilt_etc_conversion_test.go bp2build: block src == name for prebuilt_* modules 2023-09-07 12:26:22 -04:00
python_binary_conversion_test.go export SimpleModuleDoNotConvertBp2build for AIDL 2023-09-10 19:05:54 +00:00
python_library_conversion_test.go Translate python_libray.pkg_path to proto.import_prefix 2023-08-24 19:21:10 +00:00
python_test_conversion_test.go bp2build support for python_test(_host) 2023-04-13 16:10:59 -07:00
rust_binary_conversion_test.go Add rust bp2build tests to soong tests 2023-09-01 12:08:19 -04:00
rust_library_conversion_test.go Add rust bp2build tests to soong tests 2023-09-01 12:08:19 -04:00
rust_proc_macro_conversion_test.go Add rust bp2build tests to soong tests 2023-09-01 12:08:19 -04:00
rust_protobuf_conversion_test.go Add rust bp2build tests to soong tests 2023-09-01 12:08:19 -04:00
sh_conversion_test.go Exporting MakeBazelTarget() in testing.go 2022-09-01 16:47:58 +00:00
sh_test_conversion_test.go bp2build converter for sh_test followup 2023-08-22 23:07:33 -04:00
soong_config_module_type_conversion_test.go Handle enabled: false via conditions_default 2023-08-08 16:54:34 +00:00
symlink_forest.go Increment symlink_forest_version 2023-09-13 08:56:54 -07:00
testing.go Merge "Add unit test for parsing build files in bp2build" into main 2023-09-15 00:04:09 +00:00