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