Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / build / gn_migration.gypi
blobf7453804d07b3884d9bfe932c8809edef1627272
1 # Copyright (c) 2015 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.
5 # This file defines five targets that we are using to track the progress of the
6 # GYP->GN migration:
8 # 'both_gn_and_gyp' lists what GN is currently capable of building and should
9 # match the 'both_gn_and_gyp' target in //BUILD.gn.
11 # 'gyp_all' Should include everything built when building "all"; i.e., if you
12 # type 'ninja gyp_all' and then 'ninja all', the second build should do
13 # nothing. 'gyp_all' should just depend on the other four targets.
15 # 'gyp_only' lists any targets that are not meant to be ported over to the GN
16 # build.
18 # 'gyp_remaining' lists all of the targets that still need to be converted,
19 # i.e., all of the other (non-empty) targets that a GYP build will build.
21 # TODO(GYP): crbug.com/481694. Add a build step to the bot that enforces the
22 # above contracts.
25   'targets': [
26     {
27       'target_name': 'gyp_all',
28       'type': 'none',
29       'dependencies': [
30         'both_gn_and_gyp',
31         'gyp_only',
32         'gyp_remaining',
33       ]
34     },
35     {
36       # This target should mirror the structure of //:both_gn_and_gyp
37       # in src/BUILD.gn as closely as possible, for ease of comparison.
38       'target_name': 'both_gn_and_gyp',
39       'type': 'none',
40       'dependencies': [
41         '../base/base.gyp:base_i18n_perftests',
42         '../base/base.gyp:base_perftests',
43         '../base/base.gyp:base_unittests',
44         '../base/base.gyp:build_utf8_validator_tables#host',
45         '../base/base.gyp:check_example',
46         '../cc/cc_tests.gyp:cc_perftests',
47         '../cc/cc_tests.gyp:cc_unittests',
48         '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
49         '../chrome/chrome.gyp:chrome',
50         '../chrome/chrome.gyp:browser_tests',
51         '../chrome/chrome.gyp:chrome_app_unittests',
52         '../chrome/chrome.gyp:chromedriver',
53         '../chrome/chrome.gyp:chromedriver_tests',
54         '../chrome/chrome.gyp:chromedriver_unittests',
55         '../chrome/chrome.gyp:interactive_ui_tests',
56         '../chrome/chrome.gyp:load_library_perf_tests',
57         '../chrome/chrome.gyp:performance_browser_tests',
58         '../chrome/chrome.gyp:sync_integration_tests',
59         '../chrome/chrome.gyp:sync_performance_tests',
60         '../chrome/chrome.gyp:unit_tests',
61         '../chrome/tools/profile_reset/jtl_compiler.gyp:jtl_compiler',
62         '../cloud_print/cloud_print.gyp:cloud_print_unittests',
63         '../components/components.gyp:network_hints_browser',
64         '../components/components.gyp:policy_templates',
65         '../components/components_tests.gyp:components_browsertests',
66         '../components/components_tests.gyp:components_perftests',
67         '../components/components_tests.gyp:components_unittests',
68         '../content/content.gyp:content_app_browser',
69         '../content/content.gyp:content_app_child',
70         '../content/content_shell_and_tests.gyp:content_browsertests',
71         '../content/content_shell_and_tests.gyp:content_gl_benchmark',
72         '../content/content_shell_and_tests.gyp:content_gl_tests',
73         '../content/content_shell_and_tests.gyp:content_perftests',
74         '../content/content_shell_and_tests.gyp:content_shell',
75         '../content/content_shell_and_tests.gyp:content_unittests',
76         '../courgette/courgette.gyp:courgette',
77         '../courgette/courgette.gyp:courgette_fuzz',
78         '../courgette/courgette.gyp:courgette_minimal_tool',
79         '../courgette/courgette.gyp:courgette_unittests',
80         '../crypto/crypto.gyp:crypto_unittests',
81         '../extensions/extensions_tests.gyp:extensions_browsertests',
82         '../extensions/extensions_tests.gyp:extensions_unittests',
83         '../device/device_tests.gyp:device_unittests',
84         '../gin/gin.gyp:gin_v8_snapshot_fingerprint',
85         '../gin/gin.gyp:gin_shell',
86         '../gin/gin.gyp:gin_unittests',
87         '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
88         '../google_apis/gcm/gcm.gyp:mcs_probe',
89         '../google_apis/google_apis.gyp:google_apis_unittests',
90         '../gpu/gpu.gyp:angle_unittests',
91         '../gpu/gpu.gyp:gl_tests',
92         '../gpu/gpu.gyp:gpu_perftests',
93         '../gpu/gpu.gyp:gpu_unittests',
94         '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',  # TODO(GYP) crbug.com/471920
95         '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',  # TODO(GYP) crbug.com/471920
96         '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',  # TODO(GYP) crbug.com/471903 to make this complete.
97         '../ipc/ipc.gyp:ipc_perftests',
98         '../ipc/ipc.gyp:ipc_tests',
99         '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
100         '../jingle/jingle.gyp:jingle_unittests',
101         '../media/media.gyp:ffmpeg_regression_tests',  # TODO(GYP) this should be conditional on media_use_ffmpeg
102         '../media/media.gyp:media_perftests',
103         '../media/media.gyp:media_unittests',
104         '../media/midi/midi.gyp:midi_unittests',
105         '../media/cast/cast.gyp:cast_benchmarks',
106         '../media/cast/cast.gyp:cast_unittests',
107         '../media/cast/cast.gyp:generate_barcode_video',
108         '../media/cast/cast.gyp:generate_timecode_audio',
109         '../mojo/mojo.gyp:mojo',
110         '../mojo/mojo_base.gyp:mojo_application_base',
111         '../mojo/mojo_base.gyp:mojo_common_unittests',
112         '../net/net.gyp:crash_cache',
113         '../net/net.gyp:crl_set_dump',
114         '../net/net.gyp:dns_fuzz_stub',
115         '../net/net.gyp:dump_cache',
116         '../net/net.gyp:gdig',
117         '../net/net.gyp:get_server_time',
118         '../net/net.gyp:hpack_example_generator',
119         '../net/net.gyp:hpack_fuzz_mutator',
120         '../net/net.gyp:hpack_fuzz_wrapper',
121         '../net/net.gyp:net_perftests',
122         '../net/net.gyp:net_unittests',
123         '../net/net.gyp:net_watcher',  # TODO(GYP): This should be conditional on use_v8_in_net
124         '../net/net.gyp:run_testserver',
125         '../net/net.gyp:stress_cache',
126         '../net/net.gyp:tld_cleanup',
127         '../ppapi/ppapi_internal.gyp:ppapi_example_audio',
128         '../ppapi/ppapi_internal.gyp:ppapi_example_audio_input',
129         '../ppapi/ppapi_internal.gyp:ppapi_example_c_stub',
130         '../ppapi/ppapi_internal.gyp:ppapi_example_cc_stub',
131         '../ppapi/ppapi_internal.gyp:ppapi_example_compositor',
132         '../ppapi/ppapi_internal.gyp:ppapi_example_crxfs',
133         '../ppapi/ppapi_internal.gyp:ppapi_example_enumerate_devices',
134         '../ppapi/ppapi_internal.gyp:ppapi_example_file_chooser',
135         '../ppapi/ppapi_internal.gyp:ppapi_example_flash_topmost',
136         '../ppapi/ppapi_internal.gyp:ppapi_example_gamepad',
137         '../ppapi/ppapi_internal.gyp:ppapi_example_gles2',
138         '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube',
139         '../ppapi/ppapi_internal.gyp:ppapi_example_graphics_2d',
140         '../ppapi/ppapi_internal.gyp:ppapi_example_ime',
141         '../ppapi/ppapi_internal.gyp:ppapi_example_input',
142         '../ppapi/ppapi_internal.gyp:ppapi_example_media_stream_audio',
143         '../ppapi/ppapi_internal.gyp:ppapi_example_media_stream_video',
144         '../ppapi/ppapi_internal.gyp:ppapi_example_mouse_cursor',
145         '../ppapi/ppapi_internal.gyp:ppapi_example_mouse_lock',
146         '../ppapi/ppapi_internal.gyp:ppapi_example_paint_manager',
147         '../ppapi/ppapi_internal.gyp:ppapi_example_post_message',
148         '../ppapi/ppapi_internal.gyp:ppapi_example_printing',
149         '../ppapi/ppapi_internal.gyp:ppapi_example_scaling',
150         '../ppapi/ppapi_internal.gyp:ppapi_example_scroll',
151         '../ppapi/ppapi_internal.gyp:ppapi_example_simple_font',
152         '../ppapi/ppapi_internal.gyp:ppapi_example_threading',
153         '../ppapi/ppapi_internal.gyp:ppapi_example_url_loader',
154         '../ppapi/ppapi_internal.gyp:ppapi_example_url_loader_file',
155         '../ppapi/ppapi_internal.gyp:ppapi_example_vc',
156         '../ppapi/ppapi_internal.gyp:ppapi_example_video_decode',
157         '../ppapi/ppapi_internal.gyp:ppapi_example_video_decode_dev',
158         '../ppapi/ppapi_internal.gyp:ppapi_example_video_effects',
159         '../ppapi/ppapi_internal.gyp:ppapi_example_video_encode',
160         '../ppapi/ppapi_internal.gyp:ppapi_tests',
161         '../ppapi/ppapi_internal.gyp:ppapi_perftests',
162         '../ppapi/ppapi_internal.gyp:ppapi_unittests',
163         '../ppapi/tools/ppapi_tools.gyp:pepper_hash_for_uma',
164         '../printing/printing.gyp:printing_unittests',
165         '../skia/skia_tests.gyp:skia_unittests',
166         '../skia/skia.gyp:filter_fuzz_stub',
167         '../skia/skia.gyp:image_operations_bench',
168         '../sql/sql.gyp:sql_unittests',
169         '../sync/sync.gyp:run_sync_testserver',
170         '../sync/sync.gyp:sync_unit_tests',
171         '../sync/tools/sync_tools.gyp:sync_client',
172         '../sync/tools/sync_tools.gyp:sync_listen_notifications',
173         '../testing/gmock.gyp:gmock_main',
174         '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests',
175         '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests',
176         '../third_party/WebKit/Source/web/web_tests.gyp:webkit_unit_tests',
177         '../third_party/WebKit/Source/wtf/wtf_tests.gyp:wtf_unittests',
178         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
179         '../third_party/codesighs/codesighs.gyp:codesighs',
180         '../third_party/codesighs/codesighs.gyp:maptsvdifftool',
181         '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
182         '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
183         '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
184         '../third_party/mojo/mojo_edk_tests.gyp:mojo_system_unittests',
185         '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests',
186         '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_environment_unittests',
187         '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_perftests',
188         '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_unittests',
189         '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_utility_unittests',
190         '../third_party/pdfium/samples/samples.gyp:pdfium_diff',
191         '../third_party/pdfium/samples/samples.gyp:pdfium_test',
192         '../third_party/smhasher/smhasher.gyp:pmurhash',
193         '../tools/gn/gn.gyp:gn',
194         '../tools/gn/gn.gyp:generate_test_gn_data',
195         '../tools/gn/gn.gyp:gn_unittests',
196         '../tools/imagediff/image_diff.gyp:image_diff',
197         '../tools/perf/clear_system_cache/clear_system_cache.gyp:clear_system_cache',
198         '../tools/telemetry/telemetry.gyp:bitmaptools#host',
199         '../ui/accessibility/accessibility.gyp:accessibility_unittests',
200         '../ui/app_list/app_list.gyp:app_list_unittests',
201         '../ui/base/ui_base_tests.gyp:ui_base_unittests',
202         '../ui/compositor/compositor.gyp:compositor_unittests',
203         '../ui/display/display.gyp:display_unittests',
204         '../ui/events/events.gyp:events_unittests',
205         '../ui/gfx/gfx_tests.gyp:gfx_unittests',
206         '../ui/gl/gl_tests.gyp:gl_unittests',
207         '../ui/message_center/message_center.gyp:message_center_unittests',
208         '../ui/snapshot/snapshot.gyp:snapshot_unittests',
209         '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
210         '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
211         '../url/url.gyp:url_unittests',
212         '../v8/tools/gyp/v8.gyp:v8_snapshot',
213         '../v8/tools/gyp/v8.gyp:postmortem-metadata',
214       ],
215       'conditions': [
216         ['clang==1', {
217           'dependencies': [
218             '../build/sanitizers/sanitizers.gyp:llvm-symbolizer',
219           ],
220         }],
221         ['disable_nacl==0 and disable_nacl_untrusted==0', {
222           'dependencies': [
223             '../components/nacl.gyp:nacl_loader_unittests',
224           ]
225         }],
226         ['enable_extensions==1 and OS!="mac"', {
227           'dependencies': [
228             '../extensions/shell/app_shell.gyp:app_shell',
229             '../extensions/shell/app_shell.gyp:app_shell_unittests',
230           ],
231         }],
232         ['enable_mdns==1', {
233           'dependencies': [
234             '../chrome/chrome.gyp:service_discovery_sniffer',
235           ]
236         }],
237         ['remoting==1', {
238           'dependencies': [
239             '../remoting/remoting_all.gyp:remoting_all',
240           ],
241         }],
242         ['remoting==1 and chromeos==0 and use_x11==1', {
243           'dependencies': [
244             '../remoting/remoting.gyp:remoting_me2me_host',
245             '../remoting/remoting.gyp:remoting_me2me_native_messaging_host',
246           ],
247         }],
248         ['toolkit_views==1', {
249           'dependencies': [
250             '../ui/app_list/app_list.gyp:app_list_demo',
251             '../ui/views/views.gyp:views_unittests',
252           ],
253         }],
254         ['use_ash==1', {
255           'dependencies': [
256             '../ash/ash.gyp:ash_shell',
257             '../ash/ash.gyp:ash_shell_unittests',
258             '../ash/ash.gyp:ash_unittests',
259           ],
260         }],
261         ['use_ash==1 or chromeos== 1', {
262           'dependencies': [
263             '../components/components.gyp:session_manager_component',
264           ]
265         }],
266         ['use_aura==1', {
267           'dependencies': [
268             '../ui/aura/aura.gyp:aura_bench',
269             '../ui/aura/aura.gyp:aura_demo',
270             '../ui/aura/aura.gyp:aura_unittests',
271             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
272             '../ui/wm/wm.gyp:wm_unittests',
273           ],
274         }],
275         ['use_ozone==1', {
276           'dependencies': [
277             '../ui/ozone/ozone.gyp:ozone',
278           ],
279         }],
280         ['use_x11==1', {
281           'dependencies': [
282             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
283           ],
284           'conditions': [
285             ['target_arch!="arm"', {
286               'dependencies': [
287                 '../gpu/tools/tools.gyp:compositor_model_bench',
288               ],
289             }],
290           ],
291         }],
292         ['OS=="android"', {
293           'dependencies': [
294             '../base/base.gyp:chromium_android_linker',
295             '../breakpad/breakpad.gyp:dump_syms',
296             '../build/android/rezip.gyp:rezip_apk_jar',
297             '../chrome/chrome.gyp:chrome_public_apk',
298             '../chrome/chrome.gyp:chrome_public_test_apk',
299             '../chrome/chrome.gyp:chrome_shell_apk',
300             '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
301             #"//clank" TODO(GYP) - conditional somehow?
302             '../tools/imagediff/image_diff.gyp:image_diff#host',
303             '../tools/telemetry/telemetry.gyp:bitmaptools#host',
305             # TODO(GYP): Remove these when the components_unittests work.
306             #"//components/history/core/test:test",
307             #"//components/policy:policy_component_test_support",
308             #"//components/policy:test_support",
309             #"//components/rappor:test_support",
310             #"//components/signin/core/browser:test_support",
311             #"//components/sync_driver:test_support",
312             #"//components/user_manager",
313             #"//components/wallpaper",
315             '../content/content_shell_and_tests.gyp:content_shell_apk',
317             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests_apk',
318             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests_apk',
319             '../third_party/WebKit/Source/web/web_tests.gyp:webkit_unit_tests_apk',
320             '../third_party/WebKit/Source/wtf/wtf_tests.gyp:wtf_unittests_apk',
321             # TODO(GYP): Are these needed, or will they be pulled in automatically?
322             #"//third_party/android_tools:android_gcm_java",
323             #"//third_party/android_tools:uiautomator_java",
324             #"//third_party/android_tools:android_support_v13_java",
325             #"//third_party/android_tools:android_support_v7_appcompat_java",
326             #"//third_party/android_tools:android_support_v7_mediarouter_java",
327             #"//third_party/mesa",
328             #"//third_party/mockito:mockito_java",
329             #"//third_party/openmax_dl/dl",
330             #"//third_party/speex",
331             #"//ui/android:ui_java",
333             # TODO(GYP): Are these needed?
334             #"//chrome/test:test_support_unit",
335             #"//third_party/smhasher:murmurhash3",
336             #"//ui/message_center:test_support",
337           ],
338           'dependencies!': [
339             '../breakpad/breakpad.gyp:symupload',
340             '../chrome/chrome.gyp:browser_tests',
341             '../chrome/chrome.gyp:chromedriver',
342             '../chrome/chrome.gyp:chromedriver_unitests',
343             '../chrome/chrome.gyp:interactive_ui_tests',
344             '../chrome/chrome.gyp:performance_browser_tests',
345             '../chrome/chrome.gyp:sync_integration_tests',
346             '../chrome/chrome.gyp:unit_tests',
347             '../extensions/extensions_tests.gyp:extensions_browsertests',
348             '../extensions/extensions_tests.gyp:extensions_unittests',
349             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
350             '../ipc/ipc.gyp:ipc_tests',
351             '../jingle/jingle.gyp:jingle_unittests',
352             '../net/net.gyp:net_unittests',
353             #"//ppapi/examples",
354             '../third_party/pdfium/samples/samples.gyp:pdfium_test',
355             '../tools/gn/gn.gyp:gn',
356             '../tools/gn/gn.gyp:gn_unittests',
357             '../tools/imagediff/image_diff.gyp:image_diff',
358             '../tools/gn/gn.gyp:gn',
359             '../tools/gn/gn.gyp:gn_unittests',
360             '../ui/app_list/app_list.gyp:app_list_unittests',
361             '../url/url.gyp:url_unittests',
362           ],
363         }],
364         ['OS=="android" or OS=="linux"', {
365           'dependencies': [
366             '../net/net.gyp:disk_cache_memory_test',
367           ],
368         }],
369         ['chromeos==1', {
370           'dependencies': [
371             '../chromeos/chromeos.gyp:chromeos_unittests',
372             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
373           ]
374         }],
375         ['chromeos==1 or OS=="win" or OS=="mac"', {
376           'dependencies': [
377             '../rlz/rlz.gyp:rlz_id',
378             '../rlz/rlz.gyp:rlz_lib',
379             '../rlz/rlz.gyp:rlz_unittests',
380           ],
381         }],
382         ['OS=="android" or OS=="linux" or os_bsd==1', {
383           'dependencies': [
384             '../breakpad/breakpad.gyp:core-2-minidump',
385             '../breakpad/breakpad.gyp:microdump_stackwalk',
386             '../breakpad/breakpad.gyp:minidump_dump',
387             '../breakpad/breakpad.gyp:minidump_stackwalk',
388             '../breakpad/breakpad.gyp:symupload',
389             '../third_party/codesighs/codesighs.gyp:nm2tsv',
390           ],
391         }],
392         ['OS=="linux"', {
393           'dependencies': [
394             '../breakpad/breakpad.gyp:breakpad_unittests',
395             '../breakpad/breakpad.gyp:dump_syms#host',
396             '../breakpad/breakpad.gyp:generate_test_dump',
397             '../breakpad/breakpad.gyp:minidump-2-core',
398             '../dbus/dbus.gyp:dbus_test_server',
399             '../dbus/dbus.gyp:dbus_unittests',
400             '../media/cast/cast.gyp:tap_proxy',
401             '../net/net.gyp:disk_cache_memory_test',
402             '../net/net.gyp:flip_in_mem_edsm_server',
403             '../net/net.gyp:flip_in_mem_edsm_server_unittests',
404             '../net/net.gyp:epoll_quic_client',
405             '../net/net.gyp:epoll_quic_server',
406             '../net/net.gyp:hpack_example_generator',
407             '../net/net.gyp:hpack_fuzz_mutator',
408             '../net/net.gyp:hpack_fuzz_wrapper',
409             '../net/net.gyp:net_perftests',
410             '../net/net.gyp:quic_client',
411             '../net/net.gyp:quic_server',
412             '../sandbox/sandbox.gyp:chrome_sandbox',
413             '../sandbox/sandbox.gyp:sandbox_linux_unittests',
414             '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests',
415             '../third_party/sqlite/sqlite.gyp:sqlite_shell',
416          ],
417         }],
418         ['OS=="mac"', {
419           'dependencies': [
420             '../breakpad/breakpad.gyp:crash_inspector',
421             '../breakpad/breakpad.gyp:dump_syms',
422             '../breakpad/breakpad.gyp:symupload',
423             '../third_party/apple_sample_code/apple_sample_code.gyp:apple_sample_code',
424             '../third_party/molokocacao/molokocacao.gyp:molokocacao',
426             # TODO(GYP): remove these when the corresponding root targets work.
427             #"//cc/blink",
428             #"//components/ui/zoom:ui_zoom",
429             #"//content",
430             #"//content/test:test_support",
431             #"//device/battery",
432             #"//device/bluetooth",
433             #"//device/nfc",
434             #"//device/usb",
435             #"//device/vibration",
436             #"//media/blink",
437             #"//pdf",
438             #"//storage/browser",
439             #"//third_party/brotli",
440             #"//third_party/flac",
441             #"//third_party/hunspell",
442             #//third_party/iccjpeg",
443             #"//third_party/libphonenumber",
444             #"//third_party/ots",
445             #"//third_party/qcms",
446             #"//third_party/smhasher:murmurhash3",
447             #"//third_party/speex",
448             #"//third_party/webrtc/system_wrappers",
449             #"//ui/native_theme",
450             #"//ui/snapshot",
451             #"//ui/surface",
452           ],
453           'dependencies!': [
454             #"//chrome",  # TODO(GYP)
455             #"//chrome/test:browser_tests",  # TODO(GYP)
456             #"//chrome/test:interactive_ui_tests",  # TODO(GYP)
457             #"//chrome/test:sync_integration_tests",  # TODO(GYP)
458             #"//chrome/test:unit_tests",  # TODO(GYP)
459             #"//components:components_unittests",  # TODO(GYP)
460             #"//content/test:content_browsertests",  # TODO(GYP)
461             #"//content/test:content_perftests",  # TODO(GYP)
462             #"//content/test:content_unittests",  # TODO(GYP)
463             #"//extensions:extensions_browsertests",  # TODO(GYP)
464             #"//extensions:extensions_unittests",  # TODO(GYP)
465             #"//net:net_unittests",  # TODO(GYP)
466             #"//third_party/usrsctp",  # TODO(GYP)
467             #"//ui/app_list:app_list_unittests",  # TODO(GYP)
468             #"//ui/gfx:gfx_unittests",  # TODO(GYP)
469           ],
470         }],
471         ['OS=="win"', {
472           'dependencies': [
473             '../base/base.gyp:pe_image_test',
474             '../chrome/chrome.gyp:crash_service',
475             '../chrome/chrome.gyp:setup_unittests',
476             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
477             '../chrome_elf/chrome_elf.gyp:dll_hash_main',
478             '../components/components.gyp:wifi_test',
479             '../net/net.gyp:quic_client',
480             '../net/net.gyp:quic_server',
481             '../sandbox/sandbox.gyp:pocdll',
482             '../sandbox/sandbox.gyp:sandbox_poc',
483             '../sandbox/sandbox.gyp:sbox_integration_tests',
484             '../sandbox/sandbox.gyp:sbox_unittests',
485             '../sandbox/sandbox.gyp:sbox_validation_tests',
486             '../testing/gtest.gyp:gtest_main',
487             '../third_party/codesighs/codesighs.gyp:msdump2symdb',
488             '../third_party/codesighs/codesighs.gyp:msmap2tsv',
489             '../third_party/pdfium/samples/samples.gyp:pdfium_diff',
490             '../win8/win8.gyp:metro_viewer',
491           ],
492         }],
493       ],
494     },
495     {
496       'target_name': 'gyp_only',
497       'type': 'none',
498       'conditions': [
499         ['OS=="linux" or OS=="win"', {
500           'conditions': [
501             ['disable_nacl==0 and disable_nacl_untrusted==0', {
502               'dependencies': [
503                 '../mojo/mojo_nacl.gyp:monacl_shell',  # This should not be built in chromium.
504               ]
505             }],
506           ]
507         }],
508       ],
509     },
510     {
511       'target_name': 'gyp_remaining',
512       'type': 'none',
513       'conditions': [
514         ['remoting==1', {
515           'dependencies': [
516             '../remoting/app_remoting_webapp.gyp:ar_sample_app',  # crbug.com/471916
517           ],
518         }],
519         ['test_isolation_mode!="noop"', {
520           'dependencies': [
521             '../base/base.gyp:base_unittests_run',
522             '../cc/cc_tests.gyp:cc_unittests_run',
523             '../chrome/chrome.gyp:browser_tests_run',
524             '../chrome/chrome.gyp:chrome_run',
525             '../chrome/chrome.gyp:interactive_ui_tests_run',
526             '../chrome/chrome.gyp:sync_integration_tests_run',
527             '../chrome/chrome.gyp:unit_tests_run',
528             '../components/components_tests.gyp:components_browsertests_run',
529             '../components/components_tests.gyp:components_unittests_run',
530             '../content/content_shell_and_tests.gyp:content_browsertests_run',
531             '../content/content_shell_and_tests.gyp:content_unittests_run',
532             '../courgette/courgette.gyp:courgette_unittests_run',
533             '../crypto/crypto.gyp:crypto_unittests_run',
534             '../google_apis/gcm/gcm.gyp:gcm_unit_tests_run',
535             '../google_apis/google_apis.gyp:google_apis_unittests_run',
536             '../gpu/gpu.gyp:gpu_unittests_run',
537             '../ipc/ipc.gyp:ipc_tests_run',
538             '../media/cast/cast.gyp:cast_unittests_run',
539             '../media/media.gyp:media_unittests_run',
540             '../media/midi/midi.gyp:midi_unittests_run',
541             '../net/net.gyp:net_unittests_run',
542             '../printing/printing.gyp:printing_unittests_run',
543             '../remoting/remoting.gyp:remoting_unittests_run',
544             '../skia/skia_tests.gyp:skia_unittests_run',
545             '../sql/sql.gyp:sql_unittests_run',
546             '../sync/sync.gyp:sync_unit_tests_run',
547             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests_run',
548             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests_run',
549             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_environment_unittests_run',
550             '../tools/gn/gn.gyp:gn_unittests_run',
551             '../ui/accessibility/accessibility.gyp:accessibility_unittests_run',
552             '../ui/app_list/app_list.gyp:app_list_unittests_run',
553             '../ui/compositor/compositor.gyp:compositor_unittests_run',
554             '../ui/events/events.gyp:events_unittests_run',
555             '../ui/gl/gl_tests.gyp:gl_unittests_run',
556             '../ui/message_center/message_center.gyp:message_center_unittests_run',
557             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_run',
558             '../url/url.gyp:url_unittests_run',
559           ],
560           'conditions': [
561             ['OS=="linux"', {
562               'dependencies': [
563                 '../sandbox/sandbox.gyp:sandbox_linux_unittests_run',
564                 '../ui/display/display.gyp:display_unittests_run',
565               ],
566             }],
567             ['OS=="mac"', {
568               'dependencies': [
569                 '../sandbox/sandbox.gyp:sandbox_mac_unittests_run',
570               ],
571             }],
572             ['OS=="win"', {
573               'dependencies': [
574                 '../chrome/chrome.gyp:installer_util_unittests_run',
575                 '../chrome/chrome.gyp:setup_unittests_run',
576                 '../sandbox/sandbox.gyp:sbox_integration_tests',
577                 '../sandbox/sandbox.gyp:sbox_unittests',
578                 '../sandbox/sandbox.gyp:sbox_validation_tests',
579               ],
580             }],
581             ['use_ash==1', {
582               'dependencies': [
583                 '../ash/ash.gyp:ash_unittests_run',
584               ],
585             }],
586             ['use_aura==1', {
587               'dependencies': [
588                 '../ui/aura/aura.gyp:aura_unittests_run',
589                 '../ui/wm/wm.gyp:wm_unittests_run',
590               ],
591             }],
592             ['enable_webrtc==1 or OS!="android"', {
593               'dependencies': [
594                 '../jingle/jingle.gyp:jingle_unittests_run',
595               ],
596             }],
597             ['disable_nacl==0 and disable_nacl_untrusted==0', {
598               'dependencies': [
599                 '../components/nacl.gyp:nacl_loader_unittests_run',
600               ]
601             }],
602           ],
603         }],
604         ['use_openssl==1', {
605           'dependencies': [
606             # TODO(GYP): All of these targets still need to be converted.
607             '../third_party/boringssl/boringssl_tests.gyp:boringssl_ecdsa_test',
608             '../third_party/boringssl/boringssl_tests.gyp:boringssl_bn_test',
609             '../third_party/boringssl/boringssl_tests.gyp:boringssl_pqueue_test',
610             '../third_party/boringssl/boringssl_tests.gyp:boringssl_digest_test',
611             '../third_party/boringssl/boringssl_tests.gyp:boringssl_cipher_test',
612             '../third_party/boringssl/boringssl_tests.gyp:boringssl_hkdf_test',
613             '../third_party/boringssl/boringssl_tests.gyp:boringssl_constant_time_test',
614             '../third_party/boringssl/boringssl_tests.gyp:boringssl_thread_test',
615             '../third_party/boringssl/boringssl_tests.gyp:boringssl_base64_test',
616             '../third_party/boringssl/boringssl_tests.gyp:boringssl_gcm_test',
617             '../third_party/boringssl/boringssl_tests.gyp:boringssl_bytestring_test',
618             '../third_party/boringssl/boringssl_tests.gyp:boringssl_evp_test',
619             '../third_party/boringssl/boringssl_tests.gyp:boringssl_dsa_test',
620             '../third_party/boringssl/boringssl_tests.gyp:boringssl_rsa_test',
621             '../third_party/boringssl/boringssl_tests.gyp:boringssl_hmac_test',
622             '../third_party/boringssl/boringssl_tests.gyp:boringssl_aead_test',
623             '../third_party/boringssl/boringssl_tests.gyp:boringssl_ssl_test',
624             '../third_party/boringssl/boringssl_tests.gyp:boringssl_err_test',
625             '../third_party/boringssl/boringssl_tests.gyp:boringssl_lhash_test',
626             '../third_party/boringssl/boringssl_tests.gyp:boringssl_pbkdf_test',
627             '../third_party/boringssl/boringssl_tests.gyp:boringssl_dh_test',
628             '../third_party/boringssl/boringssl_tests.gyp:boringssl_pkcs12_test',
629             '../third_party/boringssl/boringssl_tests.gyp:boringssl_example_mul',
630             '../third_party/boringssl/boringssl_tests.gyp:boringssl_ec_test',
631             '../third_party/boringssl/boringssl_tests.gyp:boringssl_bio_test',
632             '../third_party/boringssl/boringssl_tests.gyp:boringssl_pkcs7_test',
633             '../third_party/boringssl/boringssl_tests.gyp:boringssl_unittests',
634           ],
635         }],
636         ['chromeos==1', {
637           'dependencies': [
638             '../content/content_shell_and_tests.gyp:jpeg_decode_accelerator_unittest',
639             '../content/content_shell_and_tests.gyp:video_encode_accelerator_unittest',
640           ],
641         }],
642         ['chromeos==1 and target_arch != "arm"', {
643           'dependencies': [
644             '../content/content_shell_and_tests.gyp:vaapi_jpeg_decoder_unittest',
645           ],
646         }],
647         ['chromeos==1 or OS=="win" or OS=="android"', {
648           'dependencies': [
649             '../content/content_shell_and_tests.gyp:video_decode_accelerator_unittest',
650           ],
651         }],
652         ['OS=="linux" or OS=="win"', {
653           'dependencies': [
654             # TODO(GYP): Figure out which of these run on android/mac/win/ios/etc.
655             '../net/net.gyp:net_docs',
656             '../remoting/remoting.gyp:ar_sample_test_driver',
658             # TODO(GYP): in progress - see tfarina.
659             '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
660             '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
661           ],
662         }],
663         ['OS=="win"', {
664           'dependencies': [
665             # TODO(GYP): All of these targets still need to be converted.
666             '../base/base.gyp:debug_message',
667             '../chrome/chrome.gyp:app_shim',
668             '../chrome/chrome.gyp:gcapi_dll',
669             '../chrome/chrome.gyp:gcapi_test',
670             '../chrome/chrome.gyp:installer_util_unittests',
671             '../chrome/chrome.gyp:pack_policy_templates',
672             '../chrome/chrome.gyp:sb_sigutil',
673             '../chrome/chrome.gyp:setup',
674             '../chrome/installer/mini_installer.gyp:mini_installer',
675             '../chrome/tools/crash_service/caps/caps.gyp:caps',
676             '../cloud_print/gcp20/prototype/gcp20_device.gyp:gcp20_device',
677             '../cloud_print/gcp20/prototype/gcp20_device.gyp:gcp20_device_unittests',
678             '../cloud_print/service/win/service.gyp:cloud_print_service',
679             '../cloud_print/service/win/service.gyp:cloud_print_service_config',
680             '../cloud_print/service/win/service.gyp:cloud_print_service_setup',
681             '../cloud_print/virtual_driver/win/install/virtual_driver_install.gyp:virtual_driver_setup',
682             '../cloud_print/virtual_driver/win/virtual_driver.gyp:gcp_portmon',
683             '../components/test_runner/test_runner.gyp:layout_test_helper',
684             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
685             '../gpu/gpu.gyp:angle_end2end_tests',
686             '../gpu/gpu.gyp:angle_perftests',
687             '../net/net.gyp:net_docs',
688             '../ppapi/ppapi_internal.gyp:ppapi_perftests',
689             '../remoting/remoting.gyp:ar_sample_test_driver',
690             '../remoting/remoting.gyp:remoting_breakpad_tester',
691             '../remoting/remoting.gyp:remoting_console',
692             '../remoting/remoting.gyp:remoting_desktop',
693             '../rlz/rlz.gyp:rlz',
694             '../tools/win/static_initializers/static_initializers.gyp:static_initializers',
695           ],
696         }],
697         ['OS=="win" and win_use_allocator_shim==1', {
698           'dependencies': [
699             '../base/allocator/allocator.gyp:allocator_unittests',
700           ]
701         }],
702         ['OS=="win" and target_arch=="ia32"', {
703           'dependencies': [
704             # TODO(GYP): All of these targets need to be ported over.
705             '../base/base.gyp:base_win64',
706             '../base/base.gyp:base_i18n_nacl_win64',
707             '../chrome/chrome.gyp:crash_service_win64',
708             '../chrome/chrome.gyp:launcher_support64',
709             '../components/components.gyp:breakpad_win64',
710             '../courgette/courgette.gyp:courgette64',
711             '../crypto/crypto.gyp:crypto_nacl_win64',
712             '../ipc/ipc.gyp:ipc_win64',
713             '../sandbox/sandbox.gyp:sandbox_win64',
714             '../cloud_print/virtual_driver/win/virtual_driver64.gyp:gcp_portmon64',
715             '../cloud_print/virtual_driver/win/virtual_driver64.gyp:virtual_driver_lib64',
716           ],
717         }],
718         ['OS=="win" and target_arch=="ia32" and configuration_policy==1', {
719           'dependencies': [
720             # TODO(GYP): All of these targets need to be ported over.
721             '../components/components.gyp:policy_win64',
722           ]
723         }],
724       ],
725     },
726   ]