blob: 713ee090f28a165b0e255dda970993f191c6ef66 [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",
11 "build_conversion.go",
12 "bzl_conversion.go",
Jingwen Chen5d864492021-02-24 07:20:12 -050013 "configurability.go",
Liz Kammerba3ea162021-02-17 13:22:03 -050014 "constants.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080015 "conversion.go",
Jingwen Chen164e0862021-02-19 00:48:40 -050016 "metrics.go",
Lukacs T. Berkib353cca2021-04-16 13:47:36 +020017 "symlink_forest.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080018 ],
19 deps: [
20 "soong-android",
Sam Delmerico24c56032022-03-28 19:53:03 +000021 "soong-android-allowlists",
Jingwen Chen01812022021-11-19 14:29:43 +000022 "soong-android-soongconfig",
Rupert Shuttlewortha9d76dd2021-07-02 07:17:16 -040023 "soong-apex",
Jingwen Chen73850672020-12-14 08:25:34 -050024 "soong-bazel",
Rupert Shuttleworth54e78412021-02-15 11:04:32 +000025 "soong-cc",
Jingwen Chenbf61afb2021-05-06 13:31:18 +000026 "soong-cc-config",
Rupert Shuttleworth378fc1b2021-07-28 08:03:16 -040027 "soong-etc",
Jingwen Chen316e07c2020-12-14 09:09:52 -050028 "soong-genrule",
Liz Kammer45faf8f2022-06-02 16:00:54 -040029 "soong-linkerconfig",
Jingwen Chen13b9b422021-03-08 07:32:28 -050030 "soong-python",
Rupert Shuttlewortha1a56e82021-02-09 10:59:06 +000031 "soong-sh",
Liz Kammer45faf8f2022-06-02 16:00:54 -040032 "soong-shared",
Liz Kammer72beb342022-02-03 08:42:10 -050033 "soong-starlark-format",
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux947fdbf2021-11-10 09:55:20 -050034 "soong-ui-metrics",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080035 ],
36 testSrcs: [
Romain Jobredeauxc9b2bba2022-02-15 09:35:07 -050037 "aar_conversion_test.go",
Rupert Shuttleworth5c4881c2021-07-28 06:21:31 -040038 "android_app_certificate_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050039 "android_app_conversion_test.go",
Rupert Shuttlewortha9d76dd2021-07-02 07:17:16 -040040 "apex_conversion_test.go",
Rupert Shuttlewortheb8c85a2021-07-27 07:10:32 -040041 "apex_key_conversion_test.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080042 "build_conversion_test.go",
43 "bzl_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050044 "cc_binary_conversion_test.go",
Jingwen Chen63930982021-03-24 10:04:33 -040045 "cc_library_conversion_test.go",
Jingwen Chen8c1b97e2021-02-18 03:21:34 -050046 "cc_library_headers_conversion_test.go",
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxac5097f2021-09-01 21:22:09 +000047 "cc_library_shared_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050048 "cc_library_static_conversion_test.go",
Jingwen Chen8c1b97e2021-02-18 03:21:34 -050049 "cc_object_conversion_test.go",
Trevor Radcliffe54abd2e2022-04-19 14:50:39 +000050 "cc_prebuilt_library_conversion_test.go",
Sam Delmericod3a1cfa2022-03-07 18:22:42 +000051 "cc_prebuilt_library_shared_test.go",
Trevor Radcliffe54abd2e2022-04-19 14:50:39 +000052 "cc_prebuilt_library_static_test.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080053 "conversion_test.go",
Jingwen Chen5146ac02021-09-02 11:44:42 +000054 "filegroup_conversion_test.go",
Rupert Shuttleworthc5fa3062021-09-08 10:36:41 -040055 "genrule_conversion_test.go",
Jingwen Chenfb237082022-06-08 14:57:04 +000056 "gensrcs_conversion_test.go",
Sam Delmericod3a1cfa2022-03-07 18:22:42 +000057 "java_binary_host_conversion_test.go",
58 "java_import_conversion_test.go",
59 "java_library_conversion_test.go",
60 "java_library_host_conversion_test.go",
61 "java_plugin_conversion_test.go",
62 "java_proto_conversion_test.go",
Liz Kammer45faf8f2022-06-02 16:00:54 -040063 "linker_config_conversion_test.go",
Liz Kammer32b77cf2021-08-04 15:17:02 -040064 "performance_test.go",
Rupert Shuttleworth378fc1b2021-07-28 08:03:16 -040065 "prebuilt_etc_conversion_test.go",
Jingwen Chen13b9b422021-03-08 07:32:28 -050066 "python_binary_conversion_test.go",
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux0fc781c2021-08-19 19:21:30 +000067 "python_library_conversion_test.go",
Rupert Shuttleworthfb97fde2021-02-11 03:40:05 +000068 "sh_conversion_test.go",
Chris Parsons1de1d4e2021-12-14 15:25:51 -050069 "soong_config_module_type_conversion_test.go",
Liz Kammer2dd9ca42020-11-25 16:06:39 -080070 "testing.go",
71 ],
72 pluginFor: [
73 "soong_build",
74 ],
75}