| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 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 # This is all.gyp file for Android to prevent breakage in Android and other | |
| 6 # platform; It will be churning a lot in the short term and eventually be merged | |
| 7 # into all.gyp. | |
| 8 | |
| 9 { | |
| 10 'variables': { | |
| 11 # A hook that can be overridden in other repositories to add additional | |
| 12 # compilation targets to 'All' | |
| 13 'android_app_targets%': [], | |
| 14 }, | |
| 15 'targets': [ | |
| 16 { | |
| 17 'target_name': 'All', | |
| 18 'type': 'none', | |
| 19 'dependencies': [ | |
| 20 '../content/content_shell_and_tests.gyp:content_shell_apk', | |
| 21 '../mojo/mojo.gyp:mojo_shell_apk', | |
| 22 '<@(android_app_targets)', | |
| 23 'android_builder_tests', | |
| 24 '../android_webview/android_webview.gyp:android_webview_apk', | |
| 25 '../chrome/chrome.gyp:chromium_testshell', | |
| 26 '../remoting/remoting.gyp:remoting_apk', | |
| 27 # TODO(nyquist) This should instead by a target for sync when all of | |
| 28 # the sync-related code for Android has been upstreamed. | |
| 29 # See http://crbug.com/159203 | |
| 30 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_javalib', | |
| 31 '../tools/telemetry/telemetry.gyp:*#host', | |
| 32 ], | |
| 33 }, # target_name: All | |
| 34 { | |
| 35 'target_name': 'blink_tests', | |
| 36 'type': 'none', | |
| 37 'dependencies': [ | |
| 38 '../third_party/WebKit/public/all.gyp:all_blink', | |
| 39 '../content/content_shell_and_tests.gyp:content_shell_apk', | |
| 40 '../breakpad/breakpad.gyp:dump_syms#host', | |
| 41 '../breakpad/breakpad.gyp:minidump_stackwalk#host', | |
| 42 ], | |
| 43 }, # target_name: blink_tests | |
| 44 { | |
| 45 # TODO(jochen): Eventually remove this target after everybody and the | |
| 46 # bots started to use blink_tests only. | |
| 47 'target_name': 'all_webkit', | |
| 48 'type': 'none', | |
| 49 'dependencies': [ | |
| 50 'blink_tests', | |
| 51 ], | |
| 52 }, # target_name: all_webkit | |
| 53 { | |
| 54 # The current list of tests for android. This is temporary | |
| 55 # until the full set supported. If adding a new test here, | |
| 56 # please also add it to build/android/pylib/gtest/gtest_config.py, | |
| 57 # else the test is not run. | |
| 58 # | |
| 59 # WARNING: | |
| 60 # Do not add targets here without communicating the implications | |
| 61 # on tryserver triggers and load. Discuss with jrg please. | |
| 62 'target_name': 'android_builder_tests', | |
| 63 'type': 'none', | |
| 64 'dependencies': [ | |
| 65 '../android_webview/android_webview.gyp:android_webview_unittests', | |
| 66 '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests', | |
| 67 '../base/base.gyp:base_unittests', | |
| 68 '../breakpad/breakpad.gyp:breakpad_unittests', | |
| 69 # Also compile the tools needed to deal with minidumps, they are | |
| 70 # needed to run minidump tests upstream. | |
| 71 '../breakpad/breakpad.gyp:dump_syms#host', | |
| 72 '../breakpad/breakpad.gyp:symupload#host', | |
| 73 '../breakpad/breakpad.gyp:minidump_dump#host', | |
| 74 '../breakpad/breakpad.gyp:minidump_stackwalk#host', | |
| 75 '../build/android/tests/multiple_proguards/multiple_proguards.gyp:multip
le_proguards_test_apk', | |
| 76 '../cc/cc_tests.gyp:cc_perftests_apk', | |
| 77 '../cc/cc_tests.gyp:cc_unittests', | |
| 78 '../chrome/chrome.gyp:unit_tests', | |
| 79 '../components/components_tests.gyp:components_unittests', | |
| 80 '../content/content_shell_and_tests.gyp:content_browsertests', | |
| 81 '../content/content_shell_and_tests.gyp:content_gl_tests', | |
| 82 '../content/content_shell_and_tests.gyp:content_shell_test_apk', | |
| 83 '../content/content_shell_and_tests.gyp:content_unittests', | |
| 84 '../gpu/gpu.gyp:gl_tests', | |
| 85 '../gpu/gpu.gyp:gpu_unittests', | |
| 86 '../ipc/ipc.gyp:ipc_tests', | |
| 87 '../media/media.gyp:media_perftests_apk', | |
| 88 '../media/media.gyp:media_unittests', | |
| 89 '../net/net.gyp:net_unittests', | |
| 90 '../sandbox/sandbox.gyp:sandbox_linux_unittests', | |
| 91 '../sql/sql.gyp:sql_unittests', | |
| 92 '../sync/sync.gyp:sync_unit_tests', | |
| 93 '../third_party/WebKit/public/all.gyp:*', | |
| 94 '../tools/android/android_tools.gyp:android_tools', | |
| 95 '../tools/android/android_tools.gyp:memconsumer', | |
| 96 '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_te
st', | |
| 97 '../ui/ui_unittests.gyp:ui_unittests', | |
| 98 # Required by ui_unittests. | |
| 99 # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but | |
| 100 # this would cause circular gyp dependency which needs refactoring the | |
| 101 # gyps to resolve. | |
| 102 '../chrome/chrome_resources.gyp:packed_resources', | |
| 103 ], | |
| 104 'conditions': [ | |
| 105 ['"<(gtest_target_type)"=="shared_library"', { | |
| 106 'dependencies': [ | |
| 107 # Unit test bundles packaged as an apk. | |
| 108 '../android_webview/android_webview.gyp:android_webview_unittests_ap
k', | |
| 109 '../base/base.gyp:base_unittests_apk', | |
| 110 '../cc/cc_tests.gyp:cc_unittests_apk', | |
| 111 '../chrome/chrome.gyp:unit_tests_apk', | |
| 112 '../components/components_tests.gyp:components_unittests_apk', | |
| 113 '../content/content_shell_and_tests.gyp:content_browsertests_apk', | |
| 114 '../content/content_shell_and_tests.gyp:content_gl_tests_apk', | |
| 115 '../content/content_shell_and_tests.gyp:content_unittests_apk', | |
| 116 '../content/content_shell_and_tests.gyp:video_decode_accelerator_uni
ttest_apk', | |
| 117 '../gpu/gpu.gyp:gl_tests_apk', | |
| 118 '../gpu/gpu.gyp:gpu_unittests_apk', | |
| 119 '../ipc/ipc.gyp:ipc_tests_apk', | |
| 120 '../media/media.gyp:media_unittests_apk', | |
| 121 '../net/net.gyp:net_unittests_apk', | |
| 122 '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk', | |
| 123 '../sql/sql.gyp:sql_unittests_apk', | |
| 124 '../sync/sync.gyp:sync_unit_tests_apk', | |
| 125 '../ui/ui_unittests.gyp:ui_unittests_apk', | |
| 126 '../android_webview/android_webview.gyp:android_webview_test_apk', | |
| 127 '../chrome/chrome.gyp:chromium_testshell_test_apk', | |
| 128 '../chrome/chrome.gyp:chromium_testshell_uiautomator_tests', | |
| 129 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gy
p:webkit_compositor_bindings_unittests_apk' | |
| 130 ], | |
| 131 }], | |
| 132 ], | |
| 133 }, | |
| 134 { | |
| 135 # WebRTC Android APK tests. | |
| 136 'target_name': 'android_builder_webrtc', | |
| 137 'type': 'none', | |
| 138 'variables': { | |
| 139 # Set default value for include_tests to '0'. It is normally only | |
| 140 # used in WebRTC GYP files. It is set to '1' only when building | |
| 141 # WebRTC for Android, inside a Chromium checkout. | |
| 142 'include_tests%': 0, | |
| 143 }, | |
| 144 'conditions': [ | |
| 145 ['"<(gtest_target_type)"=="shared_library" and include_tests==1', { | |
| 146 'dependencies': [ | |
| 147 '../third_party/webrtc/build/apk_tests.gyp:*', | |
| 148 ], | |
| 149 }], | |
| 150 ], | |
| 151 }, # target_name: android_builder_webrtc | |
| 152 { | |
| 153 # WebRTC Chromium tests to run on Android. | |
| 154 'target_name': 'android_builder_chromium_webrtc', | |
| 155 'type': 'none', | |
| 156 'dependencies': [ | |
| 157 '../content/content_shell_and_tests.gyp:content_browsertests', | |
| 158 '../tools/android/android_tools.gyp:android_tools', | |
| 159 '../tools/android/android_tools.gyp:memconsumer', | |
| 160 ], | |
| 161 'conditions': [ | |
| 162 ['"<(gtest_target_type)"=="shared_library"', { | |
| 163 'dependencies': [ | |
| 164 # Unit test bundles packaged as an apk. | |
| 165 '../content/content_shell_and_tests.gyp:content_browsertests_apk', | |
| 166 ], | |
| 167 }], | |
| 168 ], | |
| 169 }, # target_name: android_builder_chromium_webrtc | |
| 170 { | |
| 171 # Build the java portions of the binary size analysis tool. | |
| 172 'target_name': 'binary_size_tool', | |
| 173 'type': 'none', | |
| 174 'dependencies': [ | |
| 175 '../tools/binary_size/binary_size.gyp:binary_size_java', | |
| 176 ], | |
| 177 }, | |
| 178 ], # targets | |
| 179 } | |
| OLD | NEW |