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