blob: 1835449b5d3e784cb316e56677ec951fd389ca76 [file] [log] [blame]
Colin Cross45a1b9c2017-04-19 16:56:46 -07001// Build the unit tests.
2
3cc_test {
4 name: "inputflinger_tests",
5 srcs: [
Siarhei Vishniakou473174e2017-12-27 16:44:42 -08006 "BlockingQueue_test.cpp",
7 "TestInputListener.cpp",
8 "InputClassifier_test.cpp",
Colin Cross45a1b9c2017-04-19 16:56:46 -07009 "InputDispatcher_test.cpp",
Siarhei Vishniakou473174e2017-12-27 16:44:42 -080010 "InputReader_test.cpp",
Colin Cross45a1b9c2017-04-19 16:56:46 -070011 ],
Chih-Hung Hsieha50a4672017-10-05 13:55:31 -070012 cflags: [
13 "-Wall",
14 "-Werror",
Siarhei Vishniakou05a8fe22018-10-03 16:38:28 -070015 "-Wextra",
Chih-Hung Hsieha50a4672017-10-05 13:55:31 -070016 "-Wno-unused-parameter",
17 ],
Logan Chien3e60b392018-02-27 16:00:11 +080018 shared_libs: [
Siarhei Vishniakou473174e2017-12-27 16:44:42 -080019 "android.hardware.input.classifier@1.0",
Josh Gao12ad9942018-07-20 17:46:59 -070020 "libbase",
Robert Carr803535b2018-08-02 16:38:15 -070021 "libbinder",
Colin Cross45a1b9c2017-04-19 16:56:46 -070022 "libcutils",
23 "liblog",
24 "libutils",
25 "libhardware",
26 "libhardware_legacy",
27 "libui",
Colin Cross45a1b9c2017-04-19 16:56:46 -070028 "libinput",
29 "libinputflinger",
Prabir Pradhan29c95332018-11-14 20:14:11 -080030 "libinputreader",
31 "libinputflinger_base",
Colin Cross45a1b9c2017-04-19 16:56:46 -070032 "libinputservice",
33 ],
34}