mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 20:24:19 +00:00
For consistency. Bug: 153501107 Test: N/A Change-Id: If32e8539fd8fffd5e27f0437bff480089e38f0da Merged-In: If32e8539fd8fffd5e27f0437bff480089e38f0da
26 lines
780 B
Plaintext
26 lines
780 B
Plaintext
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-ndk_platform",
|
|
"android.hardware.tests.extension.vibrator-ndk_platform",
|
|
],
|
|
}
|