Files
Spandan Das cd195faa9d Use jni_libs to install shared library dependency
`jni_libs` is more specific than `required`, and allows Soong to be more
restrictive when creating the dependency edge from the java_binary to
the cc_library.

Bug: 370110572
Test: m installclean && m <javabin>
Test: verified that the jni libs are installed in out/target/product/...
Change-Id: I52857314eed5944971b8f5993879a9609f1ea24e
2024-10-03 23:22:45 +00:00

37 lines
749 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: [
"src/**/*.java",
":uinputcommand_aidl",
],
jni_libs: ["libuinputcommand_jni"],
}
filegroup {
name: "uinputcommand_aidl",
srcs: [
"src/com/android/commands/uinput/InputAbsInfo.aidl",
],
}