android13/hardware/interfaces/tests/extension/vibrator/aidl/default/Android.bp

35 lines
1.1 KiB
Plaintext

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
cc_binary {
name: "android.hardware.tests.extension.vibrator-service.example",
relative_install_path: "hw",
// normally you implement a service directly, but we are using an implementation
// from a library to attach our extension to.
static_libs: [
"libvibratorexampleimpl",
],
// need to add this in the manifest and to init as well to use, see
// android.hardware.vibrator-service.example. This binary is being tested
// by running it manually as root.
vendor: true,
srcs: [
"service.cpp",
"CustomVibrator.cpp",
],
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.vibrator-V2-ndk",
"android.hardware.tests.extension.vibrator-V2-ndk",
],
}