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  'targets': [
7    {
8      'target_name': 'All',
9      'type': 'none',
10      'xcode_create_dependents_test_runner': 1,
11      'dependencies': [
12        'some.gyp:*',
13        '../base/base.gyp:*',
14        '../chrome/chrome.gyp:*',
15        '../components/components.gyp:*',
16        '../components/components_tests.gyp:*',
17        '../content/content.gyp:*',
18        '../content/content_shell_and_tests.gyp:*',
19        '../crypto/crypto.gyp:*',
20        '../net/net.gyp:*',
21        '../sdch/sdch.gyp:*',
22        '../sql/sql.gyp:*',
23        '../sync/sync.gyp:*',
24        '../testing/gmock.gyp:*',
25        '../testing/gtest.gyp:*',
26        '../third_party/icu/icu.gyp:*',
27        '../third_party/libxml/libxml.gyp:*',
28        '../third_party/sqlite/sqlite.gyp:*',
29        '../third_party/zlib/zlib.gyp:*',
30        '../ui/accessibility/accessibility.gyp:*',
31        '../ui/snapshot/snapshot.gyp:*',
32        '../ui/ui.gyp:*',
33        '../url/url.gyp:*',
34      ],
35      'conditions': [
36        ['OS!="ios"', {
37          'dependencies': [
38            '../cc/cc_tests.gyp:*',
39            '../device/bluetooth/bluetooth.gyp:*',
40            '../device/device_tests.gyp:*',
41            '../device/usb/usb.gyp:*',
42            '../gin/gin.gyp:*',
43            '../gpu/gpu.gyp:*',
44            '../gpu/tools/tools.gyp:*',
45            '../ipc/ipc.gyp:*',
46            '../jingle/jingle.gyp:*',
47            '../media/cast/cast.gyp:*',
48            '../media/media.gyp:*',
49            '../mojo/mojo.gyp:*',
50            '../ppapi/ppapi.gyp:*',
51            '../ppapi/ppapi_internal.gyp:*',
52            '../printing/printing.gyp:*',
53            '../skia/skia.gyp:*',
54            '../third_party/cacheinvalidation/cacheinvalidation.gyp:*',
55            '../third_party/codesighs/codesighs.gyp:*',
56            '../third_party/ffmpeg/ffmpeg.gyp:*',
57            '../third_party/iccjpeg/iccjpeg.gyp:*',
58            '../third_party/libpng/libpng.gyp:*',
59            '../third_party/libusb/libusb.gyp:*',
60            '../third_party/libwebp/libwebp.gyp:*',
61            '../third_party/libxslt/libxslt.gyp:*',
62            '../third_party/lzma_sdk/lzma_sdk.gyp:*',
63            '../third_party/mesa/mesa.gyp:*',
64            '../third_party/modp_b64/modp_b64.gyp:*',
65            '../third_party/npapi/npapi.gyp:*',
66            '../third_party/ots/ots.gyp:*',
67            '../third_party/qcms/qcms.gyp:*',
68            '../third_party/re2/re2.gyp:re2',
69            '../third_party/WebKit/public/all.gyp:*',
70            '../tools/gn/gn.gyp:*',
71            '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
72            '../v8/tools/gyp/v8.gyp:*',
73            '../webkit/glue/webkit_glue.gyp:*',
74            '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:*',
75            '<(libjpeg_gyp_path):*',
76          ],
77        }, { #  'OS=="ios"'
78          'dependencies': [
79            '../ios/ios.gyp:*',
80            '../ui/ui_unittests.gyp:ui_unittests',
81          ],
82        }],
83        ['OS!="android" and OS!="ios"', {
84          'dependencies': [
85            '../chrome/tools/profile_reset/jtl_compiler.gyp:*',
86          ],
87        }],
88        ['os_posix==1 and OS!="android" and OS!="ios"', {
89          'dependencies': [
90            '../third_party/yasm/yasm.gyp:*#host',
91          ],
92        }],
93        ['OS=="mac" or OS=="ios" or OS=="win"', {
94          'dependencies': [
95            '../third_party/nss/nss.gyp:*',
96           ],
97        }],
98        ['OS=="win" or OS=="ios" or OS=="linux"', {
99          'dependencies': [
100            '../breakpad/breakpad.gyp:*',
101           ],
102        }],
103        ['OS=="mac"', {
104          'dependencies': [
105            '../third_party/ocmock/ocmock.gyp:*',
106          ],
107        }],
108        ['OS=="linux"', {
109          'dependencies': [
110            '../courgette/courgette.gyp:*',
111            '../dbus/dbus.gyp:*',
112            '../sandbox/sandbox.gyp:*',
113          ],
114          'conditions': [
115            ['branding=="Chrome"', {
116              'dependencies': [
117                '../chrome/chrome.gyp:linux_packages_<(channel)',
118              ],
119            }],
120            ['chromeos==0', {
121              'dependencies': [
122                '../third_party/cros_dbus_cplusplus/cros_dbus_cplusplus.gyp:*',
123                '../third_party/libmtp/libmtp.gyp:*',
124                '../third_party/mtpd/mtpd.gyp:*',
125              ],
126            }],
127            ['enable_ipc_fuzzer==1', {
128              'dependencies': [
129                '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
130              ],
131            }],
132          ],
133        }],
134        ['use_x11==1', {
135          'dependencies': [
136            '../tools/xdisplaycheck/xdisplaycheck.gyp:*',
137          ],
138        }],
139        ['toolkit_uses_gtk==1', {
140          'dependencies': [
141            '../tools/gtk_clipboard_dump/gtk_clipboard_dump.gyp:*',
142          ],
143        }],
144        ['OS=="win"', {
145          'conditions': [
146            ['win_use_allocator_shim==1', {
147              'dependencies': [
148                '../base/allocator/allocator.gyp:*',
149              ],
150            }],
151            # Don't enable dependencies that don't work on Win64.
152            ['target_arch!="x64"', {
153              'dependencies': [
154                # TODO(jschuh) Enable Win64 Memory Watcher. crbug.com/176877
155                '../tools/memory_watcher/memory_watcher.gyp:*',
156              ],
157            }],
158          ],
159          'dependencies': [
160            '../chrome_elf/chrome_elf.gyp:*',
161            '../cloud_print/cloud_print.gyp:*',
162            '../courgette/courgette.gyp:*',
163            '../rlz/rlz.gyp:*',
164            '../sandbox/sandbox.gyp:*',
165            '<(angle_path)/src/build_angle.gyp:*',
166            '../third_party/bspatch/bspatch.gyp:*',
167          ],
168        }, {
169          'dependencies': [
170            '../third_party/libevent/libevent.gyp:*',
171          ],
172        }],
173        ['toolkit_views==1', {
174          'dependencies': [
175            '../ui/views/controls/webview/webview.gyp:*',
176            '../ui/views/views.gyp:*',
177          ],
178        }],
179        ['use_aura==1', {
180          'dependencies': [
181            '../ui/aura/aura.gyp:*',
182            '../ui/oak/oak.gyp:*',
183          ],
184        }],
185        ['use_ash==1', {
186          'dependencies': [
187            '../ash/ash.gyp:*',
188          ],
189        }],
190        ['remoting==1', {
191          'dependencies': [
192            '../remoting/remoting.gyp:*',
193          ],
194        }],
195        ['use_openssl==0', {
196          'dependencies': [
197            '../net/third_party/nss/ssl.gyp:*',
198          ],
199        }],
200        ['enable_app_list==1', {
201          'dependencies': [
202            '../ui/app_list/app_list.gyp:*',
203          ],
204        }],
205        ['OS!="android" and OS!="ios"', {
206          'dependencies': [
207            '../google_apis/gcm/gcm.gyp:*',
208          ],
209        }],
210      ],
211    }, # target_name: All
212    {
213      'target_name': 'All_syzygy',
214      'type': 'none',
215      'conditions': [
216        ['OS=="win" and fastbuild==0 and target_arch=="ia32"', {
217          'dependencies': [
218            '../chrome/installer/mini_installer_syzygy.gyp:*',
219          ],
220        }],
221      ],
222    }, # target_name: All_syzygy
223    {
224      'target_name': 'chromium_builder_tests',
225      'type': 'none',
226      'dependencies': [
227        '../base/base.gyp:base_unittests',
228        '../components/components_tests.gyp:components_unittests',
229        '../crypto/crypto.gyp:crypto_unittests',
230        '../net/net.gyp:net_unittests',
231        '../sql/sql.gyp:sql_unittests',
232        '../sync/sync.gyp:sync_unit_tests',
233        '../ui/ui_unittests.gyp:ui_unittests',
234        '../url/url.gyp:url_unittests',
235      ],
236      'conditions': [
237        ['OS!="ios"', {
238          'dependencies': [
239            '../cc/cc_tests.gyp:cc_unittests',
240            '../chrome/chrome.gyp:browser_tests',
241            '../chrome/chrome.gyp:chromedriver_tests',
242            '../chrome/chrome.gyp:chromedriver_unittests',
243            # TODO(kkania): Remove these after infra no longer depends on them.
244            '../chrome/chrome.gyp:chromedriver2_unittests',
245            '../chrome/chrome.gyp:interactive_ui_tests',
246            '../chrome/chrome.gyp:sync_integration_tests',
247            '../chrome/chrome.gyp:unit_tests',
248            '../cloud_print/cloud_print.gyp:cloud_print_unittests',
249            '../content/content_shell_and_tests.gyp:content_browsertests',
250            '../content/content_shell_and_tests.gyp:content_shell',
251            '../content/content_shell_and_tests.gyp:content_unittests',
252            '../device/device_tests.gyp:device_unittests',
253            '../gin/gin.gyp:gin_unittests',
254            '../google_apis/google_apis.gyp:google_apis_unittests',
255            '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',
256            '../gpu/gpu.gyp:gpu_unittests',
257            '../ipc/ipc.gyp:ipc_tests',
258            '../jingle/jingle.gyp:jingle_unittests',
259            '../media/media.gyp:media_unittests',
260            '../mojo/mojo.gyp:mojo',
261            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
262            '../remoting/remoting.gyp:remoting_unittests',
263            '../third_party/WebKit/public/all.gyp:all_blink',
264            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
265            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
266            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
267            '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
268          ],
269        }],
270        ['OS=="win"', {
271          'dependencies': [
272            '../chrome/chrome.gyp:crash_service',
273            '../chrome/chrome.gyp:installer_util_unittests',
274            '../chrome/chrome.gyp:mini_installer_test',
275            # mini_installer_tests depends on mini_installer. This should be
276            # defined in installer.gyp.
277            '../chrome/installer/mini_installer.gyp:mini_installer',
278            '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
279            '../courgette/courgette.gyp:courgette_unittests',
280            '../sandbox/sandbox.gyp:sbox_integration_tests',
281            '../sandbox/sandbox.gyp:sbox_unittests',
282            '../sandbox/sandbox.gyp:sbox_validation_tests',
283            '../third_party/WebKit/public/blink_test_plugin.gyp:blink_test_plugin',
284            '../ui/app_list/app_list.gyp:app_list_unittests',
285            '../ui/views/views.gyp:views_unittests',
286          ],
287          'conditions': [
288            # remoting_host_installation uses lots of non-trivial GYP that tend
289            # to break because of differences between ninja and msbuild. Make
290            # sure this target is built by the builders on the main waterfall.
291            # See http://crbug.com/180600.
292            ['wix_exists == "True" and sas_dll_exists == "True"', {
293              'dependencies': [
294                '../remoting/remoting.gyp:remoting_host_installation',
295              ],
296            }],
297            ['asan==1', {
298              'variables': {
299                # Disable incremental linking for all modules.
300                # 0: inherit, 1: disabled, 2: enabled.
301                'msvs_debug_link_incremental': '1',
302                'msvs_large_module_debug_link_mode': '1',
303                # Disable RTC. Syzygy explicitly doesn't support RTC
304                # instrumented binaries for now.
305                'win_debug_RuntimeChecks': '0',
306              },
307              'defines': [
308                # Disable iterator debugging (huge speed boost).
309                '_HAS_ITERATOR_DEBUGGING=0',
310              ],
311              'msvs_settings': {
312                'VCLinkerTool': {
313                  # Enable profile information (necessary for asan
314                  # instrumentation). This is incompatible with incremental
315                  # linking.
316                  'Profile': 'true',
317                },
318              }
319            }],
320          ],
321        }],
322        ['OS=="linux"', {
323          'dependencies': [
324            '../sandbox/sandbox.gyp:sandbox_linux_unittests',
325            '../dbus/dbus.gyp:dbus_unittests',
326          ],
327        }],
328        ['OS=="mac"', {
329          'dependencies': [
330            '../ui/app_list/app_list.gyp:app_list_unittests',
331            '../ui/message_center/message_center.gyp:*',
332          ],
333        }],
334        ['test_isolation_mode != "noop"', {
335          'dependencies': [
336            'chromium_swarm_tests',
337          ],
338        }],
339        ['OS!="android" and OS!="ios"', {
340          'dependencies': [
341            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
342          ],
343        }],
344        ['enable_printing!=0', {
345          'dependencies': [
346            '../printing/printing.gyp:printing_unittests',
347          ],
348        }],
349        ['use_aura==1', {
350          'dependencies': [
351            '../ui/aura/aura.gyp:aura_unittests',
352            '../ui/compositor/compositor.gyp:compositor_unittests',
353            '../ui/keyboard/keyboard.gyp:keyboard_unittests',
354          ],
355        }],
356        ['use_aura==1 or toolkit_views==1', {
357          'dependencies': [
358            '../ui/events/events.gyp:events_unittests',
359          ],
360        }],
361        ['use_ash==1', {
362          'dependencies': [
363            '../ash/ash.gyp:ash_unittests',
364          ],
365        }],
366      ],
367    }, # target_name: chromium_builder_tests
368    {
369      'target_name': 'chromium_2010_builder_tests',
370      'type': 'none',
371      'dependencies': [
372        'chromium_builder_tests',
373      ],
374    }, # target_name: chromium_2010_builder_tests
375  ],
376  'conditions': [
377    ['OS!="ios"', {
378      'targets': [
379        {
380          'target_name': 'blink_tests',
381          'type': 'none',
382          'dependencies': [
383            '../third_party/WebKit/public/all.gyp:all_blink',
384            '../content/content_shell_and_tests.gyp:content_shell',
385          ],
386          'conditions': [
387            ['OS=="win"', {
388              'dependencies': [
389                '../content/content_shell_and_tests.gyp:content_shell_crash_service',
390              ],
391            }, {  # OS!="win"
392              'dependencies': [
393                '../breakpad/breakpad.gyp:minidump_stackwalk',
394              ],
395            }],
396            ['OS=="mac"', {
397              'dependencies': [
398                '../breakpad/breakpad.gyp:dump_syms#host',
399              ],
400            }],
401            ['OS=="linux"', {
402              'dependencies': [
403                '../breakpad/breakpad.gyp:dump_syms',
404              ],
405            }],
406          ],
407        }, # target_name: blink_tests
408        {
409          # TODO(jochen): Eventually remove this target after everybody and
410          # the bots started to use blink_tests only.
411          'target_name': 'all_webkit',
412          'type': 'none',
413          'dependencies': [
414            'blink_tests',
415          ],
416        }, # target_name: all_webkit
417        {
418          'target_name': 'chromium_builder_nacl_win_integration',
419          'type': 'none',
420          'dependencies': [
421            'chromium_builder_qa', # needed for pyauto
422            'chromium_builder_tests',
423          ],
424        }, # target_name: chromium_builder_nacl_win_integration
425        {
426          'target_name': 'chromium_builder_perf',
427          'type': 'none',
428          'dependencies': [
429            '../cc/cc_tests.gyp:cc_perftests',
430            '../chrome/chrome.gyp:chrome',
431            '../chrome/chrome.gyp:performance_browser_tests',
432            '../chrome/chrome.gyp:performance_ui_tests',
433            '../chrome/chrome.gyp:sync_performance_tests',
434            '../media/media.gyp:media_perftests',
435            '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
436          ],
437          'conditions': [
438            ['OS!="ios" and OS!="win"', {
439              'dependencies': [
440                '../breakpad/breakpad.gyp:minidump_stackwalk',
441              ],
442            }],
443            ['OS=="linux"', {
444              'dependencies': [
445                '../chrome/chrome.gyp:linux_symbols'
446              ],
447            }],
448            ['OS=="win"', {
449              'dependencies': [
450                '../chrome/chrome.gyp:crash_service',
451              ],
452            }],
453            ['OS=="win" and target_arch=="ia32"', {
454              'dependencies': [
455                '../chrome/chrome.gyp:crash_service_win64',
456              ],
457            }],
458          ],
459        }, # target_name: chromium_builder_perf
460        {
461          'target_name': 'chromium_gpu_builder',
462          'type': 'none',
463          'dependencies': [
464            '../chrome/chrome.gyp:chrome',
465            '../chrome/chrome.gyp:performance_browser_tests',
466            '../chrome/chrome.gyp:performance_ui_tests',
467            '../content/content_shell_and_tests.gyp:content_browsertests',
468            '../content/content_shell_and_tests.gyp:content_gl_tests',
469            '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
470            '../gpu/gpu.gyp:gl_tests',
471            '../gpu/gpu.gyp:angle_unittests',
472          ],
473          'conditions': [
474            ['OS!="ios" and OS!="win"', {
475              'dependencies': [
476                '../breakpad/breakpad.gyp:minidump_stackwalk',
477              ],
478            }],
479            ['OS=="linux"', {
480              'dependencies': [
481                '../chrome/chrome.gyp:linux_symbols'
482              ],
483            }],
484            ['OS=="win"', {
485              'dependencies': [
486                '../chrome/chrome.gyp:crash_service',
487              ],
488            }],
489            ['OS=="win" and target_arch=="ia32"', {
490              'dependencies': [
491                '../chrome/chrome.gyp:crash_service_win64',
492              ],
493            }],
494          ],
495        }, # target_name: chromium_gpu_builder
496        {
497          'target_name': 'chromium_gpu_debug_builder',
498          'type': 'none',
499          'dependencies': [
500            '../chrome/chrome.gyp:chrome',
501            '../content/content_shell_and_tests.gyp:content_browsertests',
502            '../content/content_shell_and_tests.gyp:content_gl_tests',
503            '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
504            '../gpu/gpu.gyp:gl_tests',
505            '../gpu/gpu.gyp:angle_unittests',
506          ],
507          'conditions': [
508            ['OS!="ios" and OS!="win"', {
509              'dependencies': [
510                '../breakpad/breakpad.gyp:minidump_stackwalk',
511              ],
512            }],
513            ['OS=="linux"', {
514              'dependencies': [
515                '../chrome/chrome.gyp:linux_symbols'
516              ],
517            }],
518            ['OS=="win"', {
519              'dependencies': [
520                '../chrome/chrome.gyp:crash_service',
521              ],
522            }],
523            ['OS=="win" and target_arch=="ia32"', {
524              'dependencies': [
525                '../chrome/chrome.gyp:crash_service_win64',
526              ],
527            }],
528          ],
529        }, # target_name: chromium_gpu_debug_builder
530        {
531          'target_name': 'chromium_builder_qa',
532          'type': 'none',
533          'dependencies': [
534            '../chrome/chrome.gyp:chrome',
535            # Dependencies of pyauto_functional tests.
536            '../remoting/remoting.gyp:remoting_webapp',
537            '../chrome/chrome.gyp:pyautolib',
538          ],
539          'conditions': [
540            ['OS=="mac"', {
541              'dependencies': [
542                '../remoting/remoting.gyp:remoting_me2me_host_archive',
543              ],
544            }],
545            ['OS=="win"', {
546              'dependencies': [
547                '../chrome/chrome.gyp:crash_service',
548              ],
549            }],
550            ['OS=="win" and target_arch=="ia32"', {
551              'dependencies': [
552                '../chrome/chrome.gyp:crash_service_win64',
553              ],
554            }],
555            ['OS=="win" and component != "shared_library" and wix_exists == "True" and sas_dll_exists == "True"', {
556              'dependencies': [
557                '../remoting/remoting.gyp:remoting_host_installation',
558              ],
559            }],
560          ],
561        }, # target_name: chromium_builder_qa
562        {
563          'target_name': 'chromium_builder_perf_av',
564          'type': 'none',
565          'dependencies': [
566            'blink_tests', # to run layout tests
567            'chromium_builder_qa',  # needed for perf pyauto tests
568          ],
569        },  # target_name: chromium_builder_perf_av
570        {
571          # This target contains everything we need to run tests on the special
572          # device-equipped WebRTC bots. We have device-requiring tests in
573          # PyAuto, browser_tests and content_browsertests.
574          'target_name': 'chromium_builder_webrtc',
575          'type': 'none',
576          'dependencies': [
577            'chromium_builder_qa',  # needed for perf pyauto tests
578            '../chrome/chrome.gyp:browser_tests',
579            '../content/content_shell_and_tests.gyp:content_browsertests',
580            '../content/content_shell_and_tests.gyp:content_unittests',
581            '../third_party/libjingle/libjingle.gyp:peerconnection_server',
582            '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
583            '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
584          ],
585          'conditions': [
586            ['OS=="win"', {
587              'dependencies': [
588                '../chrome/chrome.gyp:crash_service',
589              ],
590            }],
591          ],
592        },  # target_name: chromium_builder_webrtc
593        {
594          'target_name': 'chromium_builder_chromedriver',
595          'type': 'none',
596          'dependencies': [
597            '../chrome/chrome.gyp:chromedriver',
598            '../chrome/chrome.gyp:chromedriver_tests',
599            '../chrome/chrome.gyp:chromedriver_unittests',
600          ],
601        },  # target_name: chromium_builder_chromedriver
602        {
603          'target_name': 'chromium_builder_asan',
604          'type': 'none',
605          'dependencies': [
606            '../chrome/chrome.gyp:chrome',
607
608            # We refer to content_shell directly rather than blink_tests
609            # because we don't want the _unittests binaries.
610            '../content/content_shell_and_tests.gyp:content_shell',
611          ],
612          'conditions': [
613            ['OS!="win"', {
614              'dependencies': [
615                '../net/net.gyp:dns_fuzz_stub',
616                '../skia/skia.gyp:filter_fuzz_stub',
617              ],
618            }],
619            ['OS=="linux" and enable_ipc_fuzzer==1', {
620              'dependencies': [
621                '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
622              ],
623            }],
624            ['internal_filter_fuzzer==1', {
625              'dependencies': [
626                '../skia/tools/clusterfuzz-data/fuzzers/filter_fuzzer/filter_fuzzer.gyp:filter_fuzzer',
627              ],
628            }], # internal_filter_fuzzer
629            ['OS=="win" and fastbuild==0 and target_arch=="ia32"', {
630              'dependencies': [
631                '../chrome/chrome_syzygy.gyp:chrome_dll_syzygy',
632                '../content/content_shell_and_tests.gyp:content_shell_syzyasan',
633              ],
634              'conditions': [
635                ['chrome_multiple_dll==1', {
636                  'dependencies': [
637                    '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
638                  ],
639                }],
640              ],
641            }],
642          ],
643        },
644      ],  # targets
645    }],
646    ['OS=="mac"', {
647      'targets': [
648        {
649          # Target to build everything plus the dmg.  We don't put the dmg
650          # in the All target because developers really don't need it.
651          'target_name': 'all_and_dmg',
652          'type': 'none',
653          'dependencies': [
654            'All',
655            '../chrome/chrome.gyp:build_app_dmg',
656          ],
657        },
658        # These targets are here so the build bots can use them to build
659        # subsets of a full tree for faster cycle times.
660        {
661          'target_name': 'chromium_builder_dbg',
662          'type': 'none',
663          'dependencies': [
664            '../cc/cc_tests.gyp:cc_unittests',
665            '../chrome/chrome.gyp:browser_tests',
666            '../chrome/chrome.gyp:interactive_ui_tests',
667            '../chrome/chrome.gyp:sync_integration_tests',
668            '../chrome/chrome.gyp:unit_tests',
669            '../cloud_print/cloud_print.gyp:cloud_print_unittests',
670            '../components/components_tests.gyp:components_unittests',
671            '../content/content_shell_and_tests.gyp:content_browsertests',
672            '../content/content_shell_and_tests.gyp:content_unittests',
673            '../device/device_tests.gyp:device_unittests',
674            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
675            '../gpu/gpu.gyp:gpu_unittests',
676            '../ipc/ipc.gyp:ipc_tests',
677            '../jingle/jingle.gyp:jingle_unittests',
678            '../media/media.gyp:media_unittests',
679            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
680            '../printing/printing.gyp:printing_unittests',
681            '../remoting/remoting.gyp:remoting_unittests',
682            '../rlz/rlz.gyp:*',
683            '../sql/sql.gyp:sql_unittests',
684            '../sync/sync.gyp:sync_unit_tests',
685            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
686            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
687            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
688            '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
689            '../ui/ui_unittests.gyp:ui_unittests',
690            '../url/url.gyp:url_unittests',
691            '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
692          ],
693        },
694        {
695          'target_name': 'chromium_builder_rel',
696          'type': 'none',
697          'dependencies': [
698            '../cc/cc_tests.gyp:cc_unittests',
699            '../chrome/chrome.gyp:browser_tests',
700            '../chrome/chrome.gyp:performance_browser_tests',
701            '../chrome/chrome.gyp:performance_ui_tests',
702            '../chrome/chrome.gyp:sync_integration_tests',
703            '../chrome/chrome.gyp:unit_tests',
704            '../cloud_print/cloud_print.gyp:cloud_print_unittests',
705            '../components/components_tests.gyp:components_unittests',
706            '../content/content_shell_and_tests.gyp:content_browsertests',
707            '../content/content_shell_and_tests.gyp:content_unittests',
708            '../device/device_tests.gyp:device_unittests',
709            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
710            '../gpu/gpu.gyp:gpu_unittests',
711            '../ipc/ipc.gyp:ipc_tests',
712            '../jingle/jingle.gyp:jingle_unittests',
713            '../media/media.gyp:media_unittests',
714            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
715            '../printing/printing.gyp:printing_unittests',
716            '../remoting/remoting.gyp:remoting_unittests',
717            '../sql/sql.gyp:sql_unittests',
718            '../sync/sync.gyp:sync_unit_tests',
719            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
720            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
721            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
722            '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
723            '../ui/ui_unittests.gyp:ui_unittests',
724            '../url/url.gyp:url_unittests',
725            '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
726          ],
727        },
728        {
729          'target_name': 'chromium_builder_dbg_tsan_mac',
730          'type': 'none',
731          'dependencies': [
732            '../base/base.gyp:base_unittests',
733            '../cloud_print/cloud_print.gyp:cloud_print_unittests',
734            '../crypto/crypto.gyp:crypto_unittests',
735            '../ipc/ipc.gyp:ipc_tests',
736            '../jingle/jingle.gyp:jingle_unittests',
737            '../media/media.gyp:media_unittests',
738            '../net/net.gyp:net_unittests',
739            '../printing/printing.gyp:printing_unittests',
740            '../remoting/remoting.gyp:remoting_unittests',
741            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
742            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
743            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
744            '../url/url.gyp:url_unittests',
745          ],
746        },
747        {
748          # TODO(dpranke): Update the bots to refer to 'chromium_builder_asan'.
749          'target_name': 'chromium_builder_asan_mac',
750          'type': 'none',
751          'dependencies': [
752            'chromium_builder_asan'
753          ],
754        },
755        {
756          'target_name': 'chromium_builder_dbg_valgrind_mac',
757          'type': 'none',
758          'dependencies': [
759            '../base/base.gyp:base_unittests',
760            '../chrome/chrome.gyp:unit_tests',
761            '../cloud_print/cloud_print.gyp:cloud_print_unittests',
762            '../components/components_tests.gyp:components_unittests',
763            '../content/content_shell_and_tests.gyp:content_unittests',
764            '../crypto/crypto.gyp:crypto_unittests',
765            '../device/device_tests.gyp:device_unittests',
766            '../ipc/ipc.gyp:ipc_tests',
767            '../jingle/jingle.gyp:jingle_unittests',
768            '../media/media.gyp:media_unittests',
769            '../net/net.gyp:net_unittests',
770            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
771            '../printing/printing.gyp:printing_unittests',
772            '../remoting/remoting.gyp:remoting_unittests',
773            '../sql/sql.gyp:sql_unittests',
774            '../sync/sync.gyp:sync_unit_tests',
775            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
776            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
777            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
778            '../ui/ui_unittests.gyp:ui_unittests',
779            '../url/url.gyp:url_unittests',
780          ],
781        },
782      ],  # targets
783    }], # OS="mac"
784    ['OS=="win"', {
785      'targets': [
786        # These targets are here so the build bots can use them to build
787        # subsets of a full tree for faster cycle times.
788        {
789          'target_name': 'chromium_builder',
790          'type': 'none',
791          'dependencies': [
792            '../cc/cc_tests.gyp:cc_unittests',
793            '../chrome/chrome.gyp:browser_tests',
794            '../chrome/chrome.gyp:gcapi_test',
795            '../chrome/chrome.gyp:installer_util_unittests',
796            '../chrome/chrome.gyp:interactive_ui_tests',
797            '../chrome/chrome.gyp:mini_installer_test',
798            '../chrome/chrome.gyp:performance_browser_tests',
799            '../chrome/chrome.gyp:performance_ui_tests',
800            '../chrome/chrome.gyp:sync_integration_tests',
801            '../chrome/chrome.gyp:unit_tests',
802            '../cloud_print/cloud_print.gyp:cloud_print_unittests',
803            '../components/components_tests.gyp:components_unittests',
804            '../content/content_shell_and_tests.gyp:content_browsertests',
805            '../content/content_shell_and_tests.gyp:content_unittests',
806            # mini_installer_tests depends on mini_installer. This should be
807            # defined in installer.gyp.
808            '../chrome/installer/mini_installer.gyp:mini_installer',
809            '../courgette/courgette.gyp:courgette_unittests',
810            '../device/device_tests.gyp:device_unittests',
811            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
812            '../gpu/gpu.gyp:gpu_unittests',
813            '../ipc/ipc.gyp:ipc_tests',
814            '../jingle/jingle.gyp:jingle_unittests',
815            '../media/media.gyp:media_unittests',
816            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
817            '../printing/printing.gyp:printing_unittests',
818            '../remoting/remoting.gyp:remoting_unittests',
819            '../sql/sql.gyp:sql_unittests',
820            '../sync/sync.gyp:sync_unit_tests',
821            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
822            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
823            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
824            '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
825            '../ui/events/events.gyp:events_unittests',
826            '../ui/ui_unittests.gyp:ui_unittests',
827            '../ui/views/views.gyp:views_unittests',
828            '../url/url.gyp:url_unittests',
829            '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
830            '../third_party/WebKit/public/blink_test_plugin.gyp:blink_test_plugin',
831          ],
832        },
833        {
834          'target_name': 'chromium_builder_win_cf',
835          'type': 'none',
836        },
837        {
838          'target_name': 'chromium_builder_dbg_tsan_win',
839          'type': 'none',
840          'dependencies': [
841            '../base/base.gyp:base_unittests',
842            '../cloud_print/cloud_print.gyp:cloud_print_unittests',
843            '../components/components_tests.gyp:components_unittests',
844            '../content/content_shell_and_tests.gyp:content_unittests',
845            '../crypto/crypto.gyp:crypto_unittests',
846            '../ipc/ipc.gyp:ipc_tests',
847            '../jingle/jingle.gyp:jingle_unittests',
848            '../media/media.gyp:media_unittests',
849            '../net/net.gyp:net_unittests',
850            '../printing/printing.gyp:printing_unittests',
851            '../remoting/remoting.gyp:remoting_unittests',
852            '../sql/sql.gyp:sql_unittests',
853            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
854            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
855            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
856            '../url/url.gyp:url_unittests',
857          ],
858        },
859        {
860          'target_name': 'chromium_builder_dbg_drmemory_win',
861          'type': 'none',
862          'dependencies': [
863            '../base/base.gyp:base_unittests',
864            '../chrome/chrome.gyp:unit_tests',
865            '../chrome/chrome.gyp:browser_tests',
866            '../cloud_print/cloud_print.gyp:cloud_print_unittests',
867            '../components/components_tests.gyp:components_unittests',
868            '../content/content_shell_and_tests.gyp:content_unittests',
869            '../crypto/crypto.gyp:crypto_unittests',
870            '../device/device_tests.gyp:device_unittests',
871            '../ipc/ipc.gyp:ipc_tests',
872            '../jingle/jingle.gyp:jingle_unittests',
873            '../media/media.gyp:media_unittests',
874            '../net/net.gyp:net_unittests',
875            '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
876            '../printing/printing.gyp:printing_unittests',
877            '../remoting/remoting.gyp:remoting_unittests',
878            '../sql/sql.gyp:sql_unittests',
879            '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
880            '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
881            '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
882            '../url/url.gyp:url_unittests',
883          ],
884        },
885        {
886          'target_name': 'webkit_builder_win',
887          'type': 'none',
888          'dependencies': [
889            'blink_tests',
890          ],
891        },
892      ],  # targets
893      'conditions': [
894        ['branding=="Chrome"', {
895          'targets': [
896            {
897              'target_name': 'chrome_official_builder',
898              'type': 'none',
899              'dependencies': [
900                '../chrome/chrome.gyp:crash_service',
901                '../chrome/chrome.gyp:gcapi_dll',
902                '../chrome/chrome.gyp:pack_policy_templates',
903                '../courgette/courgette.gyp:courgette64',
904                '../chrome/installer/mini_installer.gyp:mini_installer',
905                '../courgette/courgette.gyp:courgette',
906                '../cloud_print/cloud_print.gyp:cloud_print',
907                '../remoting/remoting.gyp:remoting_webapp',
908                '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
909                '../chrome/chrome.gyp:pyautolib',
910              ],
911              'conditions': [
912                ['internal_pdf', {
913                  'dependencies': [
914                    '../pdf/pdf.gyp:pdf',
915                  ],
916                }], # internal_pdf
917                ['target_arch=="ia32"', {
918                  'dependencies': [
919                    '../chrome/chrome.gyp:crash_service_win64',
920                    # Omitting tests from Win64 to speed up cycle times.
921                    '../chrome/chrome.gyp:interactive_ui_tests',
922                  ],
923                }],
924                ['component != "shared_library" and wix_exists == "True" and \
925                    sas_dll_exists == "True"', {
926                  'dependencies': [
927                    '../remoting/remoting.gyp:remoting_host_installation',
928                  ],
929                }], # component != "shared_library"
930              ]
931            },
932          ], # targets
933        }], # branding=="Chrome"
934       ], # conditions
935    }], # OS="win"
936    ['use_aura==1', {
937      'targets': [
938        {
939          'target_name': 'aura_builder',
940          'type': 'none',
941          'dependencies': [
942            '../cc/cc_tests.gyp:cc_unittests',
943            '../chrome/chrome.gyp:browser_tests',
944            '../chrome/chrome.gyp:chrome',
945            '../chrome/chrome.gyp:interactive_ui_tests',
946            '../chrome/chrome.gyp:unit_tests',
947            '../components/components_tests.gyp:components_unittests',
948            '../content/content_shell_and_tests.gyp:content_browsertests',
949            '../content/content_shell_and_tests.gyp:content_unittests',
950            '../device/device_tests.gyp:device_unittests',
951            '../ppapi/ppapi_internal.gyp:ppapi_unittests',
952            '../remoting/remoting.gyp:remoting_unittests',
953            '../ui/app_list/app_list.gyp:*',
954            '../ui/aura/aura.gyp:*',
955            '../ui/compositor/compositor.gyp:*',
956            '../ui/events/events.gyp:*',
957            '../ui/message_center/message_center.gyp:*',
958            '../ui/ui_unittests.gyp:ui_unittests',
959            '../ui/snapshot/snapshot.gyp:snapshot_unittests',
960            '../ui/views/views.gyp:views',
961            '../ui/views/views.gyp:views_examples_with_content_exe',
962            '../ui/views/views.gyp:views_unittests',
963            '../ui/keyboard/keyboard.gyp:*',
964            '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
965            'blink_tests',
966          ],
967          'conditions': [
968            ['OS=="win"', {
969              'dependencies': [
970                '../chrome/chrome.gyp:crash_service',
971              ],
972            }],
973            ['OS=="win" and target_arch=="ia32"', {
974              'dependencies': [
975                '../chrome/chrome.gyp:crash_service_win64',
976              ],
977            }],
978            ['use_ash==1', {
979              'dependencies': [
980                '../ash/ash.gyp:ash_shell',
981                '../ash/ash.gyp:ash_unittests',
982              ],
983            }],
984            ['OS=="linux"', {
985              # Tests that currently only work on Linux.
986              'dependencies': [
987                '../base/base.gyp:base_unittests',
988                '../ipc/ipc.gyp:ipc_tests',
989                '../sql/sql.gyp:sql_unittests',
990                '../sync/sync.gyp:sync_unit_tests',
991              ],
992            }],
993            ['chromeos==1', {
994              'dependencies': [
995                '../chromeos/chromeos.gyp:chromeos_unittests',
996              ],
997            }],
998          ],
999        },
1000      ],  # targets
1001    }], # "use_aura==1"
1002    ['test_isolation_mode != "noop"', {
1003      'targets': [
1004        {
1005          'target_name': 'chromium_swarm_tests',
1006          'type': 'none',
1007          'dependencies': [
1008            '../base/base.gyp:base_unittests_run',
1009            '../chrome/chrome.gyp:browser_tests_run',
1010            '../chrome/chrome.gyp:interactive_ui_tests_run',
1011            '../chrome/chrome.gyp:sync_integration_tests_run',
1012            '../chrome/chrome.gyp:unit_tests_run',
1013            '../net/net.gyp:net_unittests_run',
1014          ],
1015        }, # target_name: chromium_swarm_tests
1016      ],
1017    }],
1018  ], # conditions
1019}
1020