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