Home | History | Annotate | Download | only in evdev
      1 cc_test {
      2     name: "libinput_evdevtests",
      3 
      4     srcs: [
      5         "BitUtils_test.cpp",
      6         "InputDevice_test.cpp",
      7         "InputHub_test.cpp",
      8         "InputMocks.cpp",
      9         "MouseInputMapper_test.cpp",
     10         "SwitchInputMapper_test.cpp",
     11         "TestHelpers.cpp",
     12     ],
     13 
     14     static_libs: ["libgmock"],
     15 
     16     shared_libs: [
     17         "libinput_evdev",
     18         "liblog",
     19         "libutils",
     20     ],
     21 
     22     cflags: [
     23         "-Wall",
     24         "-Wextra",
     25         "-Werror",
     26         "-Wno-unused-parameter",
     27 
     28         // TestHelpers uses mktemp. As the path is given to TempFile, we can't do too much
     29         // here (e.g., use mkdtemp first). At least races will lead to an early failure, as
     30         // mkfifo fails on existing files.
     31         "-Wno-deprecated-declarations",
     32     ],
     33 }
     34