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