summaryrefslogtreecommitdiffstats
path: root/chromium/android_webview/tools/automated_ui_tests/BUILD.gn
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-01-04 14:17:57 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-01-05 10:05:06 +0000
commit39d357e3248f80abea0159765ff39554affb40db (patch)
treeaba0e6bfb76de0244bba0f5fdbd64b830dd6e621 /chromium/android_webview/tools/automated_ui_tests/BUILD.gn
parent87778abf5a1f89266f37d1321b92a21851d8244d (diff)
BASELINE: Update Chromium to 55.0.2883.105
And updates ninja to 1.7.2 Change-Id: I20d43c737f82764d857ada9a55586901b18b9243 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/android_webview/tools/automated_ui_tests/BUILD.gn')
-rw-r--r--chromium/android_webview/tools/automated_ui_tests/BUILD.gn56
1 files changed, 56 insertions, 0 deletions
diff --git a/chromium/android_webview/tools/automated_ui_tests/BUILD.gn b/chromium/android_webview/tools/automated_ui_tests/BUILD.gn
new file mode 100644
index 00000000000..07d6d364775
--- /dev/null
+++ b/chromium/android_webview/tools/automated_ui_tests/BUILD.gn
@@ -0,0 +1,56 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/android/rules.gni")
+import("//testing/test.gni")
+
+group("webview_ui_test_app") {
+ testonly = true
+ deps = [
+ ":webview_ui_test_app_apk",
+ ":webview_ui_test_app_test_apk",
+ ]
+}
+
+android_apk("webview_ui_test_app_apk") {
+ apk_name = "WebViewUiTestApp"
+ android_manifest = "java/AndroidManifest.xml"
+ deps = [
+ ":webview_ui_test_app_apk_resources",
+ ":webview_ui_test_app_java",
+ ]
+}
+
+android_library("webview_ui_test_app_java") {
+ java_files =
+ [ "java/src/org/chromium/webview_ui_test/WebViewUiTestActivity.java" ]
+ deps = [
+ ":webview_ui_test_app_apk_resources",
+ "//base:base_java",
+ ]
+}
+
+android_resources("webview_ui_test_app_apk_resources") {
+ resource_dirs = [ "java/res" ]
+ custom_package = "org.chromium.webview_ui_test"
+}
+
+instrumentation_test_apk("webview_ui_test_app_test_apk") {
+ apk_name = "WebViewUiTestAppTest"
+ android_manifest = "javatests/AndroidManifest.xml"
+ java_files = [
+ "javatests/src/org/chromium/webview_ui_test/test/LoadDataTest.java",
+ "javatests/src/org/chromium/webview_ui_test/test/WebViewTestBase.java",
+ ]
+ deps = [
+ ":webview_ui_test_app_apk_resources",
+ ":webview_ui_test_app_java",
+ "//third_party/android_support_test_runner:runner_java",
+ "//third_party/ub-uiautomator:ub_uiautomator_java",
+ ]
+ data_deps = [
+ ":webview_ui_test_app_apk",
+ ]
+ apk_under_test = ":webview_ui_test_app_apk"
+}