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