Bazel doesn't allow a module and file with the same name. These are some extra modules I missed in aosp/2201115 Bug: 198619163 Test: m am, verified it was still installed to out/target/product/emulator64_x86_64/system/bin/am and not am.sh Change-Id: I763a938918854541ec5b0bcf740b1b6cf0fce771
43 lines
855 B
Plaintext
43 lines
855 B
Plaintext
// Copyright 2008 The Android Open Source Project
|
|
//
|
|
|
|
package {
|
|
default_applicable_licenses: ["frameworks_base_cmds_am_license"],
|
|
}
|
|
|
|
// Added automatically by a large-scale-change
|
|
// See: http://go/android-license-faq
|
|
license {
|
|
name: "frameworks_base_cmds_am_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-Apache-2.0",
|
|
],
|
|
license_text: [
|
|
"NOTICE",
|
|
],
|
|
}
|
|
|
|
cc_library_host_static {
|
|
name: "libinstrumentation",
|
|
srcs: ["**/*.proto"],
|
|
cflags: ["-Wall", "-Werror"],
|
|
proto: {
|
|
type: "full",
|
|
export_proto_headers: true,
|
|
},
|
|
}
|
|
|
|
java_binary {
|
|
name: "am",
|
|
wrapper: "am.sh",
|
|
srcs: [
|
|
"src/**/*.java",
|
|
"proto/**/*.proto",
|
|
],
|
|
proto: {
|
|
plugin: "javastream",
|
|
},
|
|
static_libs: ["libprotobuf-java-lite"],
|
|
}
|