summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-02-28 14:07:41 -0800
committer Siarhei Vishniakou <svv@google.com> 2023-02-28 22:11:19 +0000
commit14bcc3df4201830714c337e172c258c992547cea (patch)
tree09905fc09901863549b707ae9b5582acf6072d35
parente17c4398f97778915f84f9297c4e156304764e75 (diff)
Enable ubsan in inputflinger_tests
To ensure correctness, let's enable ubsan checker. Starting with just our inputflinger tests first. Bug: 251249010 Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests Change-Id: Id340838fc87a5250ca131bd16023d8476cdec55d
-rw-r--r--services/inputflinger/tests/Android.bp7
1 files changed, 7 insertions, 0 deletions
diff --git a/services/inputflinger/tests/Android.bp b/services/inputflinger/tests/Android.bp
index af40fed51d..97138c73c0 100644
--- a/services/inputflinger/tests/Android.bp
+++ b/services/inputflinger/tests/Android.bp
@@ -86,6 +86,13 @@ cc_test {
],
},
},
+ sanitize: {
+ undefined: true,
+ all_undefined: true,
+ diag: {
+ undefined: true,
+ },
+ },
static_libs: [
"libc++fs",
"libgmock",