summaryrefslogtreecommitdiff
path: root/tests/input/evdev/Android.bp
blob: fa03a0070a103e2b8f6bf3be08c57afc65ccc96b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
cc_test {
    name: "libinput_evdevtests",

    srcs: [
        "BitUtils_test.cpp",
        "InputDevice_test.cpp",
        "InputHub_test.cpp",
        "InputMocks.cpp",
        "MouseInputMapper_test.cpp",
        "SwitchInputMapper_test.cpp",
        "TestHelpers.cpp",
    ],

    static_libs: ["libgmock"],

    shared_libs: [
        "libinput_evdev",
        "liblog",
        "libutils",
    ],

    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
        "-Wno-unused-parameter",

        // TestHelpers uses mktemp. As the path is given to TempFile, we can't do too much
        // here (e.g., use mkdtemp first). At least races will lead to an early failure, as
        // mkfifo fails on existing files.
        "-Wno-deprecated-declarations",
    ],
}