blob: f889693c4bedcadbac03b84c7be21631e5fcbedb [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: [
Spandan Dasea2abba2023-06-14 21:30:38 +000022 "blueprint-bootstrap",
Vinh Tran3d169902023-04-28 11:21:25 -040023 "soong-aidl-library",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080024 "soong-android",
Sam Delmerico24c56032022-03-28 19:53:03 +000025 "soong-android-allowlists",
Jingwen Chen01812022021-11-19 14:29:43 +000026 "soong-android-soongconfig",
Rupert Shuttlewortha9d76dd2021-07-02 07:17:16 -040027 "soong-apex",
Jingwen Chen73850672020-12-14 08:25:34 -050028 "soong-bazel",
Rupert Shuttleworth54e78412021-02-15 11:04:32 +000029 "soong-cc",
Jingwen Chenbf61afb2021-05-06 13:31:18 +000030 "soong-cc-config",
Rupert Shuttleworth378fc1b2021-07-28 08:03:16 -040031 "soong-etc",
Jingwen Chen316e07c2020-12-14 09:09:52 -050032 "soong-genrule",
Liz Kammer45faf8f2022-06-02 16:00:54 -040033 "soong-linkerconfig",
Jingwen Chen13b9b422021-03-08 07:32:28 -050034 "soong-python",
Rupert Shuttlewortha1a56e82021-02-09 10:59:06 +000035 "soong-sh",
Liz Kammer45faf8f2022-06-02 16:00:54 -040036 "soong-shared",
Liz Kammer72beb342022-02-03 08:42:10 -050037 "soong-starlark-format",
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux947fdbf2021-11-10 09:55:20 -050038 "soong-ui-metrics",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080039 ],
40 testSrcs: [
Spandan Dasea2abba2023-06-14 21:30:38 +000041 "go_conversion_test.go",
Romain Jobredeauxc9b2bba2022-02-15 09:35:07 -050042 "aar_conversion_test.go",
Vinh Tran3d169902023-04-28 11:21:25 -040043 "aidl_library_conversion_test.go",
Rupert Shuttleworth5c4881c2021-07-28 06:21:31 -040044 "android_app_certificate_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050045 "android_app_conversion_test.go",
Rupert Shuttlewortha9d76dd2021-07-02 07:17:16 -040046 "apex_conversion_test.go",
Rupert Shuttlewortheb8c85a2021-07-27 07:10:32 -040047 "apex_key_conversion_test.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080048 "build_conversion_test.go",
49 "bzl_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050050 "cc_binary_conversion_test.go",
Jingwen Chen63930982021-03-24 10:04:33 -040051 "cc_library_conversion_test.go",
Jingwen Chen8c1b97e2021-02-18 03:21:34 -050052 "cc_library_headers_conversion_test.go",
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxac5097f2021-09-01 21:22:09 +000053 "cc_library_shared_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050054 "cc_library_static_conversion_test.go",
Jingwen Chen8c1b97e2021-02-18 03:21:34 -050055 "cc_object_conversion_test.go",
Trevor Radcliffe54abd2e2022-04-19 14:50:39 +000056 "cc_prebuilt_library_conversion_test.go",
Sam Delmericod3a1cfa2022-03-07 18:22:42 +000057 "cc_prebuilt_library_shared_test.go",
Trevor Radcliffe54abd2e2022-04-19 14:50:39 +000058 "cc_prebuilt_library_static_test.go",
Colin Crossc5075e92022-12-05 16:46:39 -080059 "cc_prebuilt_object_conversion_test.go",
Jingwen Chen537242c2022-08-24 11:53:27 +000060 "cc_test_conversion_test.go",
Sam Delmericoc9a49df2022-08-08 10:52:27 -040061 "cc_yasm_conversion_test.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080062 "conversion_test.go",
Spandan Das0b555e32022-11-28 18:48:51 +000063 "droidstubs_conversion_test.go",
Jingwen Chen5146ac02021-09-02 11:44:42 +000064 "filegroup_conversion_test.go",
Rupert Shuttleworthc5fa3062021-09-08 10:36:41 -040065 "genrule_conversion_test.go",
Jingwen Chenfb237082022-06-08 14:57:04 +000066 "gensrcs_conversion_test.go",
Sam Delmericod3a1cfa2022-03-07 18:22:42 +000067 "java_binary_host_conversion_test.go",
Romain Jobredeauxe7370ea2023-04-04 10:30:14 -040068 "java_host_for_device_conversion_test.go",
Sam Delmericod3a1cfa2022-03-07 18:22:42 +000069 "java_import_conversion_test.go",
70 "java_library_conversion_test.go",
71 "java_library_host_conversion_test.go",
72 "java_plugin_conversion_test.go",
73 "java_proto_conversion_test.go",
Sasha Smundak9d2f1742022-08-04 13:28:38 -070074 "license_conversion_test.go",
Sasha Smundaka93c62b2022-09-14 13:40:03 -070075 "license_kind_conversion_test.go",
Liz Kammer45faf8f2022-06-02 16:00:54 -040076 "linker_config_conversion_test.go",
Sasha Smundak8bea2672022-08-04 13:31:14 -070077 "package_conversion_test.go",
Liz Kammer32b77cf2021-08-04 15:17:02 -040078 "performance_test.go",
Jihoon Kang346a1172023-05-17 10:17:30 +000079 "platform_compat_config_conversion_test.go",
Rupert Shuttleworth378fc1b2021-07-28 08:03:16 -040080 "prebuilt_etc_conversion_test.go",
Jingwen Chen13b9b422021-03-08 07:32:28 -050081 "python_binary_conversion_test.go",
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux0fc781c2021-08-19 19:21:30 +000082 "python_library_conversion_test.go",
Cole Faustd82f0362023-04-12 17:32:19 -070083 "python_test_conversion_test.go",
Rupert Shuttleworthfb97fde2021-02-11 03:40:05 +000084 "sh_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050085 "soong_config_module_type_conversion_test.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080086 ],
87 pluginFor: [
88 "soong_build",
89 ],
90}