blob: ed750b453b3d3efdf7d99c63feb76d0911adf886 [file] [log] [blame]
Prashant Malani5e4eb5e2016-10-10 18:54:08 -07001//
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 Morelanda0da1a12017-02-13 09:59:06 -080015
Bob Badourc22b35b2021-02-23 14:26:20 -080016package {
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 Malani5e4eb5e2016-10-10 18:54:08 -070025cc_library_shared {
26 name: "android.hardware.vibrator@1.0-impl",
Steven Moreland48c52242017-03-08 16:11:32 -080027 defaults: ["hidl_defaults"],
Steven Morelandfb686822017-10-04 16:07:57 -070028 vendor: true,
Prashant Malani5e4eb5e2016-10-10 18:54:08 -070029 relative_install_path: "hw",
30 srcs: ["Vibrator.cpp"],
31 shared_libs: [
Yifan Hong6b920e42016-11-16 14:17:58 -080032 "libhidlbase",
Prashant Malani5e4eb5e2016-10-10 18:54:08 -070033 "liblog",
Prashant Malani5e4eb5e2016-10-10 18:54:08 -070034 "libutils",
35 "libhardware",
36 "android.hardware.vibrator@1.0",
37 ],
Janis Danisevskis397a8652016-10-12 11:17:53 +010038}
Steven Morelandfb686822017-10-04 16:07:57 -070039
40cc_binary {
41 name: "android.hardware.vibrator@1.0-service",
Chih-Hung Hsiehceb435f2017-10-04 22:22:46 -070042 defaults: ["hidl_defaults"],
Steven Morelandfb686822017-10-04 16:07:57 -070043 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 Morelandfb686822017-10-04 16:07:57 -070050 "liblog",
51 "libutils",
52 "libhardware",
53 "android.hardware.vibrator@1.0",
54 ],
55}