• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 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# This file defines five targets that we are using to track the progress of the
6# GYP->GN migration:
7#
8# 'both_gn_and_gyp' lists what GN is currently capable of building and should
9# match the 'both_gn_and_gyp' target in //BUILD.gn.
10#
11# 'gyp_all' Should include everything built when building "all"; i.e., if you
12# type 'ninja gyp_all' and then 'ninja all', the second build should do
13# nothing. 'gyp_all' should just depend on the other four targets.
14#
15# 'gyp_remaining' lists all of the targets that still need to be converted,
16# i.e., all of the other (non-empty) targets that a GYP build will build.
17
18{
19  'includes': [
20    '../media/media_variables.gypi'
21  ],
22  'targets': [
23    {
24      'target_name': 'gyp_all',
25      'type': 'none',
26      'dependencies': [
27        'both_gn_and_gyp',
28        'gyp_remaining',
29      ]
30    },
31    {
32      # This target should mirror the structure of //:both_gn_and_gyp
33      # in src/BUILD.gn as closely as possible, for ease of comparison.
34      'target_name': 'both_gn_and_gyp',
35      'type': 'none',
36      'dependencies': [
37        '../base/base.gyp:base_i18n_perftests',
38        '../base/base.gyp:base_perftests',
39        '../base/base.gyp:base_unittests',
40        '../base/base.gyp:check_example',
41        '../cc/cc_tests.gyp:cc_perftests',
42        '../cc/cc_tests.gyp:cc_unittests',
43        '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
44        '../chrome/chrome.gyp:load_library_perf_tests',
45        '../chrome/chrome.gyp:unit_tests',
46        '../components/components.gyp:network_hints_browser',
47        '../components/components.gyp:policy_templates',
48        '../components/components_tests.gyp:components_browsertests',
49        '../components/components_tests.gyp:components_perftests',
50        '../components/components_tests.gyp:components_unittests',
51        '../content/content.gyp:content_app_browser',
52        '../content/content.gyp:content_app_child',
53        '../content/content_shell_and_tests.gyp:content_browsertests',
54        '../content/content_shell_and_tests.gyp:content_perftests',
55        '../content/content_shell_and_tests.gyp:content_unittests',
56        '../crypto/crypto.gyp:crypto_unittests',
57        '../device/device_tests.gyp:device_unittests',
58        '../gin/gin.gyp:gin_v8_snapshot_fingerprint',
59        '../gpu/gpu.gyp:angle_unittests',
60        '../gpu/gpu.gyp:gl_tests',
61        '../gpu/gpu.gyp:gpu_perftests',
62        '../gpu/gpu.gyp:gpu_unittests',
63        '../ipc/ipc.gyp:ipc_tests',
64        '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
65        '../media/cast/cast.gyp:cast_unittests',
66        '../media/media.gyp:media_perftests',
67        '../media/media.gyp:media_unittests',
68        '../media/midi/midi.gyp:midi_unittests',
69        '../net/net.gyp:dump_cache',
70        '../net/net.gyp:net_perftests',
71        '../net/net.gyp:net_unittests',
72        '../printing/printing.gyp:printing_unittests',
73        '../skia/skia_tests.gyp:skia_unittests',
74        '../sql/sql.gyp:sql_unittests',
75        '../sync/sync.gyp:sync_unit_tests',
76        '../testing/gmock.gyp:gmock_main',
77        '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests',
78        '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests',
79        '../third_party/WebKit/Source/web/web_tests.gyp:webkit_unit_tests',
80        '../third_party/WebKit/Source/wtf/wtf_tests.gyp:wtf_unittests',
81        '../third_party/boringssl/boringssl_tests.gyp:boringssl_ecdsa_test',
82        '../third_party/boringssl/boringssl_tests.gyp:boringssl_bn_test',
83        '../third_party/boringssl/boringssl_tests.gyp:boringssl_pqueue_test',
84        '../third_party/boringssl/boringssl_tests.gyp:boringssl_digest_test',
85        '../third_party/boringssl/boringssl_tests.gyp:boringssl_cipher_test',
86        '../third_party/boringssl/boringssl_tests.gyp:boringssl_hkdf_test',
87        '../third_party/boringssl/boringssl_tests.gyp:boringssl_constant_time_test',
88        '../third_party/boringssl/boringssl_tests.gyp:boringssl_thread_test',
89        '../third_party/boringssl/boringssl_tests.gyp:boringssl_base64_test',
90        '../third_party/boringssl/boringssl_tests.gyp:boringssl_gcm_test',
91        '../third_party/boringssl/boringssl_tests.gyp:boringssl_bytestring_test',
92        '../third_party/boringssl/boringssl_tests.gyp:boringssl_evp_test',
93        '../third_party/boringssl/boringssl_tests.gyp:boringssl_dsa_test',
94        '../third_party/boringssl/boringssl_tests.gyp:boringssl_rsa_test',
95        '../third_party/boringssl/boringssl_tests.gyp:boringssl_hmac_test',
96        '../third_party/boringssl/boringssl_tests.gyp:boringssl_aead_test',
97        '../third_party/boringssl/boringssl_tests.gyp:boringssl_ssl_test',
98        '../third_party/boringssl/boringssl_tests.gyp:boringssl_err_test',
99        '../third_party/boringssl/boringssl_tests.gyp:boringssl_lhash_test',
100        '../third_party/boringssl/boringssl_tests.gyp:boringssl_pbkdf_test',
101        '../third_party/boringssl/boringssl_tests.gyp:boringssl_dh_test',
102        '../third_party/boringssl/boringssl_tests.gyp:boringssl_pkcs12_test',
103        '../third_party/boringssl/boringssl_tests.gyp:boringssl_example_mul',
104        '../third_party/boringssl/boringssl_tests.gyp:boringssl_ec_test',
105        '../third_party/boringssl/boringssl_tests.gyp:boringssl_bio_test',
106        '../third_party/boringssl/boringssl_tests.gyp:boringssl_pkcs7_test',
107        '../third_party/boringssl/boringssl_tests.gyp:boringssl_unittests',
108        '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
109        '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
110        '../third_party/smhasher/smhasher.gyp:pmurhash',
111        '../third_party/catapult/telemetry/telemetry.gyp:bitmaptools#host',
112        '../ui/accessibility/accessibility.gyp:accessibility_unittests',
113        '../ui/base/ui_base_tests.gyp:ui_base_unittests',
114        '../ui/display/display.gyp:display_unittests',
115        '../ui/events/events_unittests.gyp:events_unittests',
116        '../ui/gfx/gfx_tests.gyp:gfx_unittests',
117        '../ui/gl/gl_tests.gyp:gl_unittests',
118        '../ui/snapshot/snapshot.gyp:snapshot_unittests',
119        '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
120        '../url/url.gyp:url_unittests',
121        '../v8/src/v8.gyp:v8_snapshot',
122        '../v8/src/v8.gyp:postmortem-metadata',
123      ],
124      'conditions': [
125        ['clang==1', {
126          'dependencies': [
127            '../build/sanitizers/sanitizers.gyp:llvm-symbolizer',
128          ],
129        }],
130        ['disable_nacl==0 and disable_nacl_untrusted==0', {
131          'dependencies': [
132            '../components/nacl.gyp:nacl_loader_unittests',
133          ]
134        }],
135        ['enable_extensions==1', {
136          'dependencies': [
137            '../extensions/shell/app_shell.gyp:app_shell',
138            '../extensions/shell/app_shell.gyp:app_shell_unittests',
139          ],
140        }],
141        ['enable_mdns==1', {
142          'dependencies': [
143            '../chrome/chrome.gyp:service_discovery_sniffer',
144          ]
145        }],
146        ['remoting==1', {
147          'dependencies': [
148            '../remoting/remoting_all.gyp:remoting_all',
149          ],
150        }],
151        ['remoting==1 and chromeos==0 and use_x11==1', {
152          'dependencies': [
153            '../remoting/remoting.gyp:remoting_me2me_host',
154            '../remoting/remoting.gyp:remoting_me2me_native_messaging_host',
155          ],
156        }],
157        ['toolkit_views==1', {
158          'dependencies': [
159            '../ui/views/views.gyp:views_unittests',
160          ],
161        }],
162        ['enable_app_list==1', {
163          'dependencies': [
164            '../ui/app_list/app_list.gyp:app_list_demo',
165          ],
166        }],
167        ['use_ash==1', {
168          'dependencies': [
169            '../ash/ash.gyp:ash_shell_with_content',
170            '../ash/ash.gyp:ash_unittests',
171          ],
172        }],
173        ['use_ash==1 or chromeos== 1', {
174          'dependencies': [
175            '../components/components.gyp:session_manager_component',
176          ]
177        }],
178        ['use_aura==1', {
179          'dependencies': [
180            '../ui/aura/aura.gyp:aura_demo',
181            '../ui/aura/aura.gyp:aura_unittests',
182            '../ui/keyboard/keyboard.gyp:keyboard_unittests',
183            '../ui/wm/wm.gyp:wm_unittests',
184          ],
185        }],
186        ['use_ozone==1', {
187          'dependencies': [
188            '../ui/ozone/ozone.gyp:ozone',
189          ],
190        }],
191        ['use_x11==1', {
192          'dependencies': [
193            '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
194          ],
195          'conditions': [
196            ['target_arch!="arm"', {
197              'dependencies': [
198                '../gpu/tools/tools.gyp:compositor_model_bench',
199              ],
200            }],
201          ],
202        }],
203        ['OS=="android"', {
204          'dependencies': [
205            '../base/base.gyp:base_junit_tests',
206            '../base/base.gyp:base_perftests_apk',
207            '../base/base.gyp:base_unittests_apk',
208            '../base/base.gyp:chromium_android_linker',
209            '../breakpad/breakpad.gyp:breakpad_unittests_deps',
210            '../breakpad/breakpad.gyp:symupload#host',
211            '../breakpad/breakpad.gyp:microdump_stackwalk#host',
212            '../breakpad/breakpad.gyp:minidump_dump#host',
213            '../breakpad/breakpad.gyp:minidump_stackwalk#host',
214            '../build/android/rezip.gyp:rezip_apk_jar',
215            '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk',
216            '../cc/cc_tests.gyp:cc_perftests_apk',
217            '../cc/cc_tests.gyp:cc_unittests_apk',
218            #"//clank" TODO(GYP) - conditional somehow?
219            '../components/components.gyp:cronet_package',
220            '../components/components.gyp:cronet_sample_apk',
221            '../components/components.gyp:cronet_sample_test_apk',
222            '../components/components.gyp:cronet_test_apk',
223            '../components/components.gyp:cronet_test_instrumentation_apk',
224            '../components/components.gyp:cronet_unittests_apk',
225            '../components/components_tests.gyp:components_browsertests_apk',
226            '../components/components_tests.gyp:components_junit_tests',
227            '../components/components_tests.gyp:components_unittests_apk',
228            '../content/content_shell_and_tests.gyp:chromium_linker_test_apk',
229            '../content/content_shell_and_tests.gyp:content_browsertests_apk',
230            '../content/content_shell_and_tests.gyp:content_junit_tests',
231            '../content/content_shell_and_tests.gyp:content_shell_apk',
232            '../content/content_shell_and_tests.gyp:content_shell_test_apk',
233            '../content/content_shell_and_tests.gyp:content_unittests_apk',
234            '../device/device_tests.gyp:device_unittests_apk',
235            '../gpu/gpu.gyp:command_buffer_gles2_tests_apk',
236            '../gpu/gpu.gyp:gl_tests_apk',
237            '../gpu/gpu.gyp:gpu_perftests_apk',
238            '../gpu/gpu.gyp:gpu_unittests_apk',
239            '../ipc/ipc.gyp:ipc_tests_apk',
240            '../media/cast/cast.gyp:cast_unittests_apk',
241            '../media/media.gyp:media_perftests_apk',
242            '../media/media.gyp:media_unittests_apk',
243            '../media/media.gyp:video_decode_accelerator_unittest_apk',
244            '../media/midi/midi.gyp:midi_unittests_apk',
245            '../net/net.gyp:net_junit_tests',
246            '../net/net.gyp:net_unittests_apk',
247            '../sandbox/sandbox.gyp:sandbox_linux_unittests_deps',
248            '../skia/skia_tests.gyp:skia_unittests_apk',
249            '../sql/sql.gyp:sql_unittests_apk',
250            '../sync/sync.gyp:sync_unit_tests_apk',
251            '../testing/android/junit/junit_test.gyp:junit_unit_tests',
252            '../third_party/smhasher/smhasher.gyp:murmurhash3',
253            '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests_apk',
254            '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests_apk',
255            '../third_party/WebKit/Source/web/web_tests.gyp:webkit_unit_tests_apk',
256            '../third_party/WebKit/Source/wtf/wtf_tests.gyp:wtf_unittests_apk',
257            '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unittests_apk',
258            '../tools/android/android_tools.gyp:memconsumer',
259            '../tools/android/android_tools.gyp:push_apps_to_background',
260            '../tools/imagediff/image_diff.gyp:image_diff#host',
261            '../third_party/catapult/telemetry/telemetry.gyp:bitmaptools#host',
262            '../ui/android/ui_android.gyp:ui_android_unittests_apk',
263            '../ui/android/ui_android.gyp:ui_junit_tests',
264            '../ui/base/ui_base_tests.gyp:ui_base_unittests_apk',
265            '../ui/events/events_unittests.gyp:events_unittests_apk',
266            '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk',
267            '../ui/gl/gl_tests.gyp:gl_unittests_apk',
268            '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_apk',
269
270            #"//third_party/android_tools:uiautomator_java",
271          ],
272          'dependencies!': [
273            # TODO(GYP): All of these targets need to be ported over.
274            '../url/url.gyp:url_unittests',
275          ],
276        }],
277        ['OS=="android" and chromecast==0', {
278          'dependencies': [
279            '../android_webview/android_webview_shell.gyp:system_webview_shell_apk',
280            '../android_webview/android_webview_shell.gyp:system_webview_shell_layout_test_apk',
281            '../android_webview/android_webview_shell.gyp:system_webview_shell_page_cycler_apk',
282            '../chrome/android/chrome_apk.gyp:chrome_public_apk',
283            '../chrome/android/chrome_apk.gyp:chrome_public_test_apk',
284            '../chrome/android/chrome_apk.gyp:chrome_sync_shell_apk',
285            '../chrome/android/chrome_apk.gyp:chrome_sync_shell_test_apk',
286            '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
287            '../chrome/chrome.gyp:chrome_junit_tests',
288            '../chrome/chrome.gyp:unit_tests_apk',
289            '../third_party/custom_tabs_client/custom_tabs_client.gyp:custom_tabs_client_example_apk',
290          ],
291        }],
292        ['OS!="android"', {
293          'dependencies': [
294            '../base/base.gyp:build_utf8_validator_tables#host',
295            '../chrome/chrome.gyp:chrome_app_unittests',
296            '../chrome/chrome.gyp:chromedriver',
297            '../chrome/chrome.gyp:chromedriver_tests',
298            '../chrome/chrome.gyp:chromedriver_unittests',
299            '../content/content_shell_and_tests.gyp:content_shell',
300            '../courgette/courgette.gyp:courgette',
301            '../courgette/courgette.gyp:courgette_fuzz',
302            '../courgette/courgette.gyp:courgette_minimal_tool',
303            '../courgette/courgette.gyp:courgette_unittests',
304            '../gin/gin.gyp:gin_unittests',
305            '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',  # TODO(GYP) crbug.com/471920
306            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
307            '../google_apis/gcm/gcm.gyp:mcs_probe',
308            '../google_apis/google_apis.gyp:google_apis_unittests',
309            '../jingle/jingle.gyp:jingle_unittests',
310            '../mojo/mojo.gyp:mojo',
311            '../mojo/mojo_edk_tests.gyp:mojo_system_unittests',
312            '../mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests',
313            '../mojo/mojo_edk_tests.gyp:mojo_public_system_perftests',
314            '../mojo/mojo_edk_tests.gyp:mojo_public_system_unittests',
315            '../net/net.gyp:crash_cache',
316            '../net/net.gyp:crl_set_dump',
317            '../net/net.gyp:dns_fuzz_stub',
318            '../net/net.gyp:gdig',
319            '../net/net.gyp:get_server_time',
320            '../net/net.gyp:hpack_example_generator',
321            '../net/net.gyp:hpack_fuzz_mutator',
322            '../net/net.gyp:hpack_fuzz_wrapper',
323            '../net/net.gyp:net_watcher',  # TODO(GYP): This should be conditional on use_v8_in_net
324            '../net/net.gyp:run_testserver',
325            '../net/net.gyp:stress_cache',
326            '../net/net.gyp:tld_cleanup',
327            '../ppapi/ppapi_internal.gyp:ppapi_example_audio',
328            '../ppapi/ppapi_internal.gyp:ppapi_example_audio_input',
329            '../ppapi/ppapi_internal.gyp:ppapi_example_c_stub',
330            '../ppapi/ppapi_internal.gyp:ppapi_example_cc_stub',
331            '../ppapi/ppapi_internal.gyp:ppapi_example_compositor',
332            '../ppapi/ppapi_internal.gyp:ppapi_example_crxfs',
333            '../ppapi/ppapi_internal.gyp:ppapi_example_enumerate_devices',
334            '../ppapi/ppapi_internal.gyp:ppapi_example_file_chooser',
335            '../ppapi/ppapi_internal.gyp:ppapi_example_flash_topmost',
336            '../ppapi/ppapi_internal.gyp:ppapi_example_gamepad',
337            '../ppapi/ppapi_internal.gyp:ppapi_example_gles2',
338            '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
339            '../ppapi/ppapi_internal.gyp:ppapi_example_graphics_2d',
340            '../ppapi/ppapi_internal.gyp:ppapi_example_ime',
341            '../ppapi/ppapi_internal.gyp:ppapi_example_input',
342            '../ppapi/ppapi_internal.gyp:ppapi_example_media_stream_audio',
343            '../ppapi/ppapi_internal.gyp:ppapi_example_media_stream_video',
344            '../ppapi/ppapi_internal.gyp:ppapi_example_mouse_cursor',
345            '../ppapi/ppapi_internal.gyp:ppapi_example_mouse_lock',
346            '../ppapi/ppapi_internal.gyp:ppapi_example_paint_manager',
347            '../ppapi/ppapi_internal.gyp:ppapi_example_post_message',
348            '../ppapi/ppapi_internal.gyp:ppapi_example_printing',
349            '../ppapi/ppapi_internal.gyp:ppapi_example_scaling',
350            '../ppapi/ppapi_internal.gyp:ppapi_example_scroll',
351            '../ppapi/ppapi_internal.gyp:ppapi_example_simple_font',
352            '../ppapi/ppapi_internal.gyp:ppapi_example_threading',
353            '../ppapi/ppapi_internal.gyp:ppapi_example_url_loader',
354            '../ppapi/ppapi_internal.gyp:ppapi_example_url_loader_file',
355            '../ppapi/ppapi_internal.gyp:ppapi_example_vc',
356            '../ppapi/ppapi_internal.gyp:ppapi_example_video_decode',
357            '../ppapi/ppapi_internal.gyp:ppapi_example_video_decode_dev',
358            '../ppapi/ppapi_internal.gyp:ppapi_example_video_effects',
359            '../ppapi/ppapi_internal.gyp:ppapi_example_video_encode',
360            '../ppapi/ppapi_internal.gyp:ppapi_tests',
361            '../ppapi/ppapi_internal.gyp:ppapi_perftests',
362            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
363            '../sync/sync.gyp:run_sync_testserver',
364            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
365            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
366            '../tools/imagediff/image_diff.gyp:image_diff',
367            '../ui/compositor/compositor.gyp:compositor_unittests',
368          ],
369        }],
370        ['enable_app_list==1', {
371          'dependencies': [
372            '../ui/app_list/app_list.gyp:app_list_unittests',
373          ],
374        }],
375        ['OS!="android" and chromecast==0', {
376          'dependencies': [
377            '../chrome/chrome.gyp:browser_tests',
378            '../chrome/chrome.gyp:chrome',
379            '../chrome/chrome.gyp:interactive_ui_tests',
380            '../chrome/chrome.gyp:performance_browser_tests',
381            '../chrome/chrome.gyp:sync_integration_tests',
382            '../chrome/chrome.gyp:sync_performance_tests',
383            '../extensions/extensions_tests.gyp:extensions_browsertests',
384            '../extensions/extensions_tests.gyp:extensions_unittests',
385            '../gin/gin.gyp:gin_shell',
386            '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',  # TODO(GYP) crbug.com/471920
387            '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',  # TODO(GYP) crbug.com/471903 to make this complete.
388            '../ipc/ipc.gyp:ipc_perftests',
389            '../mojo/mojo_base.gyp:mojo_common_unittests',
390            '../ppapi/tools/ppapi_tools.gyp:pepper_hash_for_uma',
391            '../skia/skia.gyp:filter_fuzz_stub',
392            '../skia/skia.gyp:image_operations_bench',
393            '../sync/tools/sync_tools.gyp:sync_client',
394            '../sync/tools/sync_tools.gyp:sync_listen_notifications',
395            '../third_party/codesighs/codesighs.gyp:codesighs',
396            '../third_party/codesighs/codesighs.gyp:maptsvdifftool',
397            '../third_party/pdfium/samples/samples.gyp:pdfium_diff',
398            '../third_party/pdfium/samples/samples.gyp:pdfium_test',
399            '../tools/battor_agent/battor_agent.gyp:battor_agent',
400            '../tools/battor_agent/battor_agent.gyp:battor_agent_unittests',
401            '../tools/gn/gn.gyp:gn',
402            '../tools/gn/gn.gyp:gn_unittests',
403            '../tools/perf/clear_system_cache/clear_system_cache.gyp:clear_system_cache',
404            '../ui/message_center/message_center.gyp:message_center_unittests',
405            '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
406          ],
407        }],
408        ['media_use_ffmpeg==1 and OS!="android"', {
409          'dependencies': [
410            '../media/media.gyp:ffmpeg_regression_tests',
411          ],
412        }],
413        ['OS=="android" or OS=="linux"', {
414          'dependencies': [
415            '../net/net.gyp:disk_cache_memory_test',
416          ],
417        }],
418        ['chromeos==1', {
419          'dependencies': [
420            '../chromeos/chromeos.gyp:chromeos_unittests',
421            '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
422            '../ui/arc/arc.gyp:ui_arc_unittests',
423          ]
424        }],
425        ['chromeos==1 or OS=="win" or OS=="mac"', {
426          'dependencies': [
427            '../rlz/rlz.gyp:rlz_id',
428            '../rlz/rlz.gyp:rlz_lib',
429            '../rlz/rlz.gyp:rlz_unittests',
430          ],
431        }],
432        ['OS=="linux" or OS=="android" or os_bsd==1', {
433          'dependencies': [
434            '../breakpad/breakpad.gyp:breakpad_unittests',
435            '../breakpad/breakpad.gyp:core-2-minidump',
436            '../breakpad/breakpad.gyp:dump_syms#host',
437            '../breakpad/breakpad.gyp:generate_test_dump',
438            '../breakpad/breakpad.gyp:minidump-2-core',
439          ],
440        }],
441        ['OS=="linux" or os_bsd==1', {
442          'dependencies': [
443            '../breakpad/breakpad.gyp:microdump_stackwalk',
444            '../breakpad/breakpad.gyp:minidump_dump',
445            '../breakpad/breakpad.gyp:minidump_stackwalk',
446            '../breakpad/breakpad.gyp:symupload',
447            '../third_party/codesighs/codesighs.gyp:nm2tsv',
448          ],
449        }],
450        ['OS=="linux"', {
451          'dependencies': [
452            '../dbus/dbus.gyp:dbus_test_server',
453            '../dbus/dbus.gyp:dbus_unittests',
454            '../media/cast/cast.gyp:cast_testing_tools',
455            '../media/cast/cast.gyp:tap_proxy',
456            '../net/net.gyp:disk_cache_memory_test',
457            '../net/net.gyp:flip_in_mem_edsm_server',
458            '../net/net.gyp:flip_in_mem_edsm_server_unittests',
459            '../net/net.gyp:epoll_quic_client',
460            '../net/net.gyp:epoll_quic_server',
461            '../net/net.gyp:hpack_example_generator',
462            '../net/net.gyp:hpack_fuzz_mutator',
463            '../net/net.gyp:hpack_fuzz_wrapper',
464            '../net/net.gyp:net_perftests',
465            '../net/net.gyp:quic_client',
466            '../net/net.gyp:quic_server',
467            '../sandbox/sandbox.gyp:chrome_sandbox',
468            '../sandbox/sandbox.gyp:sandbox_linux_unittests',
469            '../third_party/sqlite/sqlite.gyp:sqlite_shell',
470         ],
471        }],
472        ['OS=="mac"', {
473          'dependencies': [
474            '../breakpad/breakpad.gyp:crash_inspector',
475            '../breakpad/breakpad.gyp:dump_syms',
476            '../breakpad/breakpad.gyp:symupload',
477            '../third_party/apple_sample_code/apple_sample_code.gyp:apple_sample_code',
478            '../third_party/molokocacao/molokocacao.gyp:molokocacao',
479
480            # TODO(GYP): remove these when the corresponding root targets work.
481            #"//cc/blink",
482            #"//components/ui/zoom",
483            #"//content",
484            #"//content/test:test_support",
485            #"//device/battery",
486            #"//device/bluetooth",
487            #"//device/nfc",
488            #"//device/usb",
489            #"//device/vibration",
490            #"//media/blink",
491            #"//pdf",
492            #"//storage/browser",
493            #"//third_party/brotli",
494            #"//third_party/flac",
495            #"//third_party/hunspell",
496            #//third_party/iccjpeg",
497            #"//third_party/libphonenumber",
498            #"//third_party/ots",
499            #"//third_party/qcms",
500            #"//third_party/smhasher:murmurhash3",
501            #"//third_party/webrtc/system_wrappers",
502            #"//ui/native_theme",
503            #"//ui/snapshot",
504            #"//ui/surface",
505          ],
506          'dependencies!': [
507            #"//chrome",  # TODO(GYP)
508            #"//chrome/test:browser_tests",  # TODO(GYP)
509            #"//chrome/test:interactive_ui_tests",  # TODO(GYP)
510            #"//chrome/test:sync_integration_tests",  # TODO(GYP)
511            #"//chrome/test:unit_tests",  # TODO(GYP)
512            #"//components:components_unittests",  # TODO(GYP)
513            #"//extensions:extensions_browsertests",  # TODO(GYP)
514            #"//extensions:extensions_unittests",  # TODO(GYP)
515            #"//net:net_unittests",  # TODO(GYP)
516            #"//third_party/usrsctp",  # TODO(GYP)
517            #"//ui/app_list:app_list_unittests",  # TODO(GYP)
518            #"//ui/gfx:gfx_unittests",  # TODO(GYP)
519          ],
520        }],
521        ['OS=="win"', {
522          'dependencies': [
523            '../base/base.gyp:pe_image_test',
524            '../chrome/chrome.gyp:installer_util_unittests',
525            '../chrome/chrome.gyp:setup',
526            '../chrome/chrome.gyp:setup_unittests',
527            '../chrome/installer/mini_installer.gyp:mini_installer',
528            '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
529            '../chrome_elf/chrome_elf.gyp:dll_hash_main',
530            '../components/components.gyp:wifi_test',
531            '../net/net.gyp:quic_client',
532            '../net/net.gyp:quic_server',
533            '../rlz/rlz.gyp:rlz',
534            '../sandbox/sandbox.gyp:pocdll',
535            '../sandbox/sandbox.gyp:sandbox_poc',
536            '../sandbox/sandbox.gyp:sbox_integration_tests',
537            '../sandbox/sandbox.gyp:sbox_unittests',
538            '../sandbox/sandbox.gyp:sbox_validation_tests',
539            '../testing/gtest.gyp:gtest_main',
540            '../third_party/codesighs/codesighs.gyp:msdump2symdb',
541            '../third_party/codesighs/codesighs.gyp:msmap2tsv',
542            '../third_party/pdfium/samples/samples.gyp:pdfium_diff',
543          ],
544          'conditions': [
545            ['component!="shared_library" or target_arch!="ia32"', {
546              'dependencies': [
547                '../chrome/installer/mini_installer.gyp:next_version_mini_installer',
548              ],
549            }],
550          ],
551        }],
552        ['chromecast==1', {
553          'dependencies': [
554            '../chromecast/chromecast.gyp:cast_shell',
555          ],
556        }],
557        ['use_openh264==1', {
558          'dependencies': [
559            '../third_party/openh264/openh264.gyp:openh264_common',
560            '../third_party/openh264/openh264.gyp:openh264_processing',
561            '../third_party/openh264/openh264.gyp:openh264_encoder',
562          ],
563        }],
564      ],
565    },
566    {
567      'target_name': 'gyp_remaining',
568      'type': 'none',
569      'conditions': [
570        ['test_isolation_mode!="noop"', {
571          'dependencies': [
572            '../base/base.gyp:base_unittests_run',
573            '../cc/cc_tests.gyp:cc_unittests_run',
574            '../chrome/chrome.gyp:browser_tests_run',
575            '../chrome/chrome.gyp:chrome_app_unittests_run',
576            '../chrome/chrome.gyp:chrome_run',
577            '../chrome/chrome.gyp:interactive_ui_tests_run',
578            '../chrome/chrome.gyp:sync_integration_tests_run',
579            '../chrome/chrome.gyp:unit_tests_run',
580            '../device/device_tests.gyp:device_unittests_run',
581            '../components/components_tests.gyp:components_browsertests_run',
582            '../components/components_tests.gyp:components_unittests_run',
583            '../content/content_shell_and_tests.gyp:content_browsertests_run',
584            '../content/content_shell_and_tests.gyp:content_unittests_run',
585            '../courgette/courgette.gyp:courgette_unittests_run',
586            '../crypto/crypto.gyp:crypto_unittests_run',
587            '../extensions/extensions_tests.gyp:extensions_browsertests_run',
588            '../extensions/extensions_tests.gyp:extensions_unittests_run',
589            '../google_apis/gcm/gcm.gyp:gcm_unit_tests_run',
590            '../google_apis/google_apis.gyp:google_apis_unittests_run',
591            '../gpu/gpu.gyp:gpu_unittests_run',
592            '../media/blink/media_blink.gyp:media_blink_unittests_run',
593            '../media/cast/cast.gyp:cast_unittests_run',
594            '../media/media.gyp:media_unittests_run',
595            '../media/midi/midi.gyp:midi_unittests_run',
596            '../mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests_run',
597            '../mojo/mojo_edk_tests.gyp:mojo_public_system_unittests_run',
598            '../net/net.gyp:net_unittests_run',
599            '../ppapi/ppapi_internal.gyp:ppapi_unittests_run',
600            '../printing/printing.gyp:printing_unittests_run',
601            '../remoting/remoting.gyp:remoting_unittests_run',
602            '../skia/skia_tests.gyp:skia_unittests_run',
603            '../sql/sql.gyp:sql_unittests_run',
604            '../sync/sync.gyp:sync_unit_tests_run',
605            '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests_run',
606            '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests_run',
607            '../third_party/WebKit/Source/web/web_tests.gyp:webkit_unit_tests_run',
608            '../third_party/WebKit/Source/wtf/wtf_tests.gyp:wtf_unittests_run',
609            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests_run',
610            '../tools/battor_agent/battor_agent.gyp:battor_agent_unittests_run',
611            '../tools/gn/gn.gyp:gn_unittests_run',
612            '../ui/accessibility/accessibility.gyp:accessibility_unittests_run',
613            '../ui/compositor/compositor.gyp:compositor_unittests_run',
614            '../ui/display/display.gyp:display_unittests_run',
615            '../ui/events/events_unittests.gyp:events_unittests_run',
616            '../ui/gfx/gfx_tests.gyp:gfx_unittests_run',
617            '../ui/message_center/message_center.gyp:message_center_unittests_run',
618            '../url/url.gyp:url_unittests_run',
619          ],
620          'conditions': [
621            ['OS=="linux"', {
622              'dependencies': [
623                '../sandbox/sandbox.gyp:sandbox_linux_unittests_run',
624              ],
625            }],
626            ['OS=="mac"', {
627              'dependencies': [
628                '../sandbox/sandbox.gyp:sandbox_mac_unittests_run',
629              ],
630            }],
631            ['OS=="win"', {
632              'dependencies': [
633                '../chrome/chrome.gyp:installer_util_unittests_run',
634                '../chrome/chrome.gyp:setup_unittests_run',
635                '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests_run',
636                '../sandbox/sandbox.gyp:sbox_integration_tests_run',
637                '../sandbox/sandbox.gyp:sbox_unittests_run',
638                '../sandbox/sandbox.gyp:sbox_validation_tests_run',
639              ],
640            }],
641            ['OS!="android"', {
642              'dependencies': [
643                '../ipc/ipc.gyp:ipc_tests_run',
644                '../ui/base/ui_base_tests.gyp:ui_base_unittests_run',
645                '../ui/gl/gl_tests.gyp:gl_unittests_run',
646                '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_run',
647              ],
648            }],
649            ['OS!="android" and OS!="ios" and chromecast==0', {
650              'dependencies': [
651                '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests_run',
652                '../mojo/mojo_edk_tests.gyp:mojo_js_unittests_run',
653                '../mojo/mojo_edk_tests.gyp:mojo_js_integration_tests_run',
654                '../mojo/mojo_edk_tests.gyp:mojo_system_unittests_run',
655                '../services/shell/shell.gyp:mojo_shell_unittests_run',
656              ],
657            }],
658            ['use_ash==1', {
659              'dependencies': [
660                '../ash/ash.gyp:ash_unittests_run',
661              ],
662            }],
663            ['enable_app_list==1', {
664              'dependencies': [
665                '../ui/app_list/app_list.gyp:app_list_unittests_run',
666              ],
667            }],
668            ['enable_app_list==1 and use_aura==1', {
669              'dependencies': [
670                '../ui/app_list/presenter/app_list_presenter.gyp:app_list_presenter_unittests_run',
671              ],
672            }],
673            ['use_aura==1', {
674              'dependencies': [
675                '../ui/aura/aura.gyp:aura_unittests_run',
676                '../ui/wm/wm.gyp:wm_unittests_run',
677              ],
678            }],
679            ['enable_webrtc==1 or OS!="android"', {
680              'dependencies': [
681                '../jingle/jingle.gyp:jingle_unittests_run',
682              ],
683            }],
684            ['disable_nacl==0 and disable_nacl_untrusted==0', {
685              'dependencies': [
686                '../components/nacl.gyp:nacl_loader_unittests_run',
687              ]
688            }],
689            ['toolkit_views==1', {
690              'dependencies': [
691                '../ui/views/views.gyp:views_unittests_run',
692              ],
693            }],
694          ],
695        }],
696        ['chromeos==1', {
697          'dependencies': [
698            '../media/media.gyp:jpeg_decode_accelerator_unittest',
699          ],
700        }],
701        ['chromeos==1 or OS=="mac"', {
702          'dependencies': [
703            '../media/media.gyp:video_encode_accelerator_unittest',
704          ],
705        }],
706        ['chromeos==1 and target_arch != "arm"', {
707          'dependencies': [
708            '../media/media.gyp:vaapi_jpeg_decoder_unittest',
709          ],
710        }],
711        ['chromeos==1 or OS=="win" or OS=="android"', {
712          'dependencies': [
713            '../media/media.gyp:video_decode_accelerator_unittest',
714          ],
715        }],
716        ['OS=="linux" or OS=="win"', {
717          'dependencies': [
718            # TODO(GYP): Figure out which of these run on android/mac/win/ios/etc.
719            '../remoting/remoting.gyp:ar_sample_test_driver',
720
721            # TODO(GYP): in progress - see tfarina.
722            '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
723            '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
724          ],
725        }],
726        ['OS=="win"', {
727          'dependencies': [
728            # TODO(GYP): All of these targets still need to be converted.
729            '../chrome/chrome.gyp:gcapi_dll',
730            '../chrome/chrome.gyp:gcapi_test',
731            '../chrome/chrome.gyp:pack_policy_templates',
732
733            # This is a safe browsing utility only necessary for developers.
734            # For now, we can skip this and anybody that needs this can add it
735            # to the GN build.
736            '../chrome/chrome.gyp:sb_sigutil',
737
738            '../components/test_runner/test_runner.gyp:layout_test_helper',
739            '../content/content_shell_and_tests.gyp:content_shell_crash_service',
740            '../gpu/gpu.gyp:angle_end2end_tests',
741            '../gpu/gpu.gyp:angle_perftests',
742            '../ppapi/ppapi_internal.gyp:ppapi_perftests',
743            '../remoting/remoting.gyp:ar_sample_test_driver',
744            '../remoting/remoting.gyp:remoting_breakpad_tester',
745            '../remoting/remoting.gyp:remoting_console',
746            '../remoting/remoting.gyp:remoting_desktop',
747            '../tools/win/static_initializers/static_initializers.gyp:static_initializers',
748          ],
749        }],
750        ['OS=="win" and target_arch=="ia32"', {
751          'dependencies': [
752            # TODO(GYP): All of these targets need to be ported over.
753            '../base/base.gyp:base_win64',
754            '../base/base.gyp:base_i18n_nacl_win64',
755            '../chrome/chrome.gyp:launcher_support64',
756            '../components/components.gyp:breakpad_win64',
757            '../courgette/courgette.gyp:courgette64',
758            '../crypto/crypto.gyp:crypto_nacl_win64',
759            '../ipc/ipc.gyp:ipc_win64',
760            '../sandbox/sandbox.gyp:sandbox_win64',
761          ],
762        }],
763        ['OS=="win" and target_arch=="ia32" and configuration_policy==1', {
764          'dependencies': [
765            # TODO(GYP): All of these targets need to be ported over.
766            '../components/components.gyp:policy_win64',
767          ]
768        }],
769        ['OS=="android"', {
770          'dependencies': [
771            '../components/components.gyp:cronet_perf_test_apk',
772            '../url/url.gyp:url_unittests',
773          ],
774        }],
775        ['OS=="android" and chromecast==0', {
776          'dependencies': [
777            '../android_webview/android_webview.gyp:android_webview_apk',
778            '../android_webview/android_webview.gyp:android_webview_test_apk',
779            '../android_webview/android_webview.gyp:android_webview_unittests',
780            '../android_webview/android_webview.gyp:android_webview_unittests_apk',
781          ],
782        }],
783        ['OS=="android" and chromecast==0 and use_webview_internal_framework==0', {
784          'dependencies': [
785            '../android_webview/android_webview.gyp:system_webview_apk',
786          ],
787        }],
788        ['OS=="android" and target_arch != "x64"', {
789          'dependencies': [
790            '../third_party/android_platform/relocation_packer.gyp:android_relocation_packer_unittests#host'
791          ],
792        }],
793      ],
794    },
795  ]
796}
797