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", |
Prabir Pradhan | 2770d24 | 2019-09-02 18:07:11 -0700 | [diff] [blame] | 17 | export_include_dirs: [ |
| 18 | "include", |
| 19 | "mapper", |
| 20 | "mapper/accumulator", |
| 21 | ], |
Prabir Pradhan | da7c00c | 2019-08-29 14:12:42 -0700 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | cc_library_shared { |
| 25 | name: "libinputreader", |
| 26 | defaults: ["inputflinger_defaults"], |
| 27 | |
| 28 | srcs: [ |
| 29 | "EventHub.cpp", |
Prabir Pradhan | baa5c82 | 2019-08-30 15:27:05 -0700 | [diff] [blame] | 30 | "InputDevice.cpp", |
Prabir Pradhan | 2770d24 | 2019-09-02 18:07:11 -0700 | [diff] [blame] | 31 | "mapper/accumulator/CursorButtonAccumulator.cpp", |
| 32 | "mapper/accumulator/CursorScrollAccumulator.cpp", |
| 33 | "mapper/accumulator/SingleTouchMotionAccumulator.cpp", |
| 34 | "mapper/accumulator/TouchButtonAccumulator.cpp", |
| 35 | "mapper/CursorInputMapper.cpp", |
| 36 | "mapper/ExternalStylusInputMapper.cpp", |
| 37 | "mapper/InputMapper.cpp", |
| 38 | "mapper/JoystickInputMapper.cpp", |
| 39 | "mapper/KeyboardInputMapper.cpp", |
| 40 | "mapper/MultiTouchInputMapper.cpp", |
| 41 | "mapper/RotaryEncoderInputMapper.cpp", |
| 42 | "mapper/SingleTouchInputMapper.cpp", |
| 43 | "mapper/SwitchInputMapper.cpp", |
| 44 | "mapper/TouchInputMapper.cpp", |
| 45 | "mapper/VibratorInputMapper.cpp", |
Prabir Pradhan | da7c00c | 2019-08-29 14:12:42 -0700 | [diff] [blame] | 46 | "InputReader.cpp", |
| 47 | "InputReaderFactory.cpp", |
| 48 | "TouchVideoDevice.cpp", |
Prabir Pradhan | da7c00c | 2019-08-29 14:12:42 -0700 | [diff] [blame] | 49 | ], |
| 50 | |
| 51 | shared_libs: [ |
| 52 | "libbase", |
Siarhei Vishniakou | 7a522bf | 2019-09-24 12:46:29 +0100 | [diff] [blame^] | 53 | "libcap", |
Prabir Pradhan | da7c00c | 2019-08-29 14:12:42 -0700 | [diff] [blame] | 54 | "libinputflinger_base", |
| 55 | "libcrypto", |
| 56 | "libcutils", |
| 57 | "libinput", |
| 58 | "liblog", |
| 59 | "libui", |
| 60 | "libutils", |
| 61 | "libhardware_legacy", |
| 62 | ], |
| 63 | |
| 64 | header_libs: [ |
| 65 | "libinputflinger_headers", |
| 66 | "libinputreader_headers", |
| 67 | ], |
| 68 | |
| 69 | export_header_lib_headers: [ |
| 70 | "libinputflinger_headers", |
| 71 | ], |
| 72 | } |