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