blob: dc8867fadf45b5b7f4217104f4b4a0bade11d9c7 [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",
7 "vintf-vibrator-ndk_platform",
8 ],
9 export_include_dirs: ["include"],
10 srcs: ["Vibrator.cpp"],
11 visibility: [
12 ":__subpackages__",
13 "//hardware/interfaces/tests/extension/vibrator:__subpackages__",
14 ],
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",
26 "vintf-vibrator-ndk_platform",
27 ],
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}