OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 { | |
5 'targets': [ | |
6 # GN: //android_webview/tools:system_webview_shell_apk | |
7 { | |
8 'target_name': 'system_webview_shell_apk', | |
9 'type': 'none', | |
10 'variables': { | |
11 'apk_name': 'SystemWebViewShell', | |
12 'java_in_dir': 'tools/system_webview_shell/apk', | |
13 'resource_dir': 'tools/system_webview_shell/apk/res', | |
14 'android_manifest_path': 'tools/system_webview_shell/apk/AndroidManifest
.xml', # for lint | |
15 }, | |
16 'includes': [ | |
17 '../build/java_apk.gypi', | |
18 ], | |
19 }, | |
20 { | |
21 # android_webview_apk creates a .jar as a side effect. Any java | |
22 # targets that need that .jar in their classpath should depend on this | |
23 # target. For more details see the content_shell_apk_java target. | |
24 'target_name': 'system_webview_shell_apk_java', | |
25 'type': 'none', | |
26 'dependencies': [ | |
27 'system_webview_shell_apk', | |
28 ], | |
29 'includes': [ '../build/apk_fake_jar.gypi' ], | |
30 }, | |
31 # GN: //android_webview/tools:system_webview_shell_page_cycler_apk | |
32 { | |
33 'target_name': 'system_webview_shell_page_cycler_apk', | |
34 'type': 'none', | |
35 'dependencies': [ | |
36 '../base/base.gyp:base_java_test_support', | |
37 '../content/content_shell_and_tests.gyp:content_java_test_support', | |
38 '../testing/android/on_device_instrumentation.gyp:broker_java', | |
39 '../testing/android/on_device_instrumentation.gyp:require_driver_apk', | |
40 'system_webview_shell_apk_java', | |
41 ], | |
42 'variables': { | |
43 'apk_name': 'SystemWebViewShellPageCycler', | |
44 'java_in_dir': '../android_webview/tools/system_webview_shell/page_cycle
r', | |
45 'is_test_apk': 1, | |
46 'test_type': 'instrumentation', | |
47 'android_manifest_path': '../android_webview/tools/system_webview_shell/
page_cycler/AndroidManifest.xml', | |
48 }, | |
49 'includes': [ | |
50 '../build/java_apk.gypi', | |
51 '../build/android/test_runner.gypi', | |
52 ], | |
53 }, | |
54 # GN: //android_webview/tools:system_webview_shell_layout_test_apk | |
55 { | |
56 'target_name': 'system_webview_shell_layout_test_apk', | |
57 'type': 'none', | |
58 'dependencies': [ | |
59 '../base/base.gyp:base_java_test_support', | |
60 '../testing/android/on_device_instrumentation.gyp:broker_java', | |
61 '../testing/android/on_device_instrumentation.gyp:require_driver_apk', | |
62 'system_webview_shell_apk_java', | |
63 ], | |
64 'variables': { | |
65 'apk_name': 'SystemWebViewShellLayoutTest', | |
66 'java_in_dir': '../android_webview/tools/system_webview_shell/layout_tes
ts', | |
67 'is_test_apk': 1, | |
68 'test_type': 'instrumentation', | |
69 'isolate_file': 'system_webview_shell_test_apk.isolate', | |
70 'android_manifest_path': '../android_webview/tools/system_webview_shell/
layout_tests/AndroidManifest.xml', | |
71 }, | |
72 'includes': [ | |
73 '../build/java_apk.gypi', | |
74 '../build/android/test_runner.gypi', | |
75 ] | |
76 }, | |
77 ], | |
78 } | |
OLD | NEW |