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