blob: 7b307651d5335f91c7dc1247cc73d6d105aae0e3 [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",
17 export_include_dirs: ["include"],
18}
19
20cc_library_shared {
21 name: "libinputreader",
22 defaults: ["inputflinger_defaults"],
23
24 srcs: [
Prabir Pradhanbaa5c822019-08-30 15:27:05 -070025 "CursorButtonAccumulator.cpp",
26 "CursorInputMapper.cpp",
27 "CursorScrollAccumulator.cpp",
Prabir Pradhanda7c00c2019-08-29 14:12:42 -070028 "EventHub.cpp",
Prabir Pradhanbaa5c822019-08-30 15:27:05 -070029 "ExternalStylusInputMapper.cpp",
30 "InputDevice.cpp",
31 "InputMapper.cpp",
Prabir Pradhanda7c00c2019-08-29 14:12:42 -070032 "InputReader.cpp",
33 "InputReaderFactory.cpp",
Prabir Pradhanbaa5c822019-08-30 15:27:05 -070034 "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 Pradhanda7c00c2019-08-29 14:12:42 -070043 "TouchVideoDevice.cpp",
Prabir Pradhanbaa5c822019-08-30 15:27:05 -070044 "VibratorInputMapper.cpp",
Prabir Pradhanda7c00c2019-08-29 14:12:42 -070045 ],
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}