2021-02-04 10:08:28 +08:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2020-05-07 12:23:08 +08:00
|
|
|
blueprint_go_binary {
|
|
|
|
name: "extract_apks",
|
|
|
|
srcs: ["main.go"],
|
|
|
|
deps: [
|
|
|
|
"android-archive-zip",
|
|
|
|
"golang-protobuf-proto",
|
|
|
|
"soong-cmd-extract_apks-proto",
|
|
|
|
],
|
2020-06-26 20:04:00 +08:00
|
|
|
testSrcs: ["main_test.go"],
|
2020-05-07 12:23:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-cmd-extract_apks-proto",
|
|
|
|
pkgPath: "android/soong/cmd/extract_apks/bundle_proto",
|
|
|
|
deps: ["golang-protobuf-proto"],
|
|
|
|
srcs: [
|
|
|
|
"bundle_proto/commands.pb.go",
|
|
|
|
"bundle_proto/config.pb.go",
|
|
|
|
"bundle_proto/targeting.pb.go",
|
|
|
|
],
|
|
|
|
}
|