blob: 598ca323d44a95d1fe67f3c8a0486c061a6f1f9d [file] [log] [blame]
Bob Badour02040de2021-02-03 18:08:28 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Liz Kammer2dd9ca42020-11-25 16:06:39 -08005bootstrap_go_package {
6 name: "soong-bp2build",
7 pkgPath: "android/soong/bp2build",
8 srcs: [
9 "androidbp_to_build_templates.go",
10 "bp2build.go",
Cole Faustb85d1a12022-11-08 18:14:01 -080011 "bp2build_product_config.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080012 "build_conversion.go",
13 "bzl_conversion.go",
Jingwen Chen5d864492021-02-24 07:20:12 -050014 "configurability.go",
Liz Kammerba3ea162021-02-17 13:22:03 -050015 "constants.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080016 "conversion.go",
Jingwen Chen164e0862021-02-19 00:48:40 -050017 "metrics.go",
Lukacs T. Berkib353cca2021-04-16 13:47:36 +020018 "symlink_forest.go",
Yu Liu5d866ed2022-08-11 13:00:00 -070019 "testing.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080020 ],
21 deps: [
22 "soong-android",
Sam Delmerico24c56032022-03-28 19:53:03 +000023 "soong-android-allowlists",
Jingwen Chen01812022021-11-19 14:29:43 +000024 "soong-android-soongconfig",
Rupert Shuttlewortha9d76dd2021-07-02 07:17:16 -040025 "soong-apex",
Jingwen Chen73850672020-12-14 08:25:34 -050026 "soong-bazel",
Rupert Shuttleworth54e78412021-02-15 11:04:32 +000027 "soong-cc",
Jingwen Chenbf61afb2021-05-06 13:31:18 +000028 "soong-cc-config",
Rupert Shuttleworth378fc1b2021-07-28 08:03:16 -040029 "soong-etc",
Jingwen Chen316e07c2020-12-14 09:09:52 -050030 "soong-genrule",
Liz Kammer45faf8f2022-06-02 16:00:54 -040031 "soong-linkerconfig",
Jingwen Chen13b9b422021-03-08 07:32:28 -050032 "soong-python",
Rupert Shuttlewortha1a56e82021-02-09 10:59:06 +000033 "soong-sh",
Liz Kammer45faf8f2022-06-02 16:00:54 -040034 "soong-shared",
Liz Kammer72beb342022-02-03 08:42:10 -050035 "soong-starlark-format",
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux947fdbf2021-11-10 09:55:20 -050036 "soong-ui-metrics",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080037 ],
38 testSrcs: [
Romain Jobredeauxc9b2bba2022-02-15 09:35:07 -050039 "aar_conversion_test.go",
Rupert Shuttleworth5c4881c2021-07-28 06:21:31 -040040 "android_app_certificate_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050041 "android_app_conversion_test.go",
Rupert Shuttlewortha9d76dd2021-07-02 07:17:16 -040042 "apex_conversion_test.go",
Rupert Shuttlewortheb8c85a2021-07-27 07:10:32 -040043 "apex_key_conversion_test.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080044 "build_conversion_test.go",
45 "bzl_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050046 "cc_binary_conversion_test.go",
Jingwen Chen63930982021-03-24 10:04:33 -040047 "cc_library_conversion_test.go",
Jingwen Chen8c1b97e2021-02-18 03:21:34 -050048 "cc_library_headers_conversion_test.go",
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxac5097f2021-09-01 21:22:09 +000049 "cc_library_shared_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050050 "cc_library_static_conversion_test.go",
Jingwen Chen8c1b97e2021-02-18 03:21:34 -050051 "cc_object_conversion_test.go",
Trevor Radcliffe54abd2e2022-04-19 14:50:39 +000052 "cc_prebuilt_library_conversion_test.go",
Sam Delmericod3a1cfa2022-03-07 18:22:42 +000053 "cc_prebuilt_library_shared_test.go",
Trevor Radcliffe54abd2e2022-04-19 14:50:39 +000054 "cc_prebuilt_library_static_test.go",
Colin Crossc5075e92022-12-05 16:46:39 -080055 "cc_prebuilt_object_conversion_test.go",
Jingwen Chen537242c2022-08-24 11:53:27 +000056 "cc_test_conversion_test.go",
Sam Delmericoc9a49df2022-08-08 10:52:27 -040057 "cc_yasm_conversion_test.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080058 "conversion_test.go",
Spandan Das0b555e32022-11-28 18:48:51 +000059 "droidstubs_conversion_test.go",
Jingwen Chen5146ac02021-09-02 11:44:42 +000060 "filegroup_conversion_test.go",
Rupert Shuttleworthc5fa3062021-09-08 10:36:41 -040061 "genrule_conversion_test.go",
Jingwen Chenfb237082022-06-08 14:57:04 +000062 "gensrcs_conversion_test.go",
Sam Delmericod3a1cfa2022-03-07 18:22:42 +000063 "java_binary_host_conversion_test.go",
Romain Jobredeauxe7370ea2023-04-04 10:30:14 -040064 "java_host_for_device_conversion_test.go",
Sam Delmericod3a1cfa2022-03-07 18:22:42 +000065 "java_import_conversion_test.go",
66 "java_library_conversion_test.go",
67 "java_library_host_conversion_test.go",
68 "java_plugin_conversion_test.go",
69 "java_proto_conversion_test.go",
Sasha Smundak9d2f1742022-08-04 13:28:38 -070070 "license_conversion_test.go",
Sasha Smundaka93c62b2022-09-14 13:40:03 -070071 "license_kind_conversion_test.go",
Liz Kammer45faf8f2022-06-02 16:00:54 -040072 "linker_config_conversion_test.go",
Spandan Das0773a602022-08-16 00:55:11 +000073 "ndk_headers_conversion_test.go",
Sasha Smundak8bea2672022-08-04 13:31:14 -070074 "package_conversion_test.go",
Liz Kammer32b77cf2021-08-04 15:17:02 -040075 "performance_test.go",
Rupert Shuttleworth378fc1b2021-07-28 08:03:16 -040076 "prebuilt_etc_conversion_test.go",
Jingwen Chen13b9b422021-03-08 07:32:28 -050077 "python_binary_conversion_test.go",
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux0fc781c2021-08-19 19:21:30 +000078 "python_library_conversion_test.go",
Rupert Shuttleworthfb97fde2021-02-11 03:40:05 +000079 "sh_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050080 "soong_config_module_type_conversion_test.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080081 ],
82 pluginFor: [
83 "soong_build",
84 ],
85}