• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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{
6  'variables': {
7    # A hook that can be overridden in other repositories to add additional
8    # compilation targets to 'All'.
9    'app_targets%': [],
10    # For Android-specific targets.
11    'android_app_targets%': [],
12  },
13  'includes': [
14    '../third_party/openh264/openh264_args.gypi',
15  ],
16  'targets': [
17    {
18      'target_name': 'All',
19      'type': 'none',
20      'xcode_create_dependents_test_runner': 1,
21      'dependencies': [
22        '<@(app_targets)',
23        'some.gyp:*',
24        '../base/base.gyp:*',
25        '../components/components.gyp:*',
26        '../components/components_tests.gyp:*',
27        '../crypto/crypto.gyp:*',
28        '../net/net.gyp:*',
29        '../sdch/sdch.gyp:*',
30        '../sql/sql.gyp:*',
31        '../testing/gmock.gyp:*',
32        '../testing/gtest.gyp:*',
33        '../third_party/boringssl/boringssl.gyp:*',
34        '../third_party/icu/icu.gyp:*',
35        '../third_party/libxml/libxml.gyp:*',
36        '../third_party/sqlite/sqlite.gyp:*',
37        '../third_party/zlib/zlib.gyp:*',
38        '../ui/accessibility/accessibility.gyp:*',
39        '../ui/base/ui_base.gyp:*',
40        '../ui/display/display.gyp:display_unittests',
41        '../ui/snapshot/snapshot.gyp:*',
42        '../url/url.gyp:*',
43      ],
44      'conditions': [
45        ['OS!="ios" and OS!="mac"', {
46          'dependencies': [
47            '../ui/touch_selection/ui_touch_selection.gyp:*',
48          ],
49        }],
50        ['OS=="ios"', {
51          'dependencies': [
52            '../ios/ios.gyp:*',
53            # NOTE: This list of targets is present because
54            # mojo_base.gyp:mojo_base cannot be built on iOS, as
55            # javascript-related targets cause v8 to be built.
56            # TODO(crbug.com/605508): http://crrev.com/1832703002 introduced
57            # a dependency on //third_party/WebKit that cause build failures
58            # when using Xcode version of clang (loading clang plugin fails).
59            # '../mojo/mojo_base.gyp:mojo_common_lib',
60            # '../mojo/mojo_base.gyp:mojo_common_unittests',
61            # '../mojo/mojo_edk.gyp:mojo_system_impl',
62            # '../mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests',
63            # '../mojo/mojo_edk_tests.gyp:mojo_public_system_unittests',
64            # '../mojo/mojo_edk_tests.gyp:mojo_system_unittests',
65            # '../mojo/mojo_public.gyp:mojo_cpp_bindings',
66            # '../mojo/mojo_public.gyp:mojo_public_test_utils',
67            # '../mojo/mojo_public.gyp:mojo_system',
68            '../google_apis/google_apis.gyp:google_apis_unittests',
69            '../skia/skia_tests.gyp:skia_unittests',
70            '../ui/base/ui_base_tests.gyp:ui_base_unittests',
71            '../ui/gfx/gfx_tests.gyp:gfx_unittests',
72          ],
73        }, { # 'OS!="ios"
74          'dependencies': [
75            '../content/content.gyp:*',
76            '../device/bluetooth/bluetooth.gyp:*',
77            '../device/device_tests.gyp:*',
78          ],
79        }],
80        ['OS=="android"', {
81          'dependencies': [
82            '../content/content_shell_and_tests.gyp:content_shell_apk',
83            '<@(android_app_targets)',
84            'android_builder_tests',
85            '../third_party/catapult/telemetry/telemetry.gyp:*#host',
86            # TODO(nyquist) This should instead by a target for sync when all of
87            # the sync-related code for Android has been upstreamed.
88            # See http://crbug.com/159203
89            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_javalib',
90          ],
91          'conditions': [
92            ['chromecast==0', {
93              'dependencies': [
94                '../android_webview/android_webview.gyp:android_webview_apk',
95                '../android_webview/android_webview_shell.gyp:system_webview_shell_apk',
96                '../chrome/android/chrome_apk.gyp:chrome_public_apk',
97                '../chrome/android/chrome_apk.gyp:chrome_sync_shell_apk',
98              ],
99            }],
100            ['chromecast==0 and use_webview_internal_framework==0', {
101              'dependencies': [
102                '../android_webview/android_webview.gyp:system_webview_apk',
103              ],
104            }],
105            # TODO: Enable packed relocations for x64. See: b/20532404
106            ['target_arch != "x64"', {
107              'dependencies': [
108                '../third_party/android_platform/relocation_packer.gyp:android_relocation_packer_unittests#host',
109              ],
110            }],
111          ],
112        }, {
113          'dependencies': [
114            # TODO: This should build on Android and the target should move to the list above.
115            '../sync/sync.gyp:*',
116          ],
117          'conditions': [
118            ['OS!="ios"', {
119              'dependencies': [
120                '../content/content_shell_and_tests.gyp:*',
121              ],
122            }],
123          ],
124        }],
125        ['OS!="ios" and OS!="android" and chromecast==0', {
126          'dependencies': [
127            '../third_party/re2/re2.gyp:re2',
128            '../chrome/chrome.gyp:*',
129            '../cc/blink/cc_blink_tests.gyp:*',
130            '../cc/cc_tests.gyp:*',
131            '../device/usb/usb.gyp:*',
132            '../extensions/extensions.gyp:*',
133            '../extensions/extensions_tests.gyp:*',
134            '../gin/gin.gyp:*',
135            '../gpu/gpu.gyp:*',
136            '../gpu/tools/tools.gyp:*',
137            '../ipc/ipc.gyp:*',
138            '../ipc/mojo/ipc_mojo.gyp:*',
139            '../jingle/jingle.gyp:*',
140            '../media/cast/cast.gyp:*',
141            '../media/media.gyp:*',
142            '../media/midi/midi.gyp:*',
143            '../mojo/mojo.gyp:*',
144            '../mojo/mojo_base.gyp:*',
145            '../ppapi/ppapi.gyp:*',
146            '../ppapi/ppapi_internal.gyp:*',
147            '../ppapi/tools/ppapi_tools.gyp:*',
148            '../services/shell/shell.gyp:*',
149            '../skia/skia.gyp:*',
150            '../sync/tools/sync_tools.gyp:*',
151            '../third_party/catapult/telemetry/telemetry.gyp:*',
152            '../third_party/WebKit/public/all.gyp:*',
153            '../third_party/cacheinvalidation/cacheinvalidation.gyp:*',
154            '../third_party/codesighs/codesighs.gyp:*',
155            '../third_party/ffmpeg/ffmpeg.gyp:*',
156            '../third_party/iccjpeg/iccjpeg.gyp:*',
157            '../third_party/libpng/libpng.gyp:*',
158            '../third_party/libusb/libusb.gyp:*',
159            '../third_party/libwebp/libwebp.gyp:*',
160            '../third_party/libxslt/libxslt.gyp:*',
161            '../third_party/lzma_sdk/lzma_sdk.gyp:*',
162            '../third_party/mesa/mesa.gyp:*',
163            '../third_party/modp_b64/modp_b64.gyp:*',
164            '../third_party/ots/ots.gyp:*',
165            '../third_party/pdfium/samples/samples.gyp:*',
166            '../third_party/qcms/qcms.gyp:*',
167            '../tools/battor_agent/battor_agent.gyp:*',
168            '../tools/gn/gn.gyp:*',
169            '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
170            '../v8/src/v8.gyp:*',
171            '<(libjpeg_gyp_path):*',
172          ],
173        }],
174        ['OS=="win" or OS=="ios" or OS=="linux"', {
175          'dependencies': [
176            '../breakpad/breakpad.gyp:*',
177           ],
178        }],
179        ['OS=="mac"', {
180          'dependencies': [
181            '../sandbox/sandbox.gyp:*',
182            '../third_party/crashpad/crashpad/crashpad.gyp:*',
183            '../third_party/ocmock/ocmock.gyp:*',
184          ],
185          'conditions': [
186            ['enable_ipc_fuzzer==1', {
187              'dependencies': [
188                '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
189              ],
190            }],
191          ],
192        }],
193        ['OS=="linux"', {
194          'dependencies': [
195            '../courgette/courgette.gyp:*',
196            '../sandbox/sandbox.gyp:*',
197          ],
198          'conditions': [
199            ['branding=="Chrome"', {
200              'dependencies': [
201                '../chrome/chrome.gyp:linux_packages_<(channel)',
202              ],
203            }],
204            ['enable_ipc_fuzzer==1', {
205              'dependencies': [
206                '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
207              ],
208            }],
209            ['use_dbus==1', {
210              'dependencies': [
211                '../dbus/dbus.gyp:*',
212              ],
213            }],
214          ],
215        }],
216        ['chromecast==1', {
217          'dependencies': [
218            '../chromecast/chromecast.gyp:*',
219          ],
220        }],
221        ['use_x11==1', {
222          'dependencies': [
223            '../tools/xdisplaycheck/xdisplaycheck.gyp:*',
224          ],
225        }],
226        ['OS=="win"', {
227          'dependencies': [
228            '../chrome_elf/chrome_elf.gyp:*',
229            '../courgette/courgette.gyp:*',
230            '../rlz/rlz.gyp:*',
231            '../sandbox/sandbox.gyp:*',
232            '<(angle_path)/src/angle.gyp:*',
233            '../third_party/bspatch/bspatch.gyp:*',
234            '../tools/win/static_initializers/static_initializers.gyp:*',
235          ],
236        }],
237        ['toolkit_views==1', {
238          'dependencies': [
239            '../ui/views/controls/webview/webview.gyp:*',
240            '../ui/views/views.gyp:*',
241          ],
242        }],
243        ['use_aura==1', {
244          'dependencies': [
245            '../ash/ash.gyp:*',
246            '../ui/aura/aura.gyp:*',
247            '../ui/aura_extra/aura_extra.gyp:*',
248          ],
249        }],
250        ['remoting==1', {
251          'dependencies': [
252            '../remoting/remoting_all.gyp:remoting_all',
253          ],
254        }],
255        ['OS!="ios"', {
256          'dependencies': [
257            '../third_party/boringssl/boringssl_tests.gyp:*',
258          ],
259        }],
260        ['enable_app_list==1', {
261          'dependencies': [
262            '../ui/app_list/app_list.gyp:*',
263          ],
264        }],
265        ['OS!="android" and OS!="ios"', {
266          'dependencies': [
267            '../google_apis/gcm/gcm.gyp:*',
268          ],
269        }],
270        ['(chromeos==1 or OS=="linux" or OS=="win" or OS=="mac") and chromecast==0', {
271          'dependencies': [
272            '../extensions/shell/app_shell.gyp:*',
273          ],
274        }],
275        ['envoy==1', {
276          'dependencies': [
277            '../envoy/envoy.gyp:*',
278          ],
279        }],
280        ['use_openh264==1', {
281          'dependencies': [
282            '../third_party/openh264/openh264.gyp:*',
283          ],
284        }],
285        ['enable_basic_printing==1 or enable_print_preview==1', {
286          'dependencies': [
287            '../printing/printing.gyp:*',
288          ],
289        }],
290      ],
291    }, # target_name: All
292    {
293      'target_name': 'All_syzygy',
294      'type': 'none',
295      'conditions': [
296        ['OS=="win" and fastbuild==0 and target_arch=="ia32" and '
297            '(syzyasan==1 or syzygy_optimize==1)', {
298          'dependencies': [
299            '../chrome/installer/mini_installer_syzygy.gyp:*',
300          ],
301        }],
302      ],
303    }, # target_name: All_syzygy
304    {
305      # Note: Android uses android_builder_tests below.
306      # TODO: Consider merging that with this target.
307      'target_name': 'chromium_builder_tests',
308      'type': 'none',
309      'dependencies': [
310        '../base/base.gyp:base_unittests',
311        '../components/components_tests.gyp:components_unittests',
312        '../crypto/crypto.gyp:crypto_unittests',
313        '../net/net.gyp:net_unittests',
314        '../skia/skia_tests.gyp:skia_unittests',
315        '../sql/sql.gyp:sql_unittests',
316        '../sync/sync.gyp:sync_unit_tests',
317        '../ui/base/ui_base_tests.gyp:ui_base_unittests',
318        '../ui/display/display.gyp:display_unittests',
319        '../ui/gfx/gfx_tests.gyp:gfx_unittests',
320        '../url/url.gyp:url_unittests',
321      ],
322      'conditions': [
323        ['OS!="ios"', {
324          'dependencies': [
325            '../ui/gl/gl_tests.gyp:gl_unittests',
326            '../url/ipc/url_ipc.gyp:url_ipc_unittests',
327          ],
328        }],
329        ['OS!="ios" and OS!="mac"', {
330          'dependencies': [
331            '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
332          ],
333        }],
334        ['OS!="ios" and OS!="android"', {
335          'dependencies': [
336            '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
337            '../cc/cc_tests.gyp:cc_unittests',
338            '../content/content_shell_and_tests.gyp:content_browsertests',
339            '../content/content_shell_and_tests.gyp:content_shell',
340            '../content/content_shell_and_tests.gyp:content_unittests',
341            '../device/device_tests.gyp:device_unittests',
342            '../gin/gin.gyp:gin_unittests',
343            '../google_apis/google_apis.gyp:google_apis_unittests',
344            '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',
345            '../gpu/gpu.gyp:gpu_unittests',
346            '../ipc/ipc.gyp:ipc_tests',
347            '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
348            '../jingle/jingle.gyp:jingle_unittests',
349            '../media/cast/cast.gyp:cast_unittests',
350            '../media/media.gyp:media_unittests',
351            '../media/midi/midi.gyp:midi_unittests',
352            '../mojo/mojo.gyp:mojo',
353            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
354            '../remoting/remoting.gyp:remoting_unittests',
355            '../third_party/catapult/telemetry/telemetry.gyp:*',
356            '../third_party/WebKit/public/all.gyp:all_blink',
357            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
358            '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
359            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
360            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
361          ],
362        }],
363        ['OS!="ios" and OS!="android" and chromecast==0', {
364          'dependencies': [
365            '../chrome/chrome.gyp:browser_tests',
366            '../chrome/chrome.gyp:chromedriver_tests',
367            '../chrome/chrome.gyp:chromedriver_unittests',
368            '../chrome/chrome.gyp:interactive_ui_tests',
369            '../chrome/chrome.gyp:sync_integration_tests',
370            '../chrome/chrome.gyp:unit_tests',
371            '../extensions/extensions_tests.gyp:extensions_browsertests',
372            '../extensions/extensions_tests.gyp:extensions_unittests',
373          ],
374        }],
375        ['OS=="win"', {
376          'dependencies': [
377            '../chrome/chrome.gyp:installer_util_unittests',
378            '../chrome/chrome.gyp:setup_unittests',
379            # ../chrome/test/mini_installer requires mini_installer.
380            '../chrome/installer/mini_installer.gyp:mini_installer',
381            '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
382            '../courgette/courgette.gyp:courgette_unittests',
383            '../sandbox/sandbox.gyp:sbox_integration_tests',
384            '../sandbox/sandbox.gyp:sbox_unittests',
385            '../sandbox/sandbox.gyp:sbox_validation_tests',
386          ],
387          'conditions': [
388            # remoting_host_installation uses lots of non-trivial GYP that tend
389            # to break because of differences between ninja and msbuild. Make
390            # sure this target is built by the builders on the main waterfall.
391            # See http://crbug.com/180600.
392            ['wix_exists == "True" and sas_dll_exists == "True"', {
393              'dependencies': [
394                '../remoting/remoting.gyp:remoting_host_installation',
395              ],
396            }],
397            ['syzyasan==1', {
398              'variables': {
399                # Disable incremental linking for all modules.
400                # 0: inherit, 1: disabled, 2: enabled.
401                'msvs_debug_link_incremental': '1',
402                'msvs_large_module_debug_link_mode': '1',
403                # Disable RTC. Syzygy explicitly doesn't support RTC
404                # instrumented binaries for now.
405                'win_debug_RuntimeChecks': '0',
406              },
407              'defines': [
408                # Disable iterator debugging (huge speed boost).
409                '_HAS_ITERATOR_DEBUGGING=0',
410              ],
411              'msvs_settings': {
412                'VCLinkerTool': {
413                  # Enable profile information (necessary for SyzyAsan
414                  # instrumentation). This is incompatible with incremental
415                  # linking.
416                  'Profile': 'true',
417                },
418              }
419            }],
420            ['component!="shared_library" or target_arch!="ia32"', {
421              'dependencies': [
422                '../chrome/installer/mini_installer.gyp:next_version_mini_installer',
423              ],
424            }],
425          ],
426        }],
427        ['chromeos==1', {
428          'dependencies': [
429            '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
430            '../ui/arc/arc.gyp:ui_arc_unittests',
431          ],
432        }],
433        ['OS=="linux"', {
434          'dependencies': [
435            '../sandbox/sandbox.gyp:sandbox_linux_unittests',
436          ],
437        }],
438        ['OS=="linux" and use_dbus==1', {
439          'dependencies': [
440            '../dbus/dbus.gyp:dbus_unittests',
441          ],
442        }],
443        ['OS=="mac"', {
444          'dependencies': [
445            '../ui/message_center/message_center.gyp:*',
446          ],
447        }],
448        ['test_isolation_mode != "noop"', {
449          'dependencies': [
450            'chromium_swarm_tests',
451          ],
452        }],
453        ['OS!="android"', {
454          'dependencies': [
455            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
456          ],
457        }],
458        ['enable_basic_printing==1 or enable_print_preview==1', {
459          'dependencies': [
460            '../printing/printing.gyp:printing_unittests',
461          ],
462        }],
463        ['enable_app_list==1', {
464          'dependencies': [
465            '../ui/app_list/app_list.gyp:app_list_unittests',
466          ],
467        }],
468        ['enable_app_list==1 and use_aura==1', {
469          'dependencies': [
470            '../ui/app_list/presenter/app_list_presenter.gyp:app_list_presenter_unittests',
471          ],
472        }],
473        ['use_aura==1', {
474          'dependencies': [
475            '../ash/ash.gyp:ash_unittests',
476            '../ui/aura/aura.gyp:aura_unittests',
477            '../ui/compositor/compositor.gyp:compositor_unittests',
478          ],
479        }],
480        ['use_aura==1 and chromecast==0', {
481          'dependencies': [
482            '../ui/keyboard/keyboard.gyp:keyboard_unittests',
483            '../ui/views/views.gyp:views_unittests',
484          ],
485        }],
486        ['use_aura==1 or toolkit_views==1', {
487          'dependencies': [
488            '../ui/events/events_unittests.gyp:events_unittests',
489          ],
490        }],
491        ['disable_nacl==0', {
492          'dependencies': [
493            '../components/nacl.gyp:nacl_loader_unittests',
494          ],
495        }],
496        ['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test==1', {
497          'dependencies': [
498            '../components/nacl.gyp:nacl_helper_nonsfi_unittests',
499          ],
500        }],
501      ],
502    }, # target_name: chromium_builder_tests
503  ],
504  'conditions': [
505    # TODO(GYP): make gn_migration.gypi work unconditionally.
506    ['OS=="mac" or OS=="win" or (OS=="android" and chromecast==0) or (OS=="linux" and target_arch=="x64" and chromecast==0)', {
507      'includes': [
508        'gn_migration.gypi',
509      ],
510    }],
511    ['OS!="ios"', {
512      'targets': [
513        {
514          'target_name': 'blink_tests',
515          'type': 'none',
516          'dependencies': [
517            '../third_party/WebKit/public/all.gyp:all_blink',
518          ],
519          'conditions': [
520            ['OS=="android"', {
521              'dependencies': [
522                '../content/content_shell_and_tests.gyp:content_shell_apk',
523                '../breakpad/breakpad.gyp:dump_syms#host',
524                '../breakpad/breakpad.gyp:minidump_stackwalk#host',
525                '../tools/imagediff/image_diff.gyp:image_diff#host',
526              ],
527            }, {  # OS!="android"
528              'dependencies': [
529                '../content/content_shell_and_tests.gyp:content_shell',
530                '../tools/imagediff/image_diff.gyp:image_diff',
531              ],
532            }],
533            ['OS=="win"', {
534              'dependencies': [
535                '../components/test_runner/test_runner.gyp:layout_test_helper',
536                '../content/content_shell_and_tests.gyp:content_shell_crash_service',
537              ],
538            }],
539            ['OS!="win" and OS!="android"', {
540              'dependencies': [
541                '../breakpad/breakpad.gyp:minidump_stackwalk',
542              ],
543            }],
544            ['OS=="mac"', {
545              'dependencies': [
546                '../components/test_runner/test_runner.gyp:layout_test_helper',
547                '../breakpad/breakpad.gyp:dump_syms#host',
548              ],
549            }],
550            ['OS=="linux"', {
551              'dependencies': [
552                '../breakpad/breakpad.gyp:dump_syms#host',
553              ],
554            }],
555          ],
556        }, # target_name: blink_tests
557      ],
558    }], # OS!=ios
559    ['OS!="ios" and OS!="android" and chromecast==0', {
560      'targets': [
561        {
562          'target_name': 'chromium_builder_nacl_win_integration',
563          'type': 'none',
564          'dependencies': [
565            'chromium_builder_tests',
566          ],
567        }, # target_name: chromium_builder_nacl_win_integration
568        {
569          'target_name': 'chromium_builder_perf',
570          'type': 'none',
571          'dependencies': [
572            '../cc/cc_tests.gyp:cc_perftests',
573            '../chrome/chrome.gyp:chrome',
574            '../chrome/chrome.gyp:load_library_perf_tests',
575            '../chrome/chrome.gyp:performance_browser_tests',
576            '../chrome/chrome.gyp:sync_performance_tests',
577            '../gpu/gpu.gyp:gpu_perftests',
578            '../media/media.gyp:media_perftests',
579            '../media/midi/midi.gyp:midi_unittests',
580            '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
581            '../third_party/catapult/telemetry/telemetry.gyp:*',
582          ],
583          'conditions': [
584            ['OS!="ios" and OS!="win"', {
585              'dependencies': [
586                '../breakpad/breakpad.gyp:minidump_stackwalk',
587              ],
588            }],
589            ['OS=="linux"', {
590              'dependencies': [
591                '../chrome/chrome.gyp:linux_symbols'
592              ],
593            }],
594            ['OS=="win"', {
595              'dependencies': [
596                '../chrome/installer/mini_installer.gyp:mini_installer',
597                '../gpu/gpu.gyp:angle_perftests',
598              ],
599            }],
600          ],
601        }, # target_name: chromium_builder_perf
602        {
603          'target_name': 'chromium_gpu_builder',
604          'type': 'none',
605          'dependencies': [
606            '../chrome/chrome.gyp:chrome',
607            '../chrome/chrome.gyp:performance_browser_tests',
608            '../content/content_shell_and_tests.gyp:content_browsertests',
609            '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
610            '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
611            '../gpu/gpu.gyp:gl_tests',
612            '../gpu/gpu.gyp:angle_unittests',
613            '../gpu/gpu.gyp:gpu_unittests',
614            '../gpu/gpu.gyp:command_buffer_gles2_tests',
615            '../third_party/catapult/telemetry/telemetry.gyp:*',
616          ],
617          'conditions': [
618            ['OS!="ios" and OS!="win"', {
619              'dependencies': [
620                '../breakpad/breakpad.gyp:minidump_stackwalk',
621              ],
622            }],
623            ['OS=="linux"', {
624              'dependencies': [
625                '../chrome/chrome.gyp:linux_symbols'
626              ],
627            }],
628          ],
629        }, # target_name: chromium_gpu_builder
630        {
631          'target_name': 'chromium_gpu_debug_builder',
632          'type': 'none',
633          'dependencies': [
634            '../chrome/chrome.gyp:chrome',
635            '../content/content_shell_and_tests.gyp:content_browsertests',
636            '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
637            '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
638            '../gpu/gpu.gyp:gl_tests',
639            '../gpu/gpu.gyp:angle_unittests',
640            '../gpu/gpu.gyp:gpu_unittests',
641            '../gpu/gpu.gyp:command_buffer_gles2_tests',
642            '../third_party/catapult/telemetry/telemetry.gyp:*',
643          ],
644          'conditions': [
645            ['OS!="ios" and OS!="win"', {
646              'dependencies': [
647                '../breakpad/breakpad.gyp:minidump_stackwalk',
648              ],
649            }],
650            ['OS=="linux"', {
651              'dependencies': [
652                '../chrome/chrome.gyp:linux_symbols'
653              ],
654            }],
655          ],
656        }, # target_name: chromium_gpu_debug_builder
657        {
658          # This target contains everything we need to run tests on the special
659          # device-equipped WebRTC bots. We have device-requiring tests in
660          # browser_tests and content_browsertests.
661          'target_name': 'chromium_builder_webrtc',
662          'type': 'none',
663          'dependencies': [
664            'chromium_builder_perf',
665            '../chrome/chrome.gyp:browser_tests',
666            '../content/content_shell_and_tests.gyp:content_browsertests',
667            '../content/content_shell_and_tests.gyp:content_unittests',
668            '../media/media.gyp:media_unittests',
669            '../media/midi/midi.gyp:midi_unittests',
670            '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
671            '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
672          ],
673          'conditions': [
674            ['remoting==1', {
675              'dependencies': [
676                '../remoting/remoting.gyp:*',
677              ],
678            }],
679          ],
680        },  # target_name: chromium_builder_webrtc
681        {
682          'target_name': 'chromium_builder_chromedriver',
683          'type': 'none',
684          'dependencies': [
685            '../chrome/chrome.gyp:chromedriver',
686            '../chrome/chrome.gyp:chromedriver_tests',
687            '../chrome/chrome.gyp:chromedriver_unittests',
688          ],
689        },  # target_name: chromium_builder_chromedriver
690        {
691          'target_name': 'chromium_builder_asan',
692          'type': 'none',
693          'dependencies': [
694            '../chrome/chrome.gyp:chrome',
695
696            # We refer to content_shell directly rather than blink_tests
697            # because we don't want the _unittests binaries.
698            '../content/content_shell_and_tests.gyp:content_shell',
699          ],
700          'conditions': [
701            ['OS!="win"', {
702              'dependencies': [
703                '../net/net.gyp:hpack_fuzz_wrapper',
704                '../net/net.gyp:dns_fuzz_stub',
705                '../skia/skia.gyp:filter_fuzz_stub',
706              ],
707            }],
708            ['enable_ipc_fuzzer==1 and component!="shared_library" and '
709                 '(OS=="linux" or OS=="win" or OS=="mac")', {
710              'dependencies': [
711                '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
712              ],
713            }],
714            ['chromeos==0', {
715              'dependencies': [
716                '../v8/samples/samples.gyp:v8_shell#host',
717                '../third_party/pdfium/samples/samples.gyp:pdfium_test',
718              ],
719            }],
720            ['internal_filter_fuzzer==1', {
721              'dependencies': [
722                '../skia/tools/clusterfuzz-data/fuzzers/filter_fuzzer/filter_fuzzer.gyp:filter_fuzzer',
723              ],
724            }], # internal_filter_fuzzer
725            ['clang==1', {
726              'dependencies': [
727                'sanitizers/sanitizers.gyp:llvm-symbolizer',
728              ],
729            }],
730            ['OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1', {
731              'dependencies': [
732                '../chrome/chrome_syzygy.gyp:chrome_dll_syzygy',
733                '../content/content_shell_and_tests.gyp:content_shell_syzyasan',
734              ],
735              'conditions': [
736                ['chrome_multiple_dll==1', {
737                  'dependencies': [
738                    '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
739                  ],
740                }],
741              ],
742            }],
743          ],
744        },
745        {
746          'target_name': 'chromium_builder_nacl_sdk',
747          'type': 'none',
748          'dependencies': [
749            '../chrome/chrome.gyp:chrome',
750          ],
751          'conditions': [
752            ['OS=="win"', {
753              'dependencies': [
754                '../chrome/chrome.gyp:chrome_nacl_win64',
755              ]
756            }],
757          ],
758        },  #target_name: chromium_builder_nacl_sdk
759      ],  # targets
760    }], #OS!=ios and OS!=android
761    ['OS=="android"', {
762      'targets': [
763        {
764          # The current list of tests for android.  This is temporary
765          # until the full set supported.
766          #
767          # WARNING:
768          # Do not add targets here without communicating the implications
769          # on tryserver triggers and load.  Discuss with
770          # chrome-infrastructure-team please.
771          'target_name': 'android_builder_tests',
772          'type': 'none',
773          'dependencies': [
774            '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
775            '../base/base.gyp:base_unittests',
776            '../breakpad/breakpad.gyp:breakpad_unittests_deps',
777            # Also compile the tools needed to deal with minidumps, they are
778            # needed to run minidump tests upstream.
779            '../breakpad/breakpad.gyp:dump_syms#host',
780            '../breakpad/breakpad.gyp:symupload#host',
781            '../breakpad/breakpad.gyp:minidump_dump#host',
782            '../breakpad/breakpad.gyp:minidump_stackwalk#host',
783            '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
784            '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
785            '../cc/cc_tests.gyp:cc_perftests_apk',
786            '../cc/cc_tests.gyp:cc_unittests',
787            '../components/components_tests.gyp:components_unittests',
788            '../content/content_shell_and_tests.gyp:content_browsertests',
789            '../content/content_shell_and_tests.gyp:content_junit_tests',
790            '../content/content_shell_and_tests.gyp:chromium_linker_test_apk',
791            '../content/content_shell_and_tests.gyp:content_shell_test_apk',
792            '../content/content_shell_and_tests.gyp:content_unittests',
793            '../gpu/gpu.gyp:gl_tests',
794            '../gpu/gpu.gyp:gpu_perftests_apk',
795            '../gpu/gpu.gyp:gpu_unittests',
796            '../ipc/ipc.gyp:ipc_tests',
797            '../media/media.gyp:media_perftests_apk',
798            '../media/media.gyp:media_unittests',
799            '../media/midi/midi.gyp:midi_unittests_apk',
800            '../media/midi/midi.gyp:midi_unittests',
801            '../net/net.gyp:net_unittests',
802            '../sandbox/sandbox.gyp:sandbox_linux_unittests_deps',
803            '../skia/skia_tests.gyp:skia_unittests',
804            '../sql/sql.gyp:sql_unittests',
805            '../sync/sync.gyp:sync_unit_tests',
806            '../testing/android/junit/junit_test.gyp:junit_unit_tests',
807            '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
808            '../third_party/WebKit/public/all.gyp:*',
809            '../tools/android/android_tools.gyp:android_tools',
810            '../tools/android/android_tools.gyp:memconsumer',
811            '../tools/android/android_tools.gyp:push_apps_to_background',
812            '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
813            '../tools/cygprofile/cygprofile.gyp:cygprofile_unittests',
814            '../ui/android/ui_android.gyp:ui_android_unittests',
815            '../ui/base/ui_base_tests.gyp:ui_base_unittests',
816            '../ui/events/events_unittests.gyp:events_unittests',
817            '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
818            # Unit test bundles packaged as an apk.
819            '../base/base.gyp:base_unittests_apk',
820            '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk',
821            '../cc/cc_tests.gyp:cc_unittests_apk',
822            '../components/components_tests.gyp:components_browsertests_apk',
823            '../components/components_tests.gyp:components_unittests_apk',
824            '../content/content_shell_and_tests.gyp:content_browsertests_apk',
825            '../content/content_shell_and_tests.gyp:content_unittests_apk',
826            '../gpu/gpu.gyp:command_buffer_gles2_tests_apk',
827            '../gpu/gpu.gyp:gl_tests_apk',
828            '../gpu/gpu.gyp:gpu_unittests_apk',
829            '../ipc/ipc.gyp:ipc_tests_apk',
830            '../media/media.gyp:media_unittests_apk',
831            '../media/media.gyp:video_decode_accelerator_unittest_apk',
832            '../media/midi/midi.gyp:midi_unittests_apk',
833            '../net/net.gyp:net_unittests_apk',
834            '../skia/skia_tests.gyp:skia_unittests_apk',
835            '../sql/sql.gyp:sql_unittests_apk',
836            '../sync/sync.gyp:sync_unit_tests_apk',
837            '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unittests_apk',
838            '../ui/android/ui_android.gyp:ui_android_unittests_apk',
839            '../ui/android/ui_android.gyp:ui_junit_tests',
840            '../ui/base/ui_base_tests.gyp:ui_base_unittests_apk',
841            '../ui/events/events_unittests.gyp:events_unittests_apk',
842            '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk',
843            '../ui/gl/gl_tests.gyp:gl_unittests_apk',
844            '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_apk',
845          ],
846          'conditions': [
847            ['chromecast==0', {
848              'dependencies': [
849                '../android_webview/android_webview.gyp:android_webview_unittests',
850                '../chrome/chrome.gyp:unit_tests',
851                # Unit test bundles packaged as an apk.
852                '../android_webview/android_webview.gyp:android_webview_test_apk',
853                '../android_webview/android_webview.gyp:android_webview_unittests_apk',
854                '../android_webview/android_webview_shell.gyp:system_webview_shell_layout_test_apk',
855                '../android_webview/android_webview_shell.gyp:system_webview_shell_page_cycler_apk',
856                '../chrome/android/chrome_apk.gyp:chrome_public_test_apk',
857                '../chrome/android/chrome_apk.gyp:chrome_sync_shell_test_apk',
858                '../chrome/chrome.gyp:chrome_junit_tests',
859                '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
860                '../chrome/chrome.gyp:unit_tests_apk',
861                '../third_party/custom_tabs_client/custom_tabs_client.gyp:custom_tabs_client_example_apk',
862              ],
863            }],
864          ],
865        },
866        {
867          # WebRTC Chromium tests to run on Android.
868          'target_name': 'android_builder_chromium_webrtc',
869          'type': 'none',
870          'dependencies': [
871            '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
872            '../content/content_shell_and_tests.gyp:content_browsertests',
873            '../tools/android/android_tools.gyp:android_tools',
874            '../tools/android/android_tools.gyp:memconsumer',
875            '../content/content_shell_and_tests.gyp:content_browsertests_apk',
876          ],
877        },  # target_name: android_builder_chromium_webrtc
878      ], # targets
879    }], # OS="android"
880    ['OS=="mac"', {
881      'targets': [
882        {
883          # Target to build everything plus the dmg.  We don't put the dmg
884          # in the All target because developers really don't need it.
885          'target_name': 'all_and_dmg',
886          'type': 'none',
887          'dependencies': [
888            'All',
889            '../chrome/chrome.gyp:build_app_dmg',
890          ],
891        },
892        # These targets are here so the build bots can use them to build
893        # subsets of a full tree for faster cycle times.
894        {
895          'target_name': 'chromium_builder_dbg',
896          'type': 'none',
897          'dependencies': [
898            '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
899            '../cc/cc_tests.gyp:cc_unittests',
900            '../chrome/chrome.gyp:browser_tests',
901            '../chrome/chrome.gyp:interactive_ui_tests',
902            '../chrome/chrome.gyp:sync_integration_tests',
903            '../chrome/chrome.gyp:unit_tests',
904            '../components/components_tests.gyp:components_unittests',
905            '../content/content_shell_and_tests.gyp:content_browsertests',
906            '../content/content_shell_and_tests.gyp:content_unittests',
907            '../device/device_tests.gyp:device_unittests',
908            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
909            '../gpu/gpu.gyp:gpu_unittests',
910            '../ipc/ipc.gyp:ipc_tests',
911            '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
912            '../jingle/jingle.gyp:jingle_unittests',
913            '../media/media.gyp:media_unittests',
914            '../media/midi/midi.gyp:midi_unittests',
915            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
916            '../printing/printing.gyp:printing_unittests',
917            '../remoting/remoting.gyp:remoting_unittests',
918            '../rlz/rlz.gyp:*',
919            '../skia/skia_tests.gyp:skia_unittests',
920            '../sql/sql.gyp:sql_unittests',
921            '../sync/sync.gyp:sync_unit_tests',
922            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
923            '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
924            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
925            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
926            '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
927            '../third_party/catapult/telemetry/telemetry.gyp:*',
928            '../ui/base/ui_base_tests.gyp:ui_base_unittests',
929            '../ui/gfx/gfx_tests.gyp:gfx_unittests',
930            '../ui/gl/gl_tests.gyp:gl_unittests',
931            '../url/url.gyp:url_unittests',
932          ],
933        },
934        {
935          'target_name': 'chromium_builder_rel',
936          'type': 'none',
937          'dependencies': [
938            '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
939            '../cc/cc_tests.gyp:cc_unittests',
940            '../chrome/chrome.gyp:browser_tests',
941            '../chrome/chrome.gyp:performance_browser_tests',
942            '../chrome/chrome.gyp:sync_integration_tests',
943            '../chrome/chrome.gyp:unit_tests',
944            '../components/components_tests.gyp:components_unittests',
945            '../content/content_shell_and_tests.gyp:content_browsertests',
946            '../content/content_shell_and_tests.gyp:content_unittests',
947            '../device/device_tests.gyp:device_unittests',
948            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
949            '../gpu/gpu.gyp:gpu_unittests',
950            '../ipc/ipc.gyp:ipc_tests',
951            '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
952            '../jingle/jingle.gyp:jingle_unittests',
953            '../media/media.gyp:media_unittests',
954            '../media/midi/midi.gyp:midi_unittests',
955            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
956            '../printing/printing.gyp:printing_unittests',
957            '../remoting/remoting.gyp:remoting_unittests',
958            '../skia/skia_tests.gyp:skia_unittests',
959            '../sql/sql.gyp:sql_unittests',
960            '../sync/sync.gyp:sync_unit_tests',
961            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
962            '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
963            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
964            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
965            '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
966            '../third_party/catapult/telemetry/telemetry.gyp:*',
967            '../ui/base/ui_base_tests.gyp:ui_base_unittests',
968            '../ui/gfx/gfx_tests.gyp:gfx_unittests',
969            '../ui/gl/gl_tests.gyp:gl_unittests',
970            '../url/url.gyp:url_unittests',
971          ],
972        },
973        {
974          'target_name': 'chromium_builder_dbg_tsan_mac',
975          'type': 'none',
976          'dependencies': [
977            '../base/base.gyp:base_unittests',
978            '../crypto/crypto.gyp:crypto_unittests',
979            '../ipc/ipc.gyp:ipc_tests',
980            '../jingle/jingle.gyp:jingle_unittests',
981            '../media/media.gyp:media_unittests',
982            '../media/midi/midi.gyp:midi_unittests',
983            '../net/net.gyp:net_unittests',
984            '../printing/printing.gyp:printing_unittests',
985            '../remoting/remoting.gyp:remoting_unittests',
986            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
987            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
988            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
989            '../url/url.gyp:url_unittests',
990          ],
991        },
992     ],  # targets
993    }], # OS="mac"
994    ['OS=="win"', {
995      'targets': [
996        # These targets are here so the build bots can use them to build
997        # subsets of a full tree for faster cycle times.
998        {
999          'target_name': 'chromium_builder',
1000          'type': 'none',
1001          'dependencies': [
1002            '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1003            '../cc/cc_tests.gyp:cc_unittests',
1004            '../chrome/chrome.gyp:browser_tests',
1005            '../chrome/chrome.gyp:gcapi_test',
1006            '../chrome/chrome.gyp:installer_util_unittests',
1007            '../chrome/chrome.gyp:interactive_ui_tests',
1008            '../chrome/chrome.gyp:performance_browser_tests',
1009            '../chrome/chrome.gyp:setup_unittests',
1010            '../chrome/chrome.gyp:sync_integration_tests',
1011            '../chrome/chrome.gyp:unit_tests',
1012            '../components/components_tests.gyp:components_unittests',
1013            '../content/content_shell_and_tests.gyp:content_browsertests',
1014            '../content/content_shell_and_tests.gyp:content_unittests',
1015            # ../chrome/test/mini_installer requires mini_installer.
1016            '../chrome/installer/mini_installer.gyp:mini_installer',
1017            '../courgette/courgette.gyp:courgette_unittests',
1018            '../device/device_tests.gyp:device_unittests',
1019            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1020            '../gpu/gpu.gyp:gpu_unittests',
1021            '../ipc/ipc.gyp:ipc_tests',
1022            '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1023            '../jingle/jingle.gyp:jingle_unittests',
1024            '../media/media.gyp:media_unittests',
1025            '../media/midi/midi.gyp:midi_unittests',
1026            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1027            '../printing/printing.gyp:printing_unittests',
1028            '../remoting/remoting.gyp:remoting_unittests',
1029            '../skia/skia_tests.gyp:skia_unittests',
1030            '../sql/sql.gyp:sql_unittests',
1031            '../sync/sync.gyp:sync_unit_tests',
1032            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1033            '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1034            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1035            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1036            '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
1037            '../third_party/catapult/telemetry/telemetry.gyp:*',
1038            '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1039            '../ui/events/events_unittests.gyp:events_unittests',
1040            '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1041            '../ui/gl/gl_tests.gyp:gl_unittests',
1042            '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1043            '../ui/views/views.gyp:views_unittests',
1044            '../url/url.gyp:url_unittests',
1045          ],
1046        },
1047        {
1048          'target_name': 'chromium_builder_dbg_tsan_win',
1049          'type': 'none',
1050          'dependencies': [
1051            '../base/base.gyp:base_unittests',
1052            '../components/components_tests.gyp:components_unittests',
1053            '../content/content_shell_and_tests.gyp:content_unittests',
1054            '../crypto/crypto.gyp:crypto_unittests',
1055            '../ipc/ipc.gyp:ipc_tests',
1056            '../jingle/jingle.gyp:jingle_unittests',
1057            '../media/media.gyp:media_unittests',
1058            '../media/midi/midi.gyp:midi_unittests',
1059            '../net/net.gyp:net_unittests',
1060            '../printing/printing.gyp:printing_unittests',
1061            '../remoting/remoting.gyp:remoting_unittests',
1062            '../sql/sql.gyp:sql_unittests',
1063            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1064            '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1065            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1066            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1067            '../url/url.gyp:url_unittests',
1068          ],
1069        },
1070        {
1071          'target_name': 'chromium_builder_lkgr_drmemory_win',
1072          'type': 'none',
1073          'dependencies': [
1074            '../components/test_runner/test_runner.gyp:layout_test_helper',
1075            '../content/content_shell_and_tests.gyp:content_shell',
1076            '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1077          ],
1078        },
1079        {
1080          'target_name': 'chromium_builder_dbg_drmemory_win',
1081          'type': 'none',
1082          'dependencies': [
1083            '../base/base.gyp:base_unittests',
1084            '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1085            '../cc/cc_tests.gyp:cc_unittests',
1086            '../chrome/chrome.gyp:browser_tests',
1087            '../chrome/chrome.gyp:chrome_app_unittests',
1088            '../chrome/chrome.gyp:chromedriver_unittests',
1089            '../chrome/chrome.gyp:installer_util_unittests',
1090            '../chrome/chrome.gyp:setup_unittests',
1091            '../chrome/chrome.gyp:unit_tests',
1092            '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
1093            '../components/components_tests.gyp:components_unittests',
1094            '../components/test_runner/test_runner.gyp:layout_test_helper',
1095            '../content/content_shell_and_tests.gyp:content_browsertests',
1096            '../content/content_shell_and_tests.gyp:content_shell',
1097            '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1098            '../content/content_shell_and_tests.gyp:content_unittests',
1099            '../courgette/courgette.gyp:courgette_unittests',
1100            '../crypto/crypto.gyp:crypto_unittests',
1101            '../device/device_tests.gyp:device_unittests',
1102            '../extensions/extensions_tests.gyp:extensions_browsertests',
1103            '../extensions/extensions_tests.gyp:extensions_unittests',
1104            '../gin/gin.gyp:gin_shell',
1105            '../gin/gin.gyp:gin_unittests',
1106            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1107            '../google_apis/google_apis.gyp:google_apis_unittests',
1108            '../gpu/gpu.gyp:angle_unittests',
1109            '../gpu/gpu.gyp:gpu_unittests',
1110            '../ipc/ipc.gyp:ipc_tests',
1111            '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1112            '../jingle/jingle.gyp:jingle_unittests',
1113            '../media/cast/cast.gyp:cast_unittests',
1114            '../media/media.gyp:media_unittests',
1115            '../media/midi/midi.gyp:midi_unittests',
1116            '../mojo/mojo.gyp:mojo',
1117            '../net/net.gyp:net_unittests',
1118            '../printing/printing.gyp:printing_unittests',
1119            '../remoting/remoting.gyp:remoting_unittests',
1120            '../skia/skia_tests.gyp:skia_unittests',
1121            '../sql/sql.gyp:sql_unittests',
1122            '../sync/sync.gyp:sync_unit_tests',
1123            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1124            '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1125            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1126            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1127            '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests',
1128            '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests',
1129            '../ui/accessibility/accessibility.gyp:accessibility_unittests',
1130            '../ui/aura/aura.gyp:aura_unittests',
1131            '../ui/compositor/compositor.gyp:compositor_unittests',
1132            '../ui/display/display.gyp:display_unittests',
1133            '../ui/events/events_unittests.gyp:events_unittests',
1134            '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1135            '../ui/gl/gl_tests.gyp:gl_unittests',
1136            '../ui/keyboard/keyboard.gyp:keyboard_unittests',
1137            '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1138            '../url/url.gyp:url_unittests',
1139          ],
1140        },
1141      ],  # targets
1142      'conditions': [
1143        ['branding=="Chrome"', {
1144          'targets': [
1145            {
1146              'target_name': 'chrome_official_builder_no_unittests',
1147              'type': 'none',
1148              'dependencies': [
1149                '../chrome/chrome.gyp:gcapi_dll',
1150                '../chrome/chrome.gyp:pack_policy_templates',
1151                '../chrome/installer/mini_installer.gyp:mini_installer',
1152                '../courgette/courgette.gyp:courgette',
1153                '../courgette/courgette.gyp:courgette64',
1154                '../remoting/remoting.gyp:remoting_webapp',
1155                '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
1156              ],
1157              'conditions': [
1158                ['component != "shared_library" and wix_exists == "True" and \
1159                    sas_dll_exists == "True"', {
1160                  'dependencies': [
1161                    '../remoting/remoting.gyp:remoting_host_installation',
1162                  ],
1163                }], # component != "shared_library"
1164              ]
1165            }, {
1166              'target_name': 'chrome_official_builder',
1167              'type': 'none',
1168              'dependencies': [
1169                'chrome_official_builder_no_unittests',
1170                '../base/base.gyp:base_unittests',
1171                '../chrome/chrome.gyp:browser_tests',
1172                '../chrome/chrome.gyp:sync_integration_tests',
1173                '../ipc/ipc.gyp:ipc_tests',
1174                '../media/media.gyp:media_unittests',
1175                '../media/midi/midi.gyp:midi_unittests',
1176                '../net/net.gyp:net_unittests',
1177                '../printing/printing.gyp:printing_unittests',
1178                '../sql/sql.gyp:sql_unittests',
1179                '../sync/sync.gyp:sync_unit_tests',
1180                '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1181                '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1182                '../ui/gl/gl_tests.gyp:gl_unittests',
1183                '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1184                '../ui/views/views.gyp:views_unittests',
1185                '../url/url.gyp:url_unittests',
1186              ],
1187            },
1188          ], # targets
1189        }], # branding=="Chrome"
1190       ], # conditions
1191    }], # OS="win"
1192    ['chromeos==1', {
1193      'targets': [
1194        {
1195          'target_name': 'chromiumos_preflight',
1196          'type': 'none',
1197          'dependencies': [
1198            '../breakpad/breakpad.gyp:minidump_stackwalk',
1199            '../chrome/chrome.gyp:chrome',
1200            '../chrome/chrome.gyp:chromedriver',
1201            '../media/media.gyp:media_unittests',
1202            '../media/media.gyp:video_decode_accelerator_unittest',
1203            '../media/media.gyp:video_encode_accelerator_unittest',
1204            '../ppapi/ppapi_internal.gyp:ppapi_example_video_decode',
1205            '../sandbox/sandbox.gyp:chrome_sandbox',
1206            '../sandbox/sandbox.gyp:sandbox_linux_unittests',
1207            '../third_party/catapult/telemetry/telemetry.gyp:bitmaptools#host',
1208            '../third_party/mesa/mesa.gyp:osmesa',
1209            '../tools/perf/clear_system_cache/clear_system_cache.gyp:clear_system_cache',
1210          ],
1211          'conditions': [
1212            ['disable_nacl==0', {
1213              'dependencies': [
1214                '../components/nacl.gyp:nacl_helper',
1215                '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap',
1216              ],
1217            }],
1218          ],
1219        },
1220      ],  # targets
1221    }], # "chromeos==1"
1222    ['use_aura==1', {
1223      'targets': [
1224        {
1225          'target_name': 'aura_builder',
1226          'type': 'none',
1227          'dependencies': [
1228            '../ash/ash.gyp:ash_shell_with_content',
1229            '../ash/ash.gyp:ash_unittests',
1230            '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1231            '../cc/cc_tests.gyp:cc_unittests',
1232            '../components/components_tests.gyp:components_unittests',
1233            '../content/content_shell_and_tests.gyp:content_browsertests',
1234            '../content/content_shell_and_tests.gyp:content_unittests',
1235            '../device/device_tests.gyp:device_unittests',
1236            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1237            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1238            '../remoting/remoting.gyp:remoting_unittests',
1239            '../skia/skia_tests.gyp:skia_unittests',
1240            '../ui/aura/aura.gyp:*',
1241            '../ui/aura_extra/aura_extra.gyp:*',
1242            '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1243            '../ui/compositor/compositor.gyp:*',
1244            '../ui/display/display.gyp:display_unittests',
1245            '../ui/events/events.gyp:*',
1246            '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1247            '../ui/gl/gl_tests.gyp:gl_unittests',
1248            '../ui/keyboard/keyboard.gyp:*',
1249            '../ui/snapshot/snapshot.gyp:snapshot_unittests',
1250            '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1251            '../ui/wm/wm.gyp:*',
1252            'blink_tests',
1253          ],
1254          'conditions': [
1255            ['OS=="linux"', {
1256              # Tests that currently only work on Linux.
1257              'dependencies': [
1258                '../base/base.gyp:base_unittests',
1259                '../ipc/ipc.gyp:ipc_tests',
1260                '../sql/sql.gyp:sql_unittests',
1261                '../sync/sync.gyp:sync_unit_tests',
1262              ],
1263            }],
1264            ['chromeos==1', {
1265              'dependencies': [
1266                '../chromeos/chromeos.gyp:chromeos_unittests',
1267                '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
1268              ],
1269            }],
1270            ['use_ozone==1', {
1271              'dependencies': [
1272                '../ui/ozone/ozone.gyp:*',
1273                '../ui/ozone/demo/ozone_demos.gyp:*',
1274              ],
1275            }],
1276            ['enable_app_list==1', {
1277              'dependencies': [
1278                '../ui/app_list/app_list.gyp:*',
1279              ],
1280            }],
1281            ['chromecast==0', {
1282              'dependencies': [
1283                '../chrome/chrome.gyp:browser_tests',
1284                '../chrome/chrome.gyp:chrome',
1285                '../chrome/chrome.gyp:interactive_ui_tests',
1286                '../chrome/chrome.gyp:unit_tests',
1287                '../ui/message_center/message_center.gyp:*',
1288                '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1289                '../ui/views/views.gyp:views',
1290                '../ui/views/views.gyp:views_unittests',
1291              ],
1292            }],
1293          ],
1294        },
1295      ],  # targets
1296    }], # "use_aura==1"
1297    ['test_isolation_mode != "noop"', {
1298      'targets': [
1299        {
1300          'target_name': 'chromium_swarm_tests',
1301          'type': 'none',
1302          'dependencies': [
1303            '../base/base.gyp:base_unittests_run',
1304            '../content/content_shell_and_tests.gyp:content_browsertests_run',
1305            '../content/content_shell_and_tests.gyp:content_unittests_run',
1306            '../net/net.gyp:net_unittests_run',
1307          ],
1308          'conditions': [
1309            ['chromecast==0', {
1310              'dependencies': [
1311                '../chrome/chrome.gyp:browser_tests_run',
1312                '../chrome/chrome.gyp:interactive_ui_tests_run',
1313                '../chrome/chrome.gyp:sync_integration_tests_run',
1314                '../chrome/chrome.gyp:unit_tests_run',
1315              ],
1316            }],
1317          ],
1318        }, # target_name: chromium_swarm_tests
1319      ],
1320    }],
1321    ['archive_chromoting_tests==1', {
1322      'targets': [
1323        {
1324          'target_name': 'chromoting_swarm_tests',
1325          'type': 'none',
1326          'dependencies': [
1327            '../testing/chromoting/integration_tests.gyp:*',
1328          ],
1329        }, # target_name: chromoting_swarm_tests
1330      ]
1331    }],
1332    ['archive_media_router_tests==1', {
1333      'targets': [
1334        {
1335          'target_name': 'media_router_swarming_tests',
1336          'type': 'none',
1337          'dependencies': [
1338            '../chrome/test/media_router/e2e_tests.gyp:media_router_e2e_tests_run',
1339          ],
1340        }, # target_name: media_router_swarming_tests
1341        {
1342          'target_name': 'media_router_swarming_perf_tests',
1343          'type': 'none',
1344          'dependencies': [
1345            '../chrome/test/media_router/e2e_tests.gyp:media_router_perf_tests_run',
1346          ],
1347        }, # target_name: media_router_swarming_perf_tests
1348      ]
1349    }],
1350    ['OS=="mac" and toolkit_views==1', {
1351      'targets': [
1352        {
1353          'target_name': 'macviews_builder',
1354          'type': 'none',
1355          'dependencies': [
1356            '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1357            '../ui/views/views.gyp:views',
1358            '../ui/views/views.gyp:views_unittests',
1359          ],
1360        },  # target_name: macviews_builder
1361      ],  # targets
1362    }],  # os=='mac' and toolkit_views==1
1363  ],  # conditions
1364}
1365