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