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