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