blob: 9e6d9cf2d9115dcc5dcbcb7c2c83c6158e46f75d [file] [log] [blame]
Steven Moreland8ba8c032019-11-18 16:23:39 -08001cc_library_static {
2 name: "libvibratorexampleimpl",
3 vendor: true,
4 shared_libs: [
5 "libbase",
6 "libbinder_ndk",
Steven Moreland07f26942020-01-06 13:40:51 -08007 "android.hardware.vibrator-ndk_platform",
Steven Moreland8ba8c032019-11-18 16:23:39 -08008 ],
9 export_include_dirs: ["include"],
10 srcs: ["Vibrator.cpp"],
11 visibility: [
Steven Moreland07f26942020-01-06 13:40:51 -080012 ":__subpackages__",
13 "//hardware/interfaces/tests/extension/vibrator:__subpackages__",
Steven Moreland8ba8c032019-11-18 16:23:39 -080014 ],
15}
16
Steven Morelandd44007e2019-10-24 18:12:46 -070017cc_binary {
18 name: "android.hardware.vibrator-service.example",
19 relative_install_path: "hw",
20 init_rc: ["vibrator-default.rc"],
21 vintf_fragments: ["vibrator-default.xml"],
22 vendor: true,
23 shared_libs: [
24 "libbase",
25 "libbinder_ndk",
Steven Moreland07f26942020-01-06 13:40:51 -080026 "android.hardware.vibrator-ndk_platform",
Steven Morelandd44007e2019-10-24 18:12:46 -070027 ],
Steven Moreland8ba8c032019-11-18 16:23:39 -080028 static_libs: [
29 "libvibratorexampleimpl",
30 ],
31 srcs: ["main.cpp"],
Steven Morelandd44007e2019-10-24 18:12:46 -070032}