Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame^] | 1 | package { |
| 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 Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 10 | cc_library_static { |
| 11 | name: "libvibratorexampleimpl", |
| 12 | vendor: true, |
| 13 | shared_libs: [ |
| 14 | "libbase", |
| 15 | "libbinder_ndk", |
Jeongik Cha | 1674c13 | 2021-01-26 22:34:55 +0900 | [diff] [blame] | 16 | "android.hardware.vibrator-V1-ndk_platform", |
Steven Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 17 | ], |
| 18 | export_include_dirs: ["include"], |
| 19 | srcs: ["Vibrator.cpp"], |
| 20 | visibility: [ |
Steven Moreland | 98ba8fb | 2020-01-06 13:40:51 -0800 | [diff] [blame] | 21 | ":__subpackages__", |
| 22 | "//hardware/interfaces/tests/extension/vibrator:__subpackages__", |
Steven Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 23 | ], |
| 24 | } |
| 25 | |
Steven Moreland | d44007e | 2019-10-24 18:12:46 -0700 | [diff] [blame] | 26 | cc_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 Cha | 1674c13 | 2021-01-26 22:34:55 +0900 | [diff] [blame] | 35 | "android.hardware.vibrator-V1-ndk_platform", |
Steven Moreland | d44007e | 2019-10-24 18:12:46 -0700 | [diff] [blame] | 36 | ], |
Steven Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 37 | static_libs: [ |
| 38 | "libvibratorexampleimpl", |
| 39 | ], |
| 40 | srcs: ["main.cpp"], |
Steven Moreland | d44007e | 2019-10-24 18:12:46 -0700 | [diff] [blame] | 41 | } |