Prashant Malani | 5e4eb5e | 2016-10-10 18:54:08 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2016 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 15 | |
Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame^] | 16 | package { |
| 17 | // See: http://go/android-license-faq |
| 18 | // A large-scale-change added 'default_applicable_licenses' to import |
| 19 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 20 | // to get the below license kinds: |
| 21 | // SPDX-license-identifier-Apache-2.0 |
| 22 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 23 | } |
| 24 | |
Prashant Malani | 5e4eb5e | 2016-10-10 18:54:08 -0700 | [diff] [blame] | 25 | cc_library_shared { |
| 26 | name: "android.hardware.vibrator@1.0-impl", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 27 | defaults: ["hidl_defaults"], |
Steven Moreland | fb68682 | 2017-10-04 16:07:57 -0700 | [diff] [blame] | 28 | vendor: true, |
Prashant Malani | 5e4eb5e | 2016-10-10 18:54:08 -0700 | [diff] [blame] | 29 | relative_install_path: "hw", |
| 30 | srcs: ["Vibrator.cpp"], |
| 31 | shared_libs: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 32 | "libhidlbase", |
Prashant Malani | 5e4eb5e | 2016-10-10 18:54:08 -0700 | [diff] [blame] | 33 | "liblog", |
Prashant Malani | 5e4eb5e | 2016-10-10 18:54:08 -0700 | [diff] [blame] | 34 | "libutils", |
| 35 | "libhardware", |
| 36 | "android.hardware.vibrator@1.0", |
| 37 | ], |
Janis Danisevskis | 397a865 | 2016-10-12 11:17:53 +0100 | [diff] [blame] | 38 | } |
Steven Moreland | fb68682 | 2017-10-04 16:07:57 -0700 | [diff] [blame] | 39 | |
| 40 | cc_binary { |
| 41 | name: "android.hardware.vibrator@1.0-service", |
Chih-Hung Hsieh | ceb435f | 2017-10-04 22:22:46 -0700 | [diff] [blame] | 42 | defaults: ["hidl_defaults"], |
Steven Moreland | fb68682 | 2017-10-04 16:07:57 -0700 | [diff] [blame] | 43 | init_rc: ["android.hardware.vibrator@1.0-service.rc"], |
| 44 | vendor: true, |
| 45 | relative_install_path: "hw", |
| 46 | srcs: ["service.cpp"], |
| 47 | |
| 48 | shared_libs: [ |
| 49 | "libhidlbase", |
Steven Moreland | fb68682 | 2017-10-04 16:07:57 -0700 | [diff] [blame] | 50 | "liblog", |
| 51 | "libutils", |
| 52 | "libhardware", |
| 53 | "android.hardware.vibrator@1.0", |
| 54 | ], |
| 55 | } |