Prabir Pradhan | da7c00c | 2019-08-29 14:12:42 -0700 | [diff] [blame^] | 1 | // Copyright (C) 2019 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_headers { |
| 16 | name: "libinputreader_headers", |
| 17 | export_include_dirs: ["include"], |
| 18 | } |
| 19 | |
| 20 | cc_library_shared { |
| 21 | name: "libinputreader", |
| 22 | defaults: ["inputflinger_defaults"], |
| 23 | |
| 24 | srcs: [ |
| 25 | "EventHub.cpp", |
| 26 | "InputReader.cpp", |
| 27 | "InputReaderFactory.cpp", |
| 28 | "TouchVideoDevice.cpp", |
| 29 | ], |
| 30 | |
| 31 | shared_libs: [ |
| 32 | "libbase", |
| 33 | "libinputflinger_base", |
| 34 | "libcrypto", |
| 35 | "libcutils", |
| 36 | "libinput", |
| 37 | "liblog", |
| 38 | "libui", |
| 39 | "libutils", |
| 40 | "libhardware_legacy", |
| 41 | ], |
| 42 | |
| 43 | header_libs: [ |
| 44 | "libinputflinger_headers", |
| 45 | "libinputreader_headers", |
| 46 | ], |
| 47 | |
| 48 | export_header_lib_headers: [ |
| 49 | "libinputflinger_headers", |
| 50 | ], |
| 51 | } |