blob: a1cd71ca9d6821f6cb31e3026b38b56df734dd91 [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",
Colin Cross45a1b9c2017-04-19 16:56:46 -070018 "libcutils",
19 "liblog",
20 "libutils",
21 "libhardware",
22 "libhardware_legacy",
23 "libui",
Colin Cross45a1b9c2017-04-19 16:56:46 -070024 "libinput",
25 "libinputflinger",
26 "libinputservice",
27 ],
28}