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