summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yifeng Zeng <yifengzeng@google.com> 2024-09-16 18:16:07 +0000
committer Yifeng Zeng <yifengzeng@google.com> 2024-09-16 18:16:33 +0000
commitdf9edb352d137f0b6725e588bc1bd18e09214e86 (patch)
tree46e09197d2b0996bd17e1affeb2b788acc395048
parent915b3152b08d9450b95d9a649731eb26ef4f35ae (diff)
Disable native coverage for libinput_tests and inputflinger_tests.
These tests fail to build for coverage when Rust host coverage is enabled. This is a temporary workaround until the underlying issue is resolved. Submit in git_main to backport to aosp-main with aosp/3070043 Flag: TEST_ONLY Bug: 338242594 Bug: 330591720 Change-Id: Idf82d31ce8a7078c3502b7bcb7c959177a1bbe4e
-rw-r--r--libs/input/tests/Android.bp1
-rw-r--r--services/inputflinger/tests/Android.bp1
2 files changed, 2 insertions, 0 deletions
diff --git a/libs/input/tests/Android.bp b/libs/input/tests/Android.bp
index 43bc8948dd..3ec167a288 100644
--- a/libs/input/tests/Android.bp
+++ b/libs/input/tests/Android.bp
@@ -95,6 +95,7 @@ cc_test {
},
},
},
+ native_coverage: false,
}
// NOTE: This is a compile time test, and does not need to be
diff --git a/services/inputflinger/tests/Android.bp b/services/inputflinger/tests/Android.bp
index 95283ba6ab..744cf4a514 100644
--- a/services/inputflinger/tests/Android.bp
+++ b/services/inputflinger/tests/Android.bp
@@ -123,4 +123,5 @@ cc_test {
"device-tests",
"device-platinum-tests",
],
+ native_coverage: false,
}