blob: 0f9850ff944263d1486be3aee43e892c523e7ac6 [file] [log] [blame]
Bob Badourb224b362021-02-12 20:13:01 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "hardware_interfaces_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
Steven Moreland8ba8c032019-11-18 16:23:39 -080010cc_library_static {
11 name: "libvibratorexampleimpl",
12 vendor: true,
13 shared_libs: [
14 "libbase",
15 "libbinder_ndk",
Jeongik Cha1674c132021-01-26 22:34:55 +090016 "android.hardware.vibrator-V1-ndk_platform",
Steven Moreland8ba8c032019-11-18 16:23:39 -080017 ],
18 export_include_dirs: ["include"],
19 srcs: ["Vibrator.cpp"],
20 visibility: [
Steven Moreland98ba8fb2020-01-06 13:40:51 -080021 ":__subpackages__",
22 "//hardware/interfaces/tests/extension/vibrator:__subpackages__",
Steven Moreland8ba8c032019-11-18 16:23:39 -080023 ],
24}
25
Steven Morelandd44007e2019-10-24 18:12:46 -070026cc_binary {
27 name: "android.hardware.vibrator-service.example",
28 relative_install_path: "hw",
29 init_rc: ["vibrator-default.rc"],
30 vintf_fragments: ["vibrator-default.xml"],
31 vendor: true,
32 shared_libs: [
33 "libbase",
34 "libbinder_ndk",
Jeongik Cha1674c132021-01-26 22:34:55 +090035 "android.hardware.vibrator-V1-ndk_platform",
Steven Morelandd44007e2019-10-24 18:12:46 -070036 ],
Steven Moreland8ba8c032019-11-18 16:23:39 -080037 static_libs: [
38 "libvibratorexampleimpl",
39 ],
40 srcs: ["main.cpp"],
Steven Morelandd44007e2019-10-24 18:12:46 -070041}