blob: f9d45bb001c882d30cfdd02ab05464eb4c6c0fb3 [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",
Lais Andrade80b18612020-10-12 18:44:40 +00007 "android.hardware.vibrator-unstable-ndk_platform",
Steven Moreland8ba8c032019-11-18 16:23:39 -08008 ],
9 export_include_dirs: ["include"],
Lais Andrade80b18612020-10-12 18:44:40 +000010 srcs: [
11 "Vibrator.cpp",
12 "VibratorManager.cpp",
13 ],
Steven Moreland8ba8c032019-11-18 16:23:39 -080014 visibility: [
Steven Moreland07f26942020-01-06 13:40:51 -080015 ":__subpackages__",
16 "//hardware/interfaces/tests/extension/vibrator:__subpackages__",
Steven Moreland8ba8c032019-11-18 16:23:39 -080017 ],
18}
19
Steven Morelandd44007e2019-10-24 18:12:46 -070020cc_binary {
21 name: "android.hardware.vibrator-service.example",
22 relative_install_path: "hw",
23 init_rc: ["vibrator-default.rc"],
24 vintf_fragments: ["vibrator-default.xml"],
25 vendor: true,
26 shared_libs: [
27 "libbase",
28 "libbinder_ndk",
Lais Andrade80b18612020-10-12 18:44:40 +000029 "android.hardware.vibrator-unstable-ndk_platform",
Steven Morelandd44007e2019-10-24 18:12:46 -070030 ],
Steven Moreland8ba8c032019-11-18 16:23:39 -080031 static_libs: [
32 "libvibratorexampleimpl",
33 ],
34 srcs: ["main.cpp"],
Steven Morelandd44007e2019-10-24 18:12:46 -070035}