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