2021-02-04 10:08:28 +08:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2020-11-26 08:06:39 +08:00
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-bp2build",
|
|
|
|
pkgPath: "android/soong/bp2build",
|
|
|
|
srcs: [
|
|
|
|
"androidbp_to_build_templates.go",
|
|
|
|
"bp2build.go",
|
|
|
|
"build_conversion.go",
|
|
|
|
"bzl_conversion.go",
|
2021-02-24 20:20:12 +08:00
|
|
|
"configurability.go",
|
2021-02-18 02:22:03 +08:00
|
|
|
"constants.go",
|
2020-11-26 08:06:39 +08:00
|
|
|
"conversion.go",
|
2021-02-19 13:48:40 +08:00
|
|
|
"metrics.go",
|
2021-04-16 19:47:36 +08:00
|
|
|
"symlink_forest.go",
|
2020-11-26 08:06:39 +08:00
|
|
|
],
|
|
|
|
deps: [
|
|
|
|
"soong-android",
|
2020-12-14 21:25:34 +08:00
|
|
|
"soong-bazel",
|
2021-02-15 19:04:32 +08:00
|
|
|
"soong-cc",
|
2020-12-14 22:09:52 +08:00
|
|
|
"soong-genrule",
|
2021-03-08 20:32:28 +08:00
|
|
|
"soong-python",
|
2021-02-09 18:59:06 +08:00
|
|
|
"soong-sh",
|
2020-11-26 08:06:39 +08:00
|
|
|
],
|
|
|
|
testSrcs: [
|
|
|
|
"build_conversion_test.go",
|
|
|
|
"bzl_conversion_test.go",
|
2021-03-24 22:04:33 +08:00
|
|
|
"cc_library_conversion_test.go",
|
2021-02-18 16:21:34 +08:00
|
|
|
"cc_library_headers_conversion_test.go",
|
2021-03-25 17:06:03 +08:00
|
|
|
"cc_library_static_conversion_test.go",
|
2021-02-18 16:21:34 +08:00
|
|
|
"cc_object_conversion_test.go",
|
2020-11-26 08:06:39 +08:00
|
|
|
"conversion_test.go",
|
2021-03-08 20:32:28 +08:00
|
|
|
"python_binary_conversion_test.go",
|
2021-02-11 11:40:05 +08:00
|
|
|
"sh_conversion_test.go",
|
2020-11-26 08:06:39 +08:00
|
|
|
"testing.go",
|
|
|
|
],
|
|
|
|
pluginFor: [
|
|
|
|
"soong_build",
|
|
|
|
],
|
|
|
|
}
|