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: [ |
Prabir Pradhan | baa5c82 | 2019-08-30 15:27:05 -0700 | [diff] [blame^] | 25 | "CursorButtonAccumulator.cpp", |
| 26 | "CursorInputMapper.cpp", |
| 27 | "CursorScrollAccumulator.cpp", |
Prabir Pradhan | da7c00c | 2019-08-29 14:12:42 -0700 | [diff] [blame] | 28 | "EventHub.cpp", |
Prabir Pradhan | baa5c82 | 2019-08-30 15:27:05 -0700 | [diff] [blame^] | 29 | "ExternalStylusInputMapper.cpp", |
| 30 | "InputDevice.cpp", |
| 31 | "InputMapper.cpp", |
Prabir Pradhan | da7c00c | 2019-08-29 14:12:42 -0700 | [diff] [blame] | 32 | "InputReader.cpp", |
| 33 | "InputReaderFactory.cpp", |
Prabir Pradhan | baa5c82 | 2019-08-30 15:27:05 -0700 | [diff] [blame^] | 34 | "JoystickInputMapper.cpp", |
| 35 | "KeyboardInputMapper.cpp", |
| 36 | "MultiTouchInputMapper.cpp", |
| 37 | "RotaryEncoderInputMapper.cpp", |
| 38 | "SingleTouchInputMapper.cpp", |
| 39 | "SingleTouchMotionAccumulator.cpp", |
| 40 | "SwitchInputMapper.cpp", |
| 41 | "TouchButtonAccumulator.cpp", |
| 42 | "TouchInputMapper.cpp", |
Prabir Pradhan | da7c00c | 2019-08-29 14:12:42 -0700 | [diff] [blame] | 43 | "TouchVideoDevice.cpp", |
Prabir Pradhan | baa5c82 | 2019-08-30 15:27:05 -0700 | [diff] [blame^] | 44 | "VibratorInputMapper.cpp", |
Prabir Pradhan | da7c00c | 2019-08-29 14:12:42 -0700 | [diff] [blame] | 45 | ], |
| 46 | |
| 47 | shared_libs: [ |
| 48 | "libbase", |
| 49 | "libinputflinger_base", |
| 50 | "libcrypto", |
| 51 | "libcutils", |
| 52 | "libinput", |
| 53 | "liblog", |
| 54 | "libui", |
| 55 | "libutils", |
| 56 | "libhardware_legacy", |
| 57 | ], |
| 58 | |
| 59 | header_libs: [ |
| 60 | "libinputflinger_headers", |
| 61 | "libinputreader_headers", |
| 62 | ], |
| 63 | |
| 64 | export_header_lib_headers: [ |
| 65 | "libinputflinger_headers", |
| 66 | ], |
| 67 | } |