blob: ea428554378595299f0691f8a69d7bebff7dab32 [file] [log] [blame]
Colin Cross45a1b9c2017-04-19 16:56:46 -07001// Build the unit tests.
2
3cc_test {
4 name: "inputflinger_tests",
Siarhei Vishniakoua62a8dd2018-06-08 21:17:33 +01005 cpp_std: "c++17",
Colin Cross45a1b9c2017-04-19 16:56:46 -07006 srcs: [
7 "InputReader_test.cpp",
8 "InputDispatcher_test.cpp",
9 ],
Chih-Hung Hsieha50a4672017-10-05 13:55:31 -070010 cflags: [
11 "-Wall",
12 "-Werror",
Siarhei Vishniakou05a8fe22018-10-03 16:38:28 -070013 "-Wextra",
Chih-Hung Hsieha50a4672017-10-05 13:55:31 -070014 "-Wno-unused-parameter",
15 ],
Logan Chien3e60b392018-02-27 16:00:11 +080016 shared_libs: [
Josh Gao12ad9942018-07-20 17:46:59 -070017 "libbase",
Robert Carr803535b2018-08-02 16:38:15 -070018 "libbinder",
Colin Cross45a1b9c2017-04-19 16:56:46 -070019 "libcutils",
20 "liblog",
21 "libutils",
22 "libhardware",
23 "libhardware_legacy",
24 "libui",
Colin Cross45a1b9c2017-04-19 16:56:46 -070025 "libinput",
26 "libinputflinger",
27 "libinputservice",
28 ],
29}