Bazel doesn't allow a module and file with the same name. Bug: 198619163 Test: m ime, verified it was still installed to out/target/product/emulator64_x86_64/system/bin/ime and not ime.sh Change-Id: I214e190e159a7aff9149e77146d1a493992e885d
37 lines
745 B
Plaintext
37 lines
745 B
Plaintext
// Copyright 2020 The Android Open Source Project
|
|
//
|
|
|
|
package {
|
|
default_applicable_licenses: ["frameworks_base_cmds_uinput_license"],
|
|
}
|
|
|
|
// Added automatically by a large-scale-change
|
|
// See: http://go/android-license-faq
|
|
license {
|
|
name: "frameworks_base_cmds_uinput_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-Apache-2.0",
|
|
],
|
|
license_text: [
|
|
"NOTICE",
|
|
],
|
|
}
|
|
|
|
java_binary {
|
|
name: "uinput",
|
|
wrapper: "uinput.sh",
|
|
srcs: [
|
|
"**/*.java",
|
|
":uinputcommand_aidl",
|
|
],
|
|
required: ["libuinputcommand_jni"],
|
|
}
|
|
|
|
filegroup {
|
|
name: "uinputcommand_aidl",
|
|
srcs: [
|
|
"src/com/android/commands/uinput/InputAbsInfo.aidl",
|
|
],
|
|
}
|