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