blob: ada22663332357a05f707c6d44fb6789eaad4ca0 [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",
Siarhei Vishniakoua47a4d42019-05-06 17:14:11 -07009 "InputClassifierConverter_test.cpp",
Colin Cross45a1b9c2017-04-19 16:56:46 -070010 "InputDispatcher_test.cpp",
Siarhei Vishniakou473174e2017-12-27 16:44:42 -080011 "InputReader_test.cpp",
Colin Cross45a1b9c2017-04-19 16:56:46 -070012 ],
Chih-Hung Hsieha50a4672017-10-05 13:55:31 -070013 cflags: [
14 "-Wall",
15 "-Werror",
Siarhei Vishniakou05a8fe22018-10-03 16:38:28 -070016 "-Wextra",
Chih-Hung Hsieha50a4672017-10-05 13:55:31 -070017 "-Wno-unused-parameter",
Prabir Pradhan2574dfa2019-10-16 16:35:07 -070018 "-Wthread-safety",
Chih-Hung Hsieha50a4672017-10-05 13:55:31 -070019 ],
Logan Chien3e60b392018-02-27 16:00:11 +080020 shared_libs: [
Siarhei Vishniakou473174e2017-12-27 16:44:42 -080021 "android.hardware.input.classifier@1.0",
Josh Gao12ad9942018-07-20 17:46:59 -070022 "libbase",
Robert Carr803535b2018-08-02 16:38:15 -070023 "libbinder",
Colin Cross45a1b9c2017-04-19 16:56:46 -070024 "libcutils",
25 "liblog",
26 "libutils",
27 "libhardware",
28 "libhardware_legacy",
29 "libui",
Colin Cross45a1b9c2017-04-19 16:56:46 -070030 "libinput",
31 "libinputflinger",
Prabir Pradhan29c95332018-11-14 20:14:11 -080032 "libinputreader",
33 "libinputflinger_base",
Colin Cross45a1b9c2017-04-19 16:56:46 -070034 "libinputservice",
35 ],
Prabir Pradhanda7c00c2019-08-29 14:12:42 -070036 header_libs: [
37 "libinputreader_headers",
38 ],
Colin Cross45a1b9c2017-04-19 16:56:46 -070039}