blob: 10fa1461d282c4083435cb0892c21252c35152f6 [file] [log] [blame]
Bob Badourd7984cc2021-02-12 20:51:13 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "hardware_libhardware_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_libhardware_license"],
8}
9
Dan Willemsen86e247a2017-12-18 21:10:37 -080010cc_test {
11 name: "libinput_evdevtests",
12
13 srcs: [
14 "BitUtils_test.cpp",
15 "InputDevice_test.cpp",
16 "InputHub_test.cpp",
17 "InputMocks.cpp",
18 "MouseInputMapper_test.cpp",
19 "SwitchInputMapper_test.cpp",
20 "TestHelpers.cpp",
21 ],
22
23 static_libs: ["libgmock"],
24
25 shared_libs: [
26 "libinput_evdev",
27 "liblog",
28 "libutils",
29 ],
30
31 cflags: [
32 "-Wall",
33 "-Wextra",
34 "-Werror",
35 "-Wno-unused-parameter",
36
37 // TestHelpers uses mktemp. As the path is given to TempFile, we can't do too much
38 // here (e.g., use mkdtemp first). At least races will lead to an early failure, as
39 // mkfifo fails on existing files.
40 "-Wno-deprecated-declarations",
41 ],
42}