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