OLD | NEW |
---|---|
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': 'system_webview_shell_apk', |
8 'type': 'none', | |
9 'variables': { | |
10 'apk_name': 'SystemWebViewShell', | |
11 'java_in_dir': 'tools/WebViewShell', | |
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': 'system_webview_shell_apk_java', | |
24 'type': 'none', | |
25 'dependencies': [ | |
26 'system_webview_shell_apk', | |
27 ], | |
28 'includes': [ '../build/apk_fake_jar.gypi' ], | |
29 }, | |
30 { | |
31 'target_name': 'system_webview_shell_page_cycler_apk', | |
8 'type': 'none', | 32 'type': 'none', |
9 'dependencies': [ | 33 'dependencies': [ |
10 '../base/base.gyp:base_java_test_support', | 34 '../base/base.gyp:base_java_test_support', |
35 '../content/content_shell_and_tests.gyp:content_java_test_support', | |
36 '../testing/android/on_device_instrumentation.gyp:broker_java', | |
37 '../testing/android/on_device_instrumentation.gyp:require_driver_apk', | |
38 'system_webview_shell_apk_java', | |
11 ], | 39 ], |
12 'variables': { | 40 'variables': { |
13 'apk_name': 'AndroidWebViewShell', | 41 'apk_name': 'SystemWebViewShellPageCycler', |
14 'java_in_dir': 'tools/WebViewShell', | 42 'java_in_dir': '../android_webview/tools/PageCycler', |
15 'resource_dir': 'tools/WebViewShell/res', | |
16 'is_test_apk': 1, | 43 'is_test_apk': 1, |
17 'test_type': 'instrumentation', | 44 'test_type': 'instrumentation', |
18 'isolate_file': 'android_webview_shell_test_apk.isolate', | 45 'android_manifest_path': 'tools/PageCycler/AndroidManifest.xml', |
19 'android_manifest_path': 'tools/WebViewShell/AndroidManifest.xml', # for lint | |
20 }, | 46 }, |
21 'includes': [ | 47 'includes': [ |
22 '../build/java_apk.gypi', | 48 '../build/java_apk.gypi', |
23 '../build/android/test_runner.gypi', | 49 '../build/android/test_runner.gypi', |
24 ], | 50 ], |
25 }, | 51 }, |
52 { | |
53 'target_name': 'system_webview_shell_layout_test_apk', | |
54 'type': 'none', | |
55 'dependencies': [ | |
56 '../base/base.gyp:base_java_test_support', | |
57 '../testing/android/on_device_instrumentation.gyp:broker_java', | |
58 '../testing/android/on_device_instrumentation.gyp:require_driver_apk', | |
59 'system_webview_shell_apk_java', | |
60 ], | |
61 'variables': { | |
62 'apk_name': 'SystemWebViewShellLayoutTest', | |
63 'java_in_dir': '../android_webview/tools/WebViewShellTest', | |
64 'is_test_apk': 1, | |
65 'test_type': 'instrumentation', | |
66 'isolate_file': 'android_webview_shell_test_apk.isolate', | |
timvolodine
2015/10/02 11:22:39
please rename to correspond with the bot CL
| |
67 'android_manifest_path': 'tools/WebViewShellTest/AndroidManifest.xml', | |
68 }, | |
69 'includes': [ | |
70 '../build/java_apk.gypi', | |
71 '../build/android/test_runner.gypi', | |
72 ] | |
73 }, | |
26 ], | 74 ], |
27 } | 75 } |
OLD | NEW |