Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2024)

Unified Diff: android_webview/tools/BUILD.gn

Issue 1545763002: Port android_webview_shell.gyp to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webview-tests-3
Patch Set: add target comments Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/android_webview_shell.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/tools/BUILD.gn
diff --git a/android_webview/tools/BUILD.gn b/android_webview/tools/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..f10f66e455390323011d2b05d13dcfc0e10f9e38
--- /dev/null
+++ b/android_webview/tools/BUILD.gn
@@ -0,0 +1,62 @@
+# Copyright 2015 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")
+
+# Mark all targets as test only.
+testonly = true
+
+group("tools") {
+ deps = [
+ ":system_webview_shell_apk",
+ ":system_webview_shell_layout_test_apk",
+ ":system_webview_shell_page_cycler_apk",
+ ]
+}
+
+# GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_apk
+android_apk("system_webview_shell_apk") {
+ apk_name = "SystemWebViewShell"
+ DEPRECATED_java_in_dir = "WebViewShell/src"
+ android_manifest = "WebViewShell/AndroidManifest.xml"
+ deps = [
+ ":system_webview_shell_apk_resources",
+ "//base:base_java",
+ ]
+}
+
+android_resources("system_webview_shell_apk_resources") {
+ resource_dirs = [ "WebViewShell/res" ]
+ custom_package = "org.chromium.webview_shell"
+}
+
+# GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_page_cycler_apk
+instrumentation_test_apk("system_webview_shell_page_cycler_apk") {
+ apk_name = "SystemWebViewShellPageCycler"
+ apk_under_test = ":system_webview_shell_apk"
+ android_manifest = "PageCycler/AndroidManifest.xml"
+ DEPRECATED_java_in_dir = "PageCycler/src"
+ deps = [
+ "//base:base_java",
+ "//base:base_java_test_support",
+ "//content/public/android:content_java",
+ "//content/public/test/android:content_java_test_support",
+ "//testing/android/reporter:reporter_java",
+ ]
+}
+
+# GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_layout_test_apk
+instrumentation_test_apk("system_webview_shell_layout_test_apk") {
+ apk_name = "SystemWebViewShellLayoutTest"
+ apk_under_test = ":system_webview_shell_apk"
+ android_manifest = "WebViewShellTest/AndroidManifest.xml"
+ DEPRECATED_java_in_dir = "WebViewShellTest/src"
+ isolate_file = "../system_webview_shell_test_apk.isolate"
+ deps = [
+ "//base:base_java",
+ "//base:base_java_test_support",
+ "//testing/android/reporter:reporter_java",
+ ]
+}
« no previous file with comments | « android_webview/android_webview_shell.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698