Michael Wright | 3fee95e | 2018-12-12 19:51:26 +0000 | [diff] [blame] | 1 | // 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 | |
| 15 | cc_library_shared { |
| 16 | name: "libvibrator", |
jiabin | 06871bb | 2020-06-30 21:27:52 -0700 | [diff] [blame] | 17 | vendor_available: true, |
| 18 | double_loadable: true, |
Michael Wright | 3fee95e | 2018-12-12 19:51:26 +0000 | [diff] [blame] | 19 | |
| 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 | } |