Android.bp revision e390826e3871b68c6a282eef71d8f92bc7758378
1// 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: [
26        "-O0",
27    ],
28}
29