Courgette: Skip the relocs that live outside of the image.
[chromium-blink-merge.git] / build / gn_migration.gypi
blob5e7dc7f73e161fa563dc7fe6931d5c9875070496
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_unittests',
258           ],
259         }],
260         ['use_ash==1 or chromeos== 1', {
261           'dependencies': [
262             '../components/components.gyp:session_manager_component',
263           ]
264         }],
265         ['use_aura==1', {
266           'dependencies': [
267             '../ui/aura/aura.gyp:aura_bench',
268             '../ui/aura/aura.gyp:aura_demo',
269             '../ui/aura/aura.gyp:aura_unittests',
270             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
271             '../ui/wm/wm.gyp:wm_unittests',
272           ],
273         }],
274         ['use_ozone==1', {
275           'dependencies': [
276             '../ui/ozone/ozone.gyp:ozone',
277           ],
278         }],
279         ['use_x11==1', {
280           'dependencies': [
281             '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
282           ],
283           'conditions': [
284             ['target_arch!="arm"', {
285               'dependencies': [
286                 '../gpu/tools/tools.gyp:compositor_model_bench',
287               ],
288             }],
289           ],
290         }],
291         ['OS=="android"', {
292           'dependencies': [
293             '../base/base.gyp:chromium_android_linker',
294             '../breakpad/breakpad.gyp:dump_syms',
295             '../build/android/rezip.gyp:rezip_apk_jar',
296             '../chrome/chrome.gyp:chrome_public_apk',
297             '../chrome/chrome.gyp:chrome_public_test_apk',
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             #"//ui/android:ui_java",
331             # TODO(GYP): Are these needed?
332             #"//chrome/test:test_support_unit",
333             #"//third_party/smhasher:murmurhash3",
334             #"//ui/message_center:test_support",
335           ],
336           'dependencies!': [
337             '../breakpad/breakpad.gyp:symupload',
338             '../chrome/chrome.gyp:browser_tests',
339             '../chrome/chrome.gyp:chromedriver',
340             '../chrome/chrome.gyp:chromedriver_unitests',
341             '../chrome/chrome.gyp:interactive_ui_tests',
342             '../chrome/chrome.gyp:performance_browser_tests',
343             '../chrome/chrome.gyp:sync_integration_tests',
344             '../chrome/chrome.gyp:unit_tests',
345             '../extensions/extensions_tests.gyp:extensions_browsertests',
346             '../extensions/extensions_tests.gyp:extensions_unittests',
347             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
348             '../ipc/ipc.gyp:ipc_tests',
349             '../jingle/jingle.gyp:jingle_unittests',
350             '../net/net.gyp:net_unittests',
351             #"//ppapi/examples",
352             '../third_party/pdfium/samples/samples.gyp:pdfium_test',
353             '../tools/gn/gn.gyp:gn',
354             '../tools/gn/gn.gyp:gn_unittests',
355             '../tools/imagediff/image_diff.gyp:image_diff',
356             '../tools/gn/gn.gyp:gn',
357             '../tools/gn/gn.gyp:gn_unittests',
358             '../ui/app_list/app_list.gyp:app_list_unittests',
359             '../url/url.gyp:url_unittests',
360           ],
361         }],
362         ['OS=="android" or OS=="linux"', {
363           'dependencies': [
364             '../net/net.gyp:disk_cache_memory_test',
365           ],
366         }],
367         ['chromeos==1', {
368           'dependencies': [
369             '../chromeos/chromeos.gyp:chromeos_unittests',
370             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
371           ]
372         }],
373         ['chromeos==1 or OS=="win" or OS=="mac"', {
374           'dependencies': [
375             '../rlz/rlz.gyp:rlz_id',
376             '../rlz/rlz.gyp:rlz_lib',
377             '../rlz/rlz.gyp:rlz_unittests',
378           ],
379         }],
380         ['OS=="android" or OS=="linux" or os_bsd==1', {
381           'dependencies': [
382             '../breakpad/breakpad.gyp:core-2-minidump',
383             '../breakpad/breakpad.gyp:microdump_stackwalk',
384             '../breakpad/breakpad.gyp:minidump_dump',
385             '../breakpad/breakpad.gyp:minidump_stackwalk',
386             '../breakpad/breakpad.gyp:symupload',
387             '../third_party/codesighs/codesighs.gyp:nm2tsv',
388           ],
389         }],
390         ['OS=="linux"', {
391           'dependencies': [
392             '../breakpad/breakpad.gyp:breakpad_unittests',
393             '../breakpad/breakpad.gyp:dump_syms#host',
394             '../breakpad/breakpad.gyp:generate_test_dump',
395             '../breakpad/breakpad.gyp:minidump-2-core',
396             '../dbus/dbus.gyp:dbus_test_server',
397             '../dbus/dbus.gyp:dbus_unittests',
398             '../media/cast/cast.gyp:tap_proxy',
399             '../net/net.gyp:disk_cache_memory_test',
400             '../net/net.gyp:flip_in_mem_edsm_server',
401             '../net/net.gyp:flip_in_mem_edsm_server_unittests',
402             '../net/net.gyp:epoll_quic_client',
403             '../net/net.gyp:epoll_quic_server',
404             '../net/net.gyp:hpack_example_generator',
405             '../net/net.gyp:hpack_fuzz_mutator',
406             '../net/net.gyp:hpack_fuzz_wrapper',
407             '../net/net.gyp:net_perftests',
408             '../net/net.gyp:quic_client',
409             '../net/net.gyp:quic_server',
410             '../sandbox/sandbox.gyp:chrome_sandbox',
411             '../sandbox/sandbox.gyp:sandbox_linux_unittests',
412             '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests',
413             '../third_party/sqlite/sqlite.gyp:sqlite_shell',
414          ],
415         }],
416         ['OS=="mac"', {
417           'dependencies': [
418             '../breakpad/breakpad.gyp:crash_inspector',
419             '../breakpad/breakpad.gyp:dump_syms',
420             '../breakpad/breakpad.gyp:symupload',
421             '../third_party/apple_sample_code/apple_sample_code.gyp:apple_sample_code',
422             '../third_party/molokocacao/molokocacao.gyp:molokocacao',
424             # TODO(GYP): remove these when the corresponding root targets work.
425             #"//cc/blink",
426             #"//components/ui/zoom:ui_zoom",
427             #"//content",
428             #"//content/test:test_support",
429             #"//device/battery",
430             #"//device/bluetooth",
431             #"//device/nfc",
432             #"//device/usb",
433             #"//device/vibration",
434             #"//media/blink",
435             #"//pdf",
436             #"//storage/browser",
437             #"//third_party/brotli",
438             #"//third_party/flac",
439             #"//third_party/hunspell",
440             #//third_party/iccjpeg",
441             #"//third_party/libphonenumber",
442             #"//third_party/ots",
443             #"//third_party/qcms",
444             #"//third_party/smhasher:murmurhash3",
445             #"//third_party/webrtc/system_wrappers",
446             #"//ui/native_theme",
447             #"//ui/snapshot",
448             #"//ui/surface",
449           ],
450           'dependencies!': [
451             #"//chrome",  # TODO(GYP)
452             #"//chrome/test:browser_tests",  # TODO(GYP)
453             #"//chrome/test:interactive_ui_tests",  # TODO(GYP)
454             #"//chrome/test:sync_integration_tests",  # TODO(GYP)
455             #"//chrome/test:unit_tests",  # TODO(GYP)
456             #"//components:components_unittests",  # TODO(GYP)
457             #"//content/test:content_browsertests",  # TODO(GYP)
458             #"//content/test:content_perftests",  # TODO(GYP)
459             #"//content/test:content_unittests",  # TODO(GYP)
460             #"//extensions:extensions_browsertests",  # TODO(GYP)
461             #"//extensions:extensions_unittests",  # TODO(GYP)
462             #"//net:net_unittests",  # TODO(GYP)
463             #"//third_party/usrsctp",  # TODO(GYP)
464             #"//ui/app_list:app_list_unittests",  # TODO(GYP)
465             #"//ui/gfx:gfx_unittests",  # TODO(GYP)
466           ],
467         }],
468         ['OS=="win"', {
469           'dependencies': [
470             '../base/base.gyp:pe_image_test',
471             '../chrome/chrome.gyp:crash_service',
472             '../chrome/chrome.gyp:setup_unittests',
473             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
474             '../chrome_elf/chrome_elf.gyp:dll_hash_main',
475             '../components/components.gyp:wifi_test',
476             '../net/net.gyp:quic_client',
477             '../net/net.gyp:quic_server',
478             '../sandbox/sandbox.gyp:pocdll',
479             '../sandbox/sandbox.gyp:sandbox_poc',
480             '../sandbox/sandbox.gyp:sbox_integration_tests',
481             '../sandbox/sandbox.gyp:sbox_unittests',
482             '../sandbox/sandbox.gyp:sbox_validation_tests',
483             '../testing/gtest.gyp:gtest_main',
484             '../third_party/codesighs/codesighs.gyp:msdump2symdb',
485             '../third_party/codesighs/codesighs.gyp:msmap2tsv',
486             '../third_party/pdfium/samples/samples.gyp:pdfium_diff',
487             '../win8/win8.gyp:metro_viewer',
488           ],
489         }],
490       ],
491     },
492     {
493       'target_name': 'gyp_only',
494       'type': 'none',
495       'conditions': [
496         ['OS=="linux" or OS=="win"', {
497           'conditions': [
498             ['disable_nacl==0 and disable_nacl_untrusted==0', {
499               'dependencies': [
500                 '../mojo/mojo_nacl.gyp:monacl_shell',  # This should not be built in chromium.
501               ]
502             }],
503           ]
504         }],
505       ],
506     },
507     {
508       'target_name': 'gyp_remaining',
509       'type': 'none',
510       'conditions': [
511         ['remoting==1', {
512           'dependencies': [
513             '../remoting/app_remoting_webapp.gyp:ar_sample_app',  # crbug.com/471916
514           ],
515         }],
516         ['test_isolation_mode!="noop"', {
517           'dependencies': [
518             '../base/base.gyp:base_unittests_run',
519             '../cc/cc_tests.gyp:cc_unittests_run',
520             '../chrome/chrome.gyp:browser_tests_run',
521             '../chrome/chrome.gyp:chrome_run',
522             '../chrome/chrome.gyp:interactive_ui_tests_run',
523             '../chrome/chrome.gyp:sync_integration_tests_run',
524             '../chrome/chrome.gyp:unit_tests_run',
525             '../components/components_tests.gyp:components_browsertests_run',
526             '../components/components_tests.gyp:components_unittests_run',
527             '../content/content_shell_and_tests.gyp:content_browsertests_run',
528             '../content/content_shell_and_tests.gyp:content_unittests_run',
529             '../courgette/courgette.gyp:courgette_unittests_run',
530             '../crypto/crypto.gyp:crypto_unittests_run',
531             '../google_apis/gcm/gcm.gyp:gcm_unit_tests_run',
532             '../google_apis/google_apis.gyp:google_apis_unittests_run',
533             '../gpu/gpu.gyp:gpu_unittests_run',
534             '../ipc/ipc.gyp:ipc_tests_run',
535             '../media/cast/cast.gyp:cast_unittests_run',
536             '../media/media.gyp:media_unittests_run',
537             '../media/midi/midi.gyp:midi_unittests_run',
538             '../net/net.gyp:net_unittests_run',
539             '../printing/printing.gyp:printing_unittests_run',
540             '../remoting/remoting.gyp:remoting_unittests_run',
541             '../skia/skia_tests.gyp:skia_unittests_run',
542             '../sql/sql.gyp:sql_unittests_run',
543             '../sync/sync.gyp:sync_unit_tests_run',
544             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests_run',
545             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests_run',
546             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_environment_unittests_run',
547             '../tools/gn/gn.gyp:gn_unittests_run',
548             '../ui/accessibility/accessibility.gyp:accessibility_unittests_run',
549             '../ui/app_list/app_list.gyp:app_list_unittests_run',
550             '../ui/compositor/compositor.gyp:compositor_unittests_run',
551             '../ui/events/events.gyp:events_unittests_run',
552             '../ui/gl/gl_tests.gyp:gl_unittests_run',
553             '../ui/message_center/message_center.gyp:message_center_unittests_run',
554             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_run',
555             '../url/url.gyp:url_unittests_run',
556           ],
557           'conditions': [
558             ['OS=="linux"', {
559               'dependencies': [
560                 '../sandbox/sandbox.gyp:sandbox_linux_unittests_run',
561                 '../ui/display/display.gyp:display_unittests_run',
562               ],
563             }],
564             ['OS=="mac"', {
565               'dependencies': [
566                 '../sandbox/sandbox.gyp:sandbox_mac_unittests_run',
567               ],
568             }],
569             ['OS=="win"', {
570               'dependencies': [
571                 '../chrome/chrome.gyp:installer_util_unittests_run',
572                 '../chrome/chrome.gyp:setup_unittests_run',
573                 '../sandbox/sandbox.gyp:sbox_integration_tests',
574                 '../sandbox/sandbox.gyp:sbox_unittests',
575                 '../sandbox/sandbox.gyp:sbox_validation_tests',
576               ],
577             }],
578             ['use_ash==1', {
579               'dependencies': [
580                 '../ash/ash.gyp:ash_unittests_run',
581               ],
582             }],
583             ['use_aura==1', {
584               'dependencies': [
585                 '../ui/aura/aura.gyp:aura_unittests_run',
586                 '../ui/wm/wm.gyp:wm_unittests_run',
587               ],
588             }],
589             ['enable_webrtc==1 or OS!="android"', {
590               'dependencies': [
591                 '../jingle/jingle.gyp:jingle_unittests_run',
592               ],
593             }],
594             ['disable_nacl==0 and disable_nacl_untrusted==0', {
595               'dependencies': [
596                 '../components/nacl.gyp:nacl_loader_unittests_run',
597               ]
598             }],
599           ],
600         }],
601         ['use_openssl==1', {
602           'dependencies': [
603             # TODO(GYP): All of these targets still need to be converted.
604             '../third_party/boringssl/boringssl_tests.gyp:boringssl_ecdsa_test',
605             '../third_party/boringssl/boringssl_tests.gyp:boringssl_bn_test',
606             '../third_party/boringssl/boringssl_tests.gyp:boringssl_pqueue_test',
607             '../third_party/boringssl/boringssl_tests.gyp:boringssl_digest_test',
608             '../third_party/boringssl/boringssl_tests.gyp:boringssl_cipher_test',
609             '../third_party/boringssl/boringssl_tests.gyp:boringssl_hkdf_test',
610             '../third_party/boringssl/boringssl_tests.gyp:boringssl_constant_time_test',
611             '../third_party/boringssl/boringssl_tests.gyp:boringssl_thread_test',
612             '../third_party/boringssl/boringssl_tests.gyp:boringssl_base64_test',
613             '../third_party/boringssl/boringssl_tests.gyp:boringssl_gcm_test',
614             '../third_party/boringssl/boringssl_tests.gyp:boringssl_bytestring_test',
615             '../third_party/boringssl/boringssl_tests.gyp:boringssl_evp_test',
616             '../third_party/boringssl/boringssl_tests.gyp:boringssl_dsa_test',
617             '../third_party/boringssl/boringssl_tests.gyp:boringssl_rsa_test',
618             '../third_party/boringssl/boringssl_tests.gyp:boringssl_hmac_test',
619             '../third_party/boringssl/boringssl_tests.gyp:boringssl_aead_test',
620             '../third_party/boringssl/boringssl_tests.gyp:boringssl_ssl_test',
621             '../third_party/boringssl/boringssl_tests.gyp:boringssl_err_test',
622             '../third_party/boringssl/boringssl_tests.gyp:boringssl_lhash_test',
623             '../third_party/boringssl/boringssl_tests.gyp:boringssl_pbkdf_test',
624             '../third_party/boringssl/boringssl_tests.gyp:boringssl_dh_test',
625             '../third_party/boringssl/boringssl_tests.gyp:boringssl_pkcs12_test',
626             '../third_party/boringssl/boringssl_tests.gyp:boringssl_example_mul',
627             '../third_party/boringssl/boringssl_tests.gyp:boringssl_ec_test',
628             '../third_party/boringssl/boringssl_tests.gyp:boringssl_bio_test',
629             '../third_party/boringssl/boringssl_tests.gyp:boringssl_pkcs7_test',
630             '../third_party/boringssl/boringssl_tests.gyp:boringssl_unittests',
631           ],
632         }],
633         ['chromeos==1', {
634           'dependencies': [
635             '../content/content_shell_and_tests.gyp:jpeg_decode_accelerator_unittest',
636             '../content/content_shell_and_tests.gyp:video_encode_accelerator_unittest',
637           ],
638         }],
639         ['chromeos==1 and target_arch != "arm"', {
640           'dependencies': [
641             '../content/content_shell_and_tests.gyp:vaapi_jpeg_decoder_unittest',
642           ],
643         }],
644         ['chromeos==1 or OS=="win" or OS=="android"', {
645           'dependencies': [
646             '../content/content_shell_and_tests.gyp:video_decode_accelerator_unittest',
647           ],
648         }],
649         ['OS=="linux" or OS=="win"', {
650           'dependencies': [
651             # TODO(GYP): Figure out which of these run on android/mac/win/ios/etc.
652             '../net/net.gyp:net_docs',
653             '../remoting/remoting.gyp:ar_sample_test_driver',
655             # TODO(GYP): in progress - see tfarina.
656             '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
657             '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
658           ],
659         }],
660         ['OS=="win"', {
661           'dependencies': [
662             # TODO(GYP): All of these targets still need to be converted.
663             '../base/base.gyp:debug_message',
664             '../chrome/chrome.gyp:app_shim',
665             '../chrome/chrome.gyp:gcapi_dll',
666             '../chrome/chrome.gyp:gcapi_test',
667             '../chrome/chrome.gyp:installer_util_unittests',
668             '../chrome/chrome.gyp:pack_policy_templates',
669             '../chrome/chrome.gyp:sb_sigutil',
670             '../chrome/chrome.gyp:setup',
671             '../chrome/installer/mini_installer.gyp:mini_installer',
672             '../chrome/tools/crash_service/caps/caps.gyp:caps',
673             '../cloud_print/gcp20/prototype/gcp20_device.gyp:gcp20_device',
674             '../cloud_print/gcp20/prototype/gcp20_device.gyp:gcp20_device_unittests',
675             '../cloud_print/service/win/service.gyp:cloud_print_service',
676             '../cloud_print/service/win/service.gyp:cloud_print_service_config',
677             '../cloud_print/service/win/service.gyp:cloud_print_service_setup',
678             '../cloud_print/virtual_driver/win/install/virtual_driver_install.gyp:virtual_driver_setup',
679             '../cloud_print/virtual_driver/win/virtual_driver.gyp:gcp_portmon',
680             '../components/test_runner/test_runner.gyp:layout_test_helper',
681             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
682             '../gpu/gpu.gyp:angle_end2end_tests',
683             '../gpu/gpu.gyp:angle_perftests',
684             '../net/net.gyp:net_docs',
685             '../ppapi/ppapi_internal.gyp:ppapi_perftests',
686             '../remoting/remoting.gyp:ar_sample_test_driver',
687             '../remoting/remoting.gyp:remoting_breakpad_tester',
688             '../remoting/remoting.gyp:remoting_console',
689             '../remoting/remoting.gyp:remoting_desktop',
690             '../rlz/rlz.gyp:rlz',
691             '../tools/win/static_initializers/static_initializers.gyp:static_initializers',
692           ],
693         }],
694         ['OS=="win" and win_use_allocator_shim==1', {
695           'dependencies': [
696             '../base/allocator/allocator.gyp:allocator_unittests',
697           ]
698         }],
699         ['OS=="win" and target_arch=="ia32"', {
700           'dependencies': [
701             # TODO(GYP): All of these targets need to be ported over.
702             '../base/base.gyp:base_win64',
703             '../base/base.gyp:base_i18n_nacl_win64',
704             '../chrome/chrome.gyp:crash_service_win64',
705             '../chrome/chrome.gyp:launcher_support64',
706             '../components/components.gyp:breakpad_win64',
707             '../courgette/courgette.gyp:courgette64',
708             '../crypto/crypto.gyp:crypto_nacl_win64',
709             '../ipc/ipc.gyp:ipc_win64',
710             '../sandbox/sandbox.gyp:sandbox_win64',
711             '../cloud_print/virtual_driver/win/virtual_driver64.gyp:gcp_portmon64',
712             '../cloud_print/virtual_driver/win/virtual_driver64.gyp:virtual_driver_lib64',
713           ],
714         }],
715         ['OS=="win" and target_arch=="ia32" and configuration_policy==1', {
716           'dependencies': [
717             # TODO(GYP): All of these targets need to be ported over.
718             '../components/components.gyp:policy_win64',
719           ]
720         }],
721       ],
722     },
723   ]