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

Side by Side Diff: android_webview/tools/webview_shell/BUILD.gn

Issue 1785283005: [WebView] Reorganize all of the WebView Shell apks into their own dir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update path in run_tests.sh Created 4 years, 9 months 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 # Mark all targets as test only. 8 # Mark all targets as test only.
9 testonly = true 9 testonly = true
10 10
11 group("tools") { 11 group("webview_shell") {
12 deps = [ 12 deps = [
13 ":system_webview_shell_apk", 13 ":system_webview_shell_apk",
14 ":system_webview_shell_layout_test_apk", 14 ":system_webview_shell_layout_test_apk",
15 ":system_webview_shell_page_cycler_apk", 15 ":system_webview_shell_page_cycler_apk",
16 ] 16 ]
17 } 17 }
18 18
19 # GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_apk 19 # GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_apk
20 android_apk("system_webview_shell_apk") { 20 android_apk("system_webview_shell_apk") {
21 apk_name = "SystemWebViewShell" 21 apk_name = "SystemWebViewShell"
22 DEPRECATED_java_in_dir = "WebViewShell/src" 22 java_files = [
23 "WebViewShell/src/org/chromium/webview_shell/JankActivity.java",
24 "WebViewShell/src/org/chromium/webview_shell/PageCyclerTestActivity.java",
25 "WebViewShell/src/org/chromium/webview_shell/StartupTimeActivity.java",
26 "WebViewShell/src/org/chromium/webview_shell/TelemetryActivity.java",
27 "WebViewShell/src/org/chromium/webview_shell/TelemetryMemoryPressureActivity .java",
28 "WebViewShell/src/org/chromium/webview_shell/WebViewBrowserActivity.java",
29 "WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTestActivity.java" ,
30 ]
23 android_manifest = "WebViewShell/AndroidManifest.xml" 31 android_manifest = "WebViewShell/AndroidManifest.xml"
24 deps = [ 32 deps = [
25 ":system_webview_shell_apk_resources", 33 ":system_webview_shell_apk_resources",
26 "//base:base_java", 34 "//base:base_java",
27 ] 35 ]
28 } 36 }
29 37
30 android_resources("system_webview_shell_apk_resources") { 38 android_resources("system_webview_shell_apk_resources") {
31 resource_dirs = [ "WebViewShell/res" ] 39 resource_dirs = [ "WebViewShell/res" ]
32 custom_package = "org.chromium.webview_shell" 40 custom_package = "org.chromium.webview_shell"
33 } 41 }
34 42
35 # GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_page_cy cler_apk 43 # GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_page_cy cler_apk
36 instrumentation_test_apk("system_webview_shell_page_cycler_apk") { 44 instrumentation_test_apk("system_webview_shell_page_cycler_apk") {
37 apk_name = "SystemWebViewShellPageCycler" 45 apk_name = "SystemWebViewShellPageCycler"
38 apk_under_test = ":system_webview_shell_apk" 46 apk_under_test = ":system_webview_shell_apk"
39 android_manifest = "PageCycler/AndroidManifest.xml" 47 android_manifest = "PageCycler/AndroidManifest.xml"
40 DEPRECATED_java_in_dir = "PageCycler/src" 48 java_files = [
49 "PageCycler/src/org/chromium/webview_shell/page_cycler/PageCyclerTest.java",
50 "PageCycler/src/org/chromium/webview_shell/page_cycler/WebViewPageCyclerTest Runner.java",
51 ]
41 deps = [ 52 deps = [
42 "//base:base_java", 53 "//base:base_java",
43 "//base:base_java_test_support", 54 "//base:base_java_test_support",
44 "//content/public/android:content_java", 55 "//content/public/android:content_java",
45 "//content/public/test/android:content_java_test_support", 56 "//content/public/test/android:content_java_test_support",
46 "//testing/android/reporter:reporter_java", 57 "//testing/android/reporter:reporter_java",
47 ] 58 ]
48 } 59 }
49 60
50 # GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_layout_ test_apk 61 # GYP: //android_webview/android_webview_shell.gypi:system_webview_shell_layout_ test_apk
51 instrumentation_test_apk("system_webview_shell_layout_test_apk") { 62 instrumentation_test_apk("system_webview_shell_layout_test_apk") {
52 apk_name = "SystemWebViewShellLayoutTest" 63 apk_name = "SystemWebViewShellLayoutTest"
53 apk_under_test = ":system_webview_shell_apk" 64 apk_under_test = ":system_webview_shell_apk"
54 android_manifest = "WebViewShellTest/AndroidManifest.xml" 65 android_manifest = "LayoutTests/AndroidManifest.xml"
55 DEPRECATED_java_in_dir = "WebViewShellTest/src" 66 java_files = [
56 isolate_file = "../system_webview_shell_test_apk.isolate" 67 "LayoutTests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java",
68 "LayoutTests/src/org/chromium/webview_shell/test/WebViewLayoutTestRunner.jav a",
69 ]
70 isolate_file = "../../system_webview_shell_test_apk.isolate"
57 deps = [ 71 deps = [
58 "//base:base_java", 72 "//base:base_java",
59 "//base:base_java_test_support", 73 "//base:base_java_test_support",
60 "//testing/android/reporter:reporter_java", 74 "//testing/android/reporter:reporter_java",
61 ] 75 ]
62 } 76 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698