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

Side by Side Diff: android_webview/android_webview_shell.gyp

Issue 1364593002: Refactor android_webview_shell and its tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 'targets': [ 5 'targets': [
6 { 6 {
7 'target_name': 'android_webview_shell_apk', 7 'target_name': 'android_webview_shell_apk',
8 'type': 'none', 8 'type': 'none',
9 'dependencies': [
10 '../base/base.gyp:base_java_test_support',
11 ],
12 'variables': { 9 'variables': {
13 'apk_name': 'AndroidWebViewShell', 10 'apk_name': 'AndroidWebViewShell',
14 'java_in_dir': 'tools/WebViewShell', 11 'java_in_dir': 'tools/WebViewShell',
15 'resource_dir': 'tools/WebViewShell/res', 12 'resource_dir': 'tools/WebViewShell/res',
13 'android_manifest_path': 'tools/WebViewShell/AndroidManifest.xml', # for lint
14 },
15 'includes': [
16 '../build/java_apk.gypi',
17 ],
18 },
19 {
20 # android_webview_apk creates a .jar as a side effect. Any java
21 # targets that need that .jar in their classpath should depend on this
22 # target. For more details see the content_shell_apk_java target.
23 'target_name': 'android_webview_shell_apk_java',
timvolodine 2015/09/23 15:46:29 is this needed? can we just depend on android_webv
boliu 2015/09/23 16:59:07 Yeah we looked this up. apk_fake_jar.gypi is a com
24 'type': 'none',
25 'dependencies': [
26 'android_webview_shell_apk',
27 ],
28 'includes': [ '../build/apk_fake_jar.gypi' ],
29 },
30 {
31 'target_name': 'android_webview_shell_page_cycler_apk',
32 'type': 'none',
33 'dependencies': [
34 '../base/base.gyp:base_java_test_support',
35 'android_webview_shell_apk_java',
36 ],
37 'variables': {
38 'apk_name': 'AndroidWebViewShellPageCycler',
39 'java_in_dir': '../android_webview/tools/PageCycler',
16 'is_test_apk': 1, 40 'is_test_apk': 1,
17 'test_type': 'instrumentation', 41 'test_type': 'instrumentation',
18 'isolate_file': 'android_webview_shell_test_apk.isolate', 42 'android_manifest_path': 'tools/PageCycler/AndroidManifest.xml',
boliu 2015/09/23 16:59:07 Let's nitpick about paths.. tools now feels really
timvolodine 2015/09/23 17:34:31 looking at the naming in android_webview/ is lower
boliu 2015/09/23 17:48:28 nitpick more... "webview_shell" vs "system_webview
timvolodine 2015/09/23 18:07:26 Right, I thought about that as well ;) My initial
Yoland Yan(Google) 2015/09/23 19:51:51 Done
19 'android_manifest_path': 'tools/WebViewShell/AndroidManifest.xml', # for lint
20 }, 43 },
21 'includes': [ 44 'includes': [
22 '../build/java_apk.gypi', 45 '../build/java_apk.gypi',
23 '../build/android/test_runner.gypi', 46 '../build/android/test_runner.gypi',
24 ], 47 ],
25 }, 48 },
49 {
50 'target_name': 'android_webview_shell_test_apk',
51 'type': 'none',
52 'dependencies': [
53 '../base/base.gyp:base_java_test_support',
54 'android_webview_shell_apk_java',
55 ],
56 'variables': {
57 'apk_name': 'AndroidWebViewShellTest',
58 'java_in_dir': '../android_webview/tools/WebViewShellTest',
59 'is_test_apk': 1,
60 'test_type': 'instrumentation',
timvolodine 2015/09/23 15:46:29 add 'isolate_file' here as previously?
Yoland Yan(Google) 2015/09/23 19:51:51 Done
61 'android_manifest_path': 'tools/WebViewShellTest/AndroidManifest.xml',
62 },
63 'includes': [
64 '../build/java_apk.gypi',
65 '../build/android/test_runner.gypi',
66 ]
67 },
26 ], 68 ],
27 } 69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698