blob: a64f4ddc475bbfff5a7408d1d81ab0c8b8eddd76 [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",
53 "libinputflinger_base",
54 "libcrypto",
55 "libcutils",
56 "libinput",
57 "liblog",
58 "libui",
59 "libutils",
60 "libhardware_legacy",
61 ],
62
63 header_libs: [
64 "libinputflinger_headers",
65 "libinputreader_headers",
66 ],
67
68 export_header_lib_headers: [
69 "libinputflinger_headers",
70 ],
71}