blob: fd19f1372852a84b672c46c23d8a580af1c13f1f [file] [log] [blame]
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-V1-ndk_platform",
"android.hardware.tests.extension.vibrator-V1-ndk_platform",
],
}