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