platform_build_soong/bp2build
Colin Cross 7e2e794333 Fix soong for go test ./...
Fix various issues that prevent building or running tests with the
Go tools:

Remove testing/test_spec_proto/go.mod.  There's already a go.mod at
the top level, and adding testing/test_spec_proto/go.mod breaks
compiling with the Go tools in IntelliJ or from the command line.

Fix go vet issues when trying to print []DataPath.

Fix aconfig_conversion_test.go and add it to Android.bp so it runs
in presubmit.

Test: go test ./...
Change-Id: I18af2f05631446fe507744a2951e4b02c7ab59be
2023-11-17 21:28:39 +00:00
..
aar_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
aconfig_conversion_test.go Fix soong for go test ./... 2023-11-17 21:28:39 +00:00
aidl_library_conversion_test.go Implement bp2build converter for aidl_library 2023-05-11 11:39:43 -04:00
Android.bp Fix soong for go test ./... 2023-11-17 21:28:39 +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 Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
android_test_conversion_test.go Enable/disable optimize for android_test and android_test_helper_app by default. 2023-09-25 15:27:33 +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 Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
apex_key_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
bp2build.go Add bazel-built modules as deps on the system image 2023-10-18 15:21:14 -07:00
bp2build_product_config.go Add bazel-built modules as deps on the system image 2023-10-18 15:21:14 -07:00
bp2build_product_config_test.go Add bazel-built modules as deps on the system image 2023-10-18 15:21:14 -07:00
bpf_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
build_conversion.go Add bazel-built modules as deps on the system image 2023-10-18 15:21:14 -07:00
build_conversion_test.go Merge "Move platform constraints to bazel_common_rules." into main 2023-10-12 02:22:26 +00:00
bzl_conversion.go Replace SortedStringKeys with SortedKeys 2023-02-28 16:51:32 -08:00
bzl_conversion_test.go create, but dont register, bp2build_deps mutator 2023-10-03 00:16:30 +00:00
cc_binary_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_library_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_library_headers_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_library_shared_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_library_static_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_object_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_prebuilt_binary_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_prebuilt_library_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_prebuilt_library_shared_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_prebuilt_library_shared_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_prebuilt_library_static_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_prebuilt_library_static_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_prebuilt_object_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_test_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
cc_yasm_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +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 Replace ndk_libs.bzl with an attr in cc_stub_suite 2023-10-09 18:07:39 +00:00
conversion_test.go Replace ndk_libs.bzl with an attr in cc_stub_suite 2023-10-09 18:07:39 +00: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 Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
filegroup_conversion_test.go Treat src=name filegroups as handcrafted targets 2023-09-28 23:07:00 +00:00
genrule_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
gensrcs_conversion_test.go Test changes to prepare for allowlist v2 2023-10-05 17:51:44 +00:00
go_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
java_binary_host_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +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 Revert "Don't use java_library for java_import neverlink" 2023-10-18 20:38:37 +00:00
java_library_conversion_test.go Shard Javac 2023-10-18 13:25:55 -04:00
java_library_host_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
java_plugin_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
java_proto_conversion_test.go Add support for java_library proto plugin in bp2build 2023-10-05 12:53:23 -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_sdk_library_import_conversion_test.go Implement bp2build for java_sdk_library_import 2023-09-19 15:58:22 -04:00
java_test_host_conversion_test.go Merge "Move platform constraints to bazel_common_rules." into main 2023-10-12 02:22:26 +00: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 Refactor bp2build tests for allowlist v2 2023-09-19 17:04:11 +00:00
prebuilt_etc_conversion_test.go Fix TestPrebuiltRootHostWithWildCardInSrc 2023-10-12 10:25:31 -07:00
python_binary_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
python_library_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
python_test_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
rust_binary_conversion_test.go Add rust bp2build tests to soong tests 2023-09-01 12:08:19 -04:00
rust_ffi_conversion_test.go Add bp2build converter for rust_ffi_static 2023-10-19 11:22:51 -04:00
rust_library_conversion_test.go Remove restriction on android config in generated rust_library targets 2023-10-13 11:51:18 -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 bp2build for rust_protobuf module 2023-09-25 17:37:59 -04:00
sh_conversion_test.go Exporting MakeBazelTarget() in testing.go 2022-09-01 16:47:58 +00:00
sh_test_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
soong_config_module_type_conversion_test.go Move platform constraints to bazel_common_rules. 2023-10-11 12:07:44 +00:00
symlink_forest.go Revert "Revert "Modify symlink_forest to rerun when soong_build has changed."" 2023-10-05 17:11:50 +00:00
testing.go Add bazel-built modules as deps on the system image 2023-10-18 15:21:14 -07:00