platform_build_soong/bp2build
Chris Parsons 39a169721c Provide reason for unconverted bp2build modules
This also changes the expectation of ConvertWithBp2build. Each
implementation must either create one or more Bazel target modules, or
mark the module as unconvertible (with a specific reason).

Manually verified no runtime hit in AOSP
In AOSP, the metrics file size increases from 252K to 1.6M

This changes some effective module counts in bp2build metrics:
 - Removes "package" modules from the module count list in
metrics, as these will not be converted like regular modules.
 - Counts Handcrafted modules as being "unconverted", as bp2build is not
   responsible for them.

Bug: 285631638
Test: Verified generated BUILD.bazel files are bit-for-bit identical
with this change
Test: Manually verified one case of each implemented reasonType

Change-Id: I308dd451d8f28379b15671dae9f931bd0446f5c1
2023-06-16 13:45:17 +00:00
..
aar_conversion_test.go Bp2build support for sdk_version and java_version. 2023-04-11 21:05:48 -04:00
aidl_library_conversion_test.go Implement bp2build converter for aidl_library 2023-05-11 11:39:43 -04:00
Android.bp Create bp2build converter for platform_compat_config module type 2023-06-06 19:35:36 +00: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 Don't translate "required" to unsupported "data" in android_app. 2023-05-09 16:37:23 -04:00
androidbp_to_build_templates.go Handle nameless modules during bp2build conversion. 2022-09-14 09:32:17 -07:00
apex_conversion_test.go add apex_available_name variant_version to bp2build unit tests 2023-06-06 15:47:30 -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 Load starlark files from soong 2023-04-26 17:18:19 -07:00
bp2build_product_config.go Remove --noexperimental_platform_in_output_dir 2023-06-08 17:58:35 -07:00
bpf_conversion_test.go Add bp2build converter for bpf 2022-09-28 14:18:45 -07:00
build_conversion.go Provide reason for unconverted bp2build modules 2023-06-16 13:45:17 +00:00
build_conversion_test.go Select stub/impl per apex variant 2023-05-08 21:11:46 +00:00
bzl_conversion.go Replace SortedStringKeys with SortedKeys 2023-02-28 16:51:32 -08:00
bzl_conversion_test.go Add a function to create config_setting(s) 2023-04-28 19:43:43 +00:00
cc_binary_conversion_test.go Bp2build Sanitizer Blocklist 2023-06-13 20:46:27 +00:00
cc_library_conversion_test.go Bp2build Sanitizer Blocklist 2023-06-13 20:46:27 +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 Bp2build Sanitizer Blocklist 2023-06-13 20:46:27 +00:00
cc_library_static_conversion_test.go Bp2build Sanitizer Blocklist 2023-06-13 20:46:27 +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 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_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 Correct cc_test_library migration 2023-04-21 15:22:49 -04: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 Move bazel environment variable list to bzl files 2023-06-14 15:45:12 -07:00
conversion_test.go Move bazel environment variable list to bzl files 2023-06-14 15:45:12 -07:00
droidstubs_conversion_test.go Create (API) bp2build converters for droidstubs 2022-12-28 23:58:52 +00:00
filegroup_conversion_test.go Revert "Revert "Revert "Add aidl.deps prop to include aidl implicit deps explicitly in Android.bp""" 2023-06-14 12:24:17 +00:00
genrule_conversion_test.go Correct genrule path references 2023-06-02 19:09:35 -04:00
gensrcs_conversion_test.go bp2build data property -> data attr in gensrcs 2023-06-09 15:37:45 -04: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 Bp2build support for sdk_version and java_version. 2023-04-11 21:05: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 bp2build java_resources that only contain a filegroup 2023-05-24 18:21:15 +00: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 Bp2build support for sdk_version and java_version. 2023-04-11 21:05:48 -04: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 Add simple bp2build converter for java_test_host 2023-06-01 10:37:09 -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 Provide reason for unconverted bp2build modules 2023-06-16 13:45:17 +00: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 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
python_test_conversion_test.go bp2build support for python_test(_host) 2023-04-13 16:10:59 -07: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 build: Fix bp2build panic issue 2023-05-24 06:38:58 +00:00
symlink_forest.go Clean old symlink forests 2023-04-05 11:44:49 -07:00
testing.go Provide reason for unconverted bp2build modules 2023-06-16 13:45:17 +00:00