2019-11-18 16:23:39 -08:00
|
|
|
cc_library_static {
|
|
|
|
|
name: "libvibratorexampleimpl",
|
|
|
|
|
vendor: true,
|
|
|
|
|
shared_libs: [
|
|
|
|
|
"libbase",
|
|
|
|
|
"libbinder_ndk",
|
2020-01-06 13:40:51 -08:00
|
|
|
"android.hardware.vibrator-ndk_platform",
|
2019-11-18 16:23:39 -08:00
|
|
|
],
|
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
|
srcs: ["Vibrator.cpp"],
|
|
|
|
|
visibility: [
|
2020-01-06 13:40:51 -08:00
|
|
|
":__subpackages__",
|
|
|
|
|
"//hardware/interfaces/tests/extension/vibrator:__subpackages__",
|
2019-11-18 16:23:39 -08:00
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-24 18:12:46 -07:00
|
|
|
cc_binary {
|
|
|
|
|
name: "android.hardware.vibrator-service.example",
|
|
|
|
|
relative_install_path: "hw",
|
|
|
|
|
init_rc: ["vibrator-default.rc"],
|
|
|
|
|
vintf_fragments: ["vibrator-default.xml"],
|
|
|
|
|
vendor: true,
|
|
|
|
|
shared_libs: [
|
|
|
|
|
"libbase",
|
|
|
|
|
"libbinder_ndk",
|
2020-01-06 13:40:51 -08:00
|
|
|
"android.hardware.vibrator-ndk_platform",
|
2019-10-24 18:12:46 -07:00
|
|
|
],
|
2019-11-18 16:23:39 -08:00
|
|
|
static_libs: [
|
|
|
|
|
"libvibratorexampleimpl",
|
|
|
|
|
],
|
|
|
|
|
srcs: ["main.cpp"],
|
2019-10-24 18:12:46 -07:00
|
|
|
}
|