Add TEST_MAPPING to run WebView CTS/GTS tests in presubmit.
Bug: 173406791
Test: cd frameworks/base/core/java/android/webkit && atest --test-mapping
Change-Id: Ic75336a7067faf2c9ec10c8b7089eee48b2ec89d
diff --git a/native/webview/TEST_MAPPING b/native/webview/TEST_MAPPING
new file mode 100644
index 0000000..bd25200
--- /dev/null
+++ b/native/webview/TEST_MAPPING
@@ -0,0 +1,36 @@
+{
+ "presubmit": [
+ {
+ "name": "CtsWebkitTestCases",
+ "options": [
+ {
+ "exclude-annotation": "androidx.test.filters.FlakyTest"
+ }
+ ]
+ },
+ {
+ "name": "CtsHostsideWebViewTests",
+ "options": [
+ {
+ "exclude-annotation": "androidx.test.filters.FlakyTest"
+ }
+ ]
+ },
+ {
+ "name": "GtsWebViewTestCases",
+ "options": [
+ {
+ "exclude-annotation": "android.test.FlakyTest"
+ }
+ ]
+ },
+ {
+ "name": "GtsWebViewHostTestCases",
+ "options": [
+ {
+ "exclude-annotation": "android.test.FlakyTest"
+ }
+ ]
+ }
+ ]
+}