blob: 1681fe2fcf8163d7e7953ac70aba8f396d2d11f1 [file] [log] [blame]
Michael Wright3fee95e2018-12-12 19:51:26 +00001// Copyright (C) 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15cc_library_shared {
16 name: "libvibrator",
jiabin06871bb2020-06-30 21:27:52 -070017 vendor_available: true,
18 double_loadable: true,
Michael Wright3fee95e2018-12-12 19:51:26 +000019
20 shared_libs: [
21 "libbinder",
22 "liblog",
23 "libutils",
24 ],
25
26 header_libs: [
27 "libaudio_system_headers",
28 ],
29
30 aidl: {
31 include_dirs: ["frameworks/base/core/java"],
32 local_include_dirs: ["include/"],
33 export_aidl_headers: true,
34 },
35
36 srcs: [
37 ":libvibrator_aidl",
38 "*.cpp",
39 ],
40
41 cflags: [
42 "-Wall",
43 "-Werror",
44 "-Wno-missing-field-initializers",
45 "-Wno-unused-variable",
46 "-Wno-unused-parameter",
47 ],
48
49 export_include_dirs: ["include"],
50}