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', |
11 '../testing/android/on_device_instrumentation.gyp:broker_java', | 36 '../testing/android/on_device_instrumentation.gyp:broker_java', |
12 '../testing/android/on_device_instrumentation.gyp:require_driver_apk', | 37 '../testing/android/on_device_instrumentation.gyp:require_driver_apk', |
| 38 'system_webview_shell_apk_java', |
13 ], | 39 ], |
14 'variables': { | 40 'variables': { |
15 'apk_name': 'AndroidWebViewShell', | 41 'apk_name': 'SystemWebViewShellPageCycler', |
16 'java_in_dir': 'tools/WebViewShell', | 42 'java_in_dir': '../android_webview/tools/PageCycler', |
17 'resource_dir': 'tools/WebViewShell/res', | |
18 'is_test_apk': 1, | 43 'is_test_apk': 1, |
19 'test_type': 'instrumentation', | 44 'test_type': 'instrumentation', |
20 'isolate_file': 'android_webview_shell_test_apk.isolate', | 45 'android_manifest_path': '../android_webview/tools/PageCycler/AndroidMan
ifest.xml', |
21 'android_manifest_path': 'tools/WebViewShell/AndroidManifest.xml', # for
lint | |
22 }, | 46 }, |
23 'includes': [ | 47 'includes': [ |
24 '../build/java_apk.gypi', | 48 '../build/java_apk.gypi', |
25 '../build/android/test_runner.gypi', | 49 '../build/android/test_runner.gypi', |
26 ], | 50 ], |
27 }, | 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', |
| 67 'android_manifest_path': '../android_webview/tools/WebViewShellTest/Andr
oidManifest.xml', |
| 68 }, |
| 69 'includes': [ |
| 70 '../build/java_apk.gypi', |
| 71 '../build/android/test_runner.gypi', |
| 72 ] |
| 73 }, |
28 ], | 74 ], |
29 } | 75 } |
OLD | NEW |