blob: 029a42091e8f9e8a57448e415b751ef04eafbf8d [file] [log] [blame]
Dan Willemsenc7dd2b92016-08-25 17:05:22 -07001// Build the unit tests.
2cc_test {
3 name: "libinput_tests",
4 test_per_src: true,
5 srcs: [
6 "InputChannel_test.cpp",
7 "InputEvent_test.cpp",
8 "InputPublisherAndConsumer_test.cpp",
9 ],
10 shared_libs: [
11 "libinput",
12 "libcutils",
13 "libutils",
14 "libbinder",
15 "libui",
16 ]
17}
18
19// NOTE: This is a compile time test, and does not need to be
20// run. All assertions are static_asserts and will fail during
21// buildtime if something's wrong.
22cc_library_static {
23 name: "StructLayout_test",
24 srcs: ["StructLayout_test.cpp"],
25 cflags: [
Dan Willemsenc7dd2b92016-08-25 17:05:22 -070026 "-O0",
27 ],
28}