blob: 3c1607096e24c2fa658d3ea839d3d869c5a21ac4 [file] [log] [blame]
Prabir Pradhanda7c00c2019-08-29 14:12:42 -07001// 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
15cc_library_headers {
16 name: "libinputreader_headers",
Prabir Pradhan2770d242019-09-02 18:07:11 -070017 export_include_dirs: [
18 "include",
19 "mapper",
20 "mapper/accumulator",
21 ],
Prabir Pradhanda7c00c2019-08-29 14:12:42 -070022}
23
24cc_library_shared {
25 name: "libinputreader",
26 defaults: ["inputflinger_defaults"],
27
28 srcs: [
29 "EventHub.cpp",
Prabir Pradhanbaa5c822019-08-30 15:27:05 -070030 "InputDevice.cpp",
Prabir Pradhan2770d242019-09-02 18:07:11 -070031 "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 Pradhanda7c00c2019-08-29 14:12:42 -070046 "InputReader.cpp",
47 "InputReaderFactory.cpp",
48 "TouchVideoDevice.cpp",
Prabir Pradhanda7c00c2019-08-29 14:12:42 -070049 ],
50
51 shared_libs: [
52 "libbase",
Siarhei Vishniakou7a522bf2019-09-24 12:46:29 +010053 "libcap",
Prabir Pradhanda7c00c2019-08-29 14:12:42 -070054 "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}