Skip to content

Commit 19a57c0

Browse files
Treehugger RobotAndroid (Google) Code Review
authored andcommitted
Merge "Add diag for inputflinger tests" into main
2 parents aa93961 + f755b7b commit 19a57c0

1 file changed

Lines changed: 16 additions & 9 deletions

File tree

services/inputflinger/tests/Android.bp

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ cc_test {
4040
// defaults rather than including them as shared or static libraries. By doing so, the tests
4141
// will always run against the compiled version of the inputflinger code rather than the
4242
// version on the device.
43+
"libinputdispatcher_defaults",
4344
"libinputflinger_base_defaults",
45+
"libinputflinger_defaults",
4446
"libinputreader_defaults",
4547
"libinputreporter_defaults",
46-
"libinputdispatcher_defaults",
47-
"libinputflinger_defaults",
4848
],
4949
srcs: [
5050
":inputdispatcher_common_test_sources",
@@ -63,16 +63,18 @@ cc_test {
6363
"HardwareStateConverter_test.cpp",
6464
"InputDeviceMetricsCollector_test.cpp",
6565
"InputDeviceMetricsSource_test.cpp",
66+
"InputDispatcher_test.cpp",
6667
"InputMapperTest.cpp",
67-
"InputProcessor_test.cpp",
6868
"InputProcessorConverter_test.cpp",
69-
"InputDispatcher_test.cpp",
69+
"InputProcessor_test.cpp",
7070
"InputReader_test.cpp",
7171
"InputTraceSession.cpp",
7272
"InputTracingTest.cpp",
7373
"InstrumentedInputReader.cpp",
7474
"JoystickInputMapper_test.cpp",
75+
"KeyboardInputMapper_test.cpp",
7576
"LatencyTracker_test.cpp",
77+
"MultiTouchInputMapper_test.cpp",
7678
"MultiTouchMotionAccumulator_test.cpp",
7779
"NotifyArgs_test.cpp",
7880
"PointerChoreographer_test.cpp",
@@ -83,14 +85,12 @@ cc_test {
8385
"SlopController_test.cpp",
8486
"SwitchInputMapper_test.cpp",
8587
"SyncQueue_test.cpp",
86-
"TimerProvider_test.cpp",
8788
"TestInputListener.cpp",
89+
"TimerProvider_test.cpp",
8890
"TouchpadInputMapper_test.cpp",
89-
"VibratorInputMapper_test.cpp",
90-
"MultiTouchInputMapper_test.cpp",
91-
"KeyboardInputMapper_test.cpp",
9291
"UinputDevice.cpp",
9392
"UnwantedInteractionBlocker_test.cpp",
93+
"VibratorInputMapper_test.cpp",
9494
],
9595
aidl: {
9696
include_dirs: [
@@ -110,7 +110,14 @@ cc_test {
110110
undefined: true,
111111
all_undefined: true,
112112
diag: {
113+
cfi: true,
114+
integer_overflow: true,
115+
memtag_heap: true,
113116
undefined: true,
117+
misc_undefined: [
118+
"all",
119+
"bounds",
120+
],
114121
},
115122
},
116123
static_libs: [
@@ -122,8 +129,8 @@ cc_test {
122129
unit_test: true,
123130
},
124131
test_suites: [
125-
"device-tests",
126132
"device-platinum-tests",
133+
"device-tests",
127134
],
128135
native_coverage: false,
129136
}

0 commit comments

Comments
 (0)