Colin Cross | 45a1b9c | 2017-04-19 16:56:46 -0700 | [diff] [blame] | 1 | // Build the unit tests. |
| 2 | |
| 3 | cc_test { |
| 4 | name: "inputflinger_tests", |
| 5 | srcs: [ |
Siarhei Vishniakou | 473174e | 2017-12-27 16:44:42 -0800 | [diff] [blame] | 6 | "BlockingQueue_test.cpp", |
Siarhei Vishniakou | 8588cc9 | 2018-12-12 18:17:58 -0800 | [diff] [blame] | 7 | "EventHub_test.cpp", |
Siarhei Vishniakou | 473174e | 2017-12-27 16:44:42 -0800 | [diff] [blame] | 8 | "TestInputListener.cpp", |
| 9 | "InputClassifier_test.cpp", |
Siarhei Vishniakou | a47a4d4 | 2019-05-06 17:14:11 -0700 | [diff] [blame] | 10 | "InputClassifierConverter_test.cpp", |
Colin Cross | 45a1b9c | 2017-04-19 16:56:46 -0700 | [diff] [blame] | 11 | "InputDispatcher_test.cpp", |
Siarhei Vishniakou | 473174e | 2017-12-27 16:44:42 -0800 | [diff] [blame] | 12 | "InputReader_test.cpp", |
Colin Cross | 45a1b9c | 2017-04-19 16:56:46 -0700 | [diff] [blame] | 13 | ], |
Chih-Hung Hsieh | a50a467 | 2017-10-05 13:55:31 -0700 | [diff] [blame] | 14 | cflags: [ |
| 15 | "-Wall", |
| 16 | "-Werror", |
Siarhei Vishniakou | 05a8fe2 | 2018-10-03 16:38:28 -0700 | [diff] [blame] | 17 | "-Wextra", |
Chih-Hung Hsieh | a50a467 | 2017-10-05 13:55:31 -0700 | [diff] [blame] | 18 | "-Wno-unused-parameter", |
Prabir Pradhan | 2574dfa | 2019-10-16 16:35:07 -0700 | [diff] [blame] | 19 | "-Wthread-safety", |
Chih-Hung Hsieh | a50a467 | 2017-10-05 13:55:31 -0700 | [diff] [blame] | 20 | ], |
Logan Chien | 3e60b39 | 2018-02-27 16:00:11 +0800 | [diff] [blame] | 21 | shared_libs: [ |
Siarhei Vishniakou | 473174e | 2017-12-27 16:44:42 -0800 | [diff] [blame] | 22 | "android.hardware.input.classifier@1.0", |
Josh Gao | 12ad994 | 2018-07-20 17:46:59 -0700 | [diff] [blame] | 23 | "libbase", |
Robert Carr | 803535b | 2018-08-02 16:38:15 -0700 | [diff] [blame] | 24 | "libbinder", |
Colin Cross | 45a1b9c | 2017-04-19 16:56:46 -0700 | [diff] [blame] | 25 | "libcutils", |
| 26 | "liblog", |
| 27 | "libutils", |
| 28 | "libhardware", |
| 29 | "libhardware_legacy", |
| 30 | "libui", |
Colin Cross | 45a1b9c | 2017-04-19 16:56:46 -0700 | [diff] [blame] | 31 | "libinput", |
| 32 | "libinputflinger", |
Prabir Pradhan | 29c9533 | 2018-11-14 20:14:11 -0800 | [diff] [blame] | 33 | "libinputreader", |
| 34 | "libinputflinger_base", |
Colin Cross | 45a1b9c | 2017-04-19 16:56:46 -0700 | [diff] [blame] | 35 | "libinputservice", |
| 36 | ], |
Prabir Pradhan | da7c00c | 2019-08-29 14:12:42 -0700 | [diff] [blame] | 37 | header_libs: [ |
| 38 | "libinputreader_headers", |
| 39 | ], |
Siarhei Vishniakou | 8588cc9 | 2018-12-12 18:17:58 -0800 | [diff] [blame] | 40 | require_root: true, |
Colin Cross | 45a1b9c | 2017-04-19 16:56:46 -0700 | [diff] [blame] | 41 | } |