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