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 three targets that we are using to
6 # track the progress of the GYP->GN migration:
8 # If you run 'ninja gn_build gyp_remaining gyp_groups', and then
9 # run 'ninja', the second ninja invocation should do nothing. This
10 # indicates that everything built by a ninja build is in fact
11 # listed in one of these targets.
13 # 'gn_all' lists what GN is currently capable of building and should
14 # match the 'gn_all' target in //BUILD.gn.
16 # 'gyp_remaining' lists all of the targets that still need to be converted,
17 # i.e., all of the other (non-empty) targets that a GYP build
20 # 'gyp_groups' lists any empty (group) targets in the GYP build that
21 # are not picked up by gn_all or gyp_remaining; this is a
22 # separate target to ensure that when we build it, only
23 # stamp targets file are we don't accidentally pick up something
24 # not listed in one of the other two targets.
26 # TODO(GYP), TODO(dpranke) Add a build step to the bot that enforces the
32 # This target should mirror the structure of //:gn_all
33 # as closely as possible, for ease of comparison.
34 'target_name': 'gn_all',
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 '../base/base.gyp:protect_file_posix',
43 '../breakpad/breakpad.gyp:core-2-minidump',
44 '../breakpad/breakpad.gyp:microdump_stackwalk',
45 '../breakpad/breakpad.gyp:minidump_dump',
46 '../breakpad/breakpad.gyp:minidump_stackwalk',
47 '../build/sanitizers/sanitizers.gyp:llvm-symbolizer',
48 '../cc/cc_tests.gyp:cc_perftests',
49 '../cc/cc_tests.gyp:cc_unittests',
50 '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
51 '../chrome/chrome.gyp:chrome',
52 '../chrome/chrome.gyp:browser_tests',
53 '../chrome/chrome.gyp:chrome_app_unittests',
54 '../chrome/chrome.gyp:chromedriver',
55 '../chrome/chrome.gyp:chromedriver_tests',
56 '../chrome/chrome.gyp:chromedriver_unittests',
57 '../chrome/chrome.gyp:interactive_ui_tests',
58 '../chrome/chrome.gyp:load_library_perf_tests',
59 '../chrome/chrome.gyp:service_discovery_sniffer',
60 '../chrome/chrome.gyp:sync_integration_tests',
61 '../chrome/chrome.gyp:sync_performance_tests',
62 '../chrome/chrome.gyp:unit_tests',
63 '../chrome/tools/profile_reset/jtl_compiler.gyp:jtl_compiler',
64 '../components/components.gyp:network_hints_browser',
65 '../components/components.gyp:policy_templates',
66 '../components/components.gyp:webui_generator',
67 '../components/components_tests.gyp:components_perftests',
68 '../components/components_tests.gyp:components_unittests',
69 '../components/nacl.gyp:nacl_loader_unittests',
70 '../content/content.gyp:content_app_browser',
71 '../content/content.gyp:content_app_child',
72 '../content/content_shell_and_tests.gyp:content_browsertests',
73 '../content/content_shell_and_tests.gyp:content_gl_benchmark',
74 '../content/content_shell_and_tests.gyp:content_gl_tests',
75 '../content/content_shell_and_tests.gyp:content_perftests',
76 '../content/content_shell_and_tests.gyp:content_shell',
77 '../content/content_shell_and_tests.gyp:content_unittests',
78 '../courgette/courgette.gyp:courgette',
79 '../courgette/courgette.gyp:courgette_fuzz',
80 '../courgette/courgette.gyp:courgette_minimal_tool',
81 '../courgette/courgette.gyp:courgette_unittests',
82 '../crypto/crypto.gyp:crypto_unittests',
83 '../extensions/extensions_tests.gyp:extensions_browsertests',
84 '../extensions/extensions_tests.gyp:extensions_unittests',
85 '../dbus/dbus.gyp:dbus_test_server',
86 '../device/device_tests.gyp:device_unittests',
87 '../gin/gin.gyp:gin_v8_snapshot_fingerprint',
88 '../gin/gin.gyp:gin_shell',
89 '../gin/gin.gyp:gin_unittests',
90 '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
91 '../google_apis/gcm/gcm.gyp:mcs_probe',
92 '../google_apis/google_apis.gyp:google_apis_unittests',
93 '../gpu/gpu.gyp:angle_unittests',
94 '../gpu/gpu.gyp:gl_tests',
95 '../gpu/gpu.gyp:gpu_perftests',
96 '../gpu/gpu.gyp:gpu_unittests',
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/cast/cast.gyp:cast_benchmarks',
105 '../media/cast/cast.gyp:cast_unittests',
106 '../media/cast/cast.gyp:generate_barcode_video',
107 '../media/cast/cast.gyp:generate_timecode_audio',
108 '../media/cast/cast.gyp:tap_proxy',
109 '../mojo/mojo.gyp:mojo',
110 '../mojo/mojo_base.gyp:mojo_application_chromium',
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:*', # TODO(GYP) - list all of the examples explicitly.
128 '../ppapi/ppapi_internal.gyp:ppapi_tests', # TODO(GYP): Split out the examples and tests
129 '../ppapi/ppapi_internal.gyp:ppapi_unittests',
130 '../ppapi/tools/ppapi_tools.gyp:pepper_hash_for_uma',
131 '../printing/printing.gyp:printing_unittests',
132 '../skia/skia_tests.gyp:skia_unittests',
133 '../skia/skia.gyp:filter_fuzz_stub',
134 '../skia/skia.gyp:image_operations_bench',
135 '../sql/sql.gyp:sql_unittests',
136 '../sync/sync.gyp:run_sync_testserver',
137 '../sync/sync.gyp:sync_endtoend_tests',
138 '../sync/sync.gyp:sync_unit_tests',
139 '../sync/tools/sync_tools.gyp:sync_client',
140 '../sync/tools/sync_tools.gyp:sync_listen_notifications',
141 '../testing/gmock.gyp:gmock_main',
142 '../third_party/WebKit/public/all.gyp:blink_tests',
143 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
144 '../third_party/codesighs/codesighs.gyp:codesighs',
145 '../third_party/codesighs/codesighs.gyp:maptsvdifftool',
146 '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
147 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
148 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
149 '../third_party/mojo/mojo_edk_tests.gyp:mojo_system_unittests',
150 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests',
151 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_environment_unittests',
152 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_perftests',
153 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_unittests',
154 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_utility_unittests',
155 '../third_party/pdfium/samples/samples.gyp:pdfium_test',
156 '../third_party/smhasher/smhasher.gyp:pmurhash',
157 '../third_party/sqlite/sqlite.gyp:sqlite_shell',
158 '../tools/gn/gn.gyp:gn',
159 '../tools/gn/gn.gyp:generate_test_gn_data',
160 '../tools/gn/gn.gyp:gn_unittests',
161 '../tools/imagediff/image_diff.gyp:image_diff',
162 '../tools/perf/clear_system_cache/clear_system_cache.gyp:clear_system_cache',
163 '../tools/telemetry/telemetry.gyp:bitmaptools#host',
164 '../ui/accessibility/accessibility.gyp:accessibility_unittests',
165 '../ui/app_list/app_list.gyp:app_list_unittests',
166 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
167 '../ui/compositor/compositor.gyp:compositor_unittests',
168 '../ui/display/display.gyp:display_unittests',
169 '../ui/events/events.gyp:events_unittests',
170 '../ui/gfx/gfx_tests.gyp:gfx_unittests',
171 '../ui/keyboard/keyboard.gyp:keyboard_unittests',
172 '../ui/message_center/message_center.gyp:message_center_unittests',
173 '../ui/snapshot/snapshot.gyp:snapshot_unittests',
174 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
175 '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
176 '../url/url.gyp:url_unittests',
177 '../v8/tools/gyp/v8.gyp:v8_snapshot',
178 '../v8/tools/gyp/v8.gyp:postmortem-metadata',
181 ['chromeos== 1 or use_ash==1', {
183 '../components/components.gyp:session_manager_component',
186 ['enable_extensions==1 and OS!="mac"', {
188 '../extensions/shell/app_shell.gyp:app_shell',
189 '../extensions/shell/app_shell.gyp:app_shell_unittests',
194 '../breakpad/breakpad.gyp:symupload',
199 '../remoting/remoting.gyp:remoting_unittests',
204 '../media/media.gyp:player_x11',
205 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
208 ['target_arch!="arm"', {
210 '../gpu/tools/tools.gyp:compositor_model_bench',
215 ['toolkit_views==1', {
217 '../ui/app_list/app_list.gyp:app_list_demo',
218 '../ui/views/views.gyp:views_unittests',
223 '../ash/ash.gyp:ash_shell',
224 '../ash/ash.gyp:ash_shell_unittests',
225 '../ash/ash.gyp:ash_unittests',
230 '../ui/aura/aura.gyp:aura_bench',
231 '../ui/aura/aura.gyp:aura_demo',
232 '../ui/aura/aura.gyp:aura_unittests',
233 '../ui/wm/wm.gyp:wm_unittests',
238 '../ui/ozone/ozone.gyp:ozone',
241 ['OS=="win" or OS=="mac" or chromeos==1', {
243 '../rlz/rlz.gyp:rlz_lib',
248 '../base/base.gyp:chromium_android_linker',
249 '../breakpad/breakpad.gyp:dump_syms',
250 '../build/android/rezip.gyp:rezip_apk_jar',
251 '../chrome/chrome.gyp:chrome_shell_apk',
252 '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
253 #"//clank" TODO(GYP) - conditional somehow?
254 '../tools/imagediff/image_diff.gyp:image_diff#host',
255 '../tools/telemetry/telemetry.gyp:bitmaptools#host',
257 # TODO(GYP): Remove these when the components_unittests work.
258 #"//components/history/core/test:test",
259 #"//components/policy:policy_component_test_support",
260 #"//components/policy:test_support",
261 #"//components/rappor:test_support",
262 #"//components/signin/core/browser:test_support",
263 #"//components/sync_driver:test_support",
264 #"//components/user_manager",
265 #"//components/wallpaper",
267 '../content/content_shell_and_tests.gyp:content_shell_apk',
269 # TODO(GYP): Are these needed, or will they be pulled in automatically?
270 #"//third_party/android_tools:android_gcm_java",
271 #"//third_party/android_tools:uiautomator_java",
272 #"//third_party/android_tools:android_support_v13_java",
273 #"//third_party/android_tools:android_support_v7_appcompat_java",
274 #"//third_party/android_tools:android_support_v7_mediarouter_java",
275 #"//third_party/mesa",
276 #"//third_party/mockito:mockito_java",
277 #"//third_party/openmax_dl/dl",
278 #"//third_party/speex",
279 #"//ui/android:ui_java",
281 # TODO(GYP): Are these needed?
282 #"//chrome/test:test_support_unit",
283 #"//third_party/smhasher:murmurhash3",
284 #"//ui/message_center:test_support",
287 '../breakpad/breakpad.gyp:symupload',
288 '../chrome/chrome.gyp:browser_tests',
289 '../chrome/chrome.gyp:chromedriver',
290 '../chrome/chrome.gyp:chromedriver_unitests',
291 '../chrome/chrome.gyp:interactive_ui_tests',
292 '../chrome/chrome.gyp:sync_integration_tests',
293 '../chrome/chrome.gyp:unit_tests',
294 '../extensions/extensions_tests.gyp:extensions_browsertests',
295 '../extensions/extensions_tests.gyp:extensions_unittests',
296 '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
297 '../ipc/ipc.gyp:ipc_tests',
298 '../jingle/jingle.gyp:jingle_unittests',
299 '../net/net.gyp:net_unittests',
301 '../third_party/pdfium/samples/samples.gyp:pdfium_test',
302 '../tools/gn/gn.gyp:gn',
303 '../tools/gn/gn.gyp:gn_unittests',
304 '../tools/imagediff/image_diff.gyp:image_diff',
305 '../tools/gn/gn.gyp:gn',
306 '../tools/gn/gn.gyp:gn_unittests',
307 '../ui/app_list/app_list.gyp:app_list_unittests',
308 '../url/url.gyp:url_unittests',
313 '../breakpad/breakpad.gyp:breakpad_unittests',
314 '../breakpad/breakpad.gyp:dump_syms',
315 '../breakpad/breakpad.gyp:generate_test_dump',
316 '../breakpad/breakpad.gyp:minidump-2-core',
317 '../dbus/dbus.gyp:dbus_test_server',
318 '../dbus/dbus.gyp:dbus_unittests',
319 '../media/cast/cast.gyp:tap_proxy',
320 '../net/net.gyp:disk_cache_memory_test',
321 '../net/net.gyp:flip_in_mem_edsm_server',
322 '../net/net.gyp:flip_in_mem_edsm_server_unittests',
323 '../net/net.gyp:hpack_example_generator',
324 '../net/net.gyp:hpack_fuzz_mutator',
325 '../net/net.gyp:hpack_fuzz_wrapper',
326 '../net/net.gyp:net_perftests',
327 '../net/net.gyp:quic_client',
328 '../net/net.gyp:quic_server',
329 '../sandbox/sandbox.gyp:chrome_sandbox',
330 '../sandbox/sandbox.gyp:sandbox_linux_unittests',
331 '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests',
336 '../breakpad/breakpad.gyp:crash_inspector',
337 '../breakpad/breakpad.gyp:dump_syms',
338 '../breakpad/breakpad.gyp:symupload',
339 '../third_party/apple_sample_code/apple_sample_code.gyp:apple_sample_code',
340 '../third_party/molokocacao/molokocacao.gyp:molokocacao',
342 # TODO(GYP): remove these when the corresponding root targets work.
344 #"//components/ui/zoom:ui_zoom",
346 #"//content/test:test_support",
348 #"//device/bluetooth",
351 #"//device/vibration",
354 #"//storage/browser",
355 #"//third_party/brotli",
356 #"//third_party/flac",
357 #"//third_party/hunspell",
358 #//third_party/iccjpeg",
359 #"//third_party/libphonenumber",
360 #"//third_party/ots",
361 #"//third_party/qcms",
362 #"//third_party/smhasher:murmurhash3",
363 #"//third_party/speex",
364 #"//third_party/webrtc/system_wrappers",
365 #"//ui/native_theme",
370 #"//chrome", # TODO(GYP)
371 #"//chrome/test:browser_tests", # TODO(GYP)
372 #"//chrome/test:interactive_ui_tests", # TODO(GYP)
373 #"//chrome/test:sync_integration_tests", # TODO(GYP)
374 #"//chrome/test:unit_tests", # TODO(GYP)
375 #"//components:components_unittests", # TODO(GYP)
376 #"//content/test:content_browsertests", # TODO(GYP)
377 #"//content/test:content_perftests", # TODO(GYP)
378 #"//content/test:content_unittests", # TODO(GYP)
379 #"//extensions:extensions_browsertests", # TODO(GYP)
380 #"//extensions:extensions_unittests", # TODO(GYP)
381 #"//net:net_unittests", # TODO(GYP)
382 #"//third_party/usrsctp", # TODO(GYP)
383 #"//ui/app_list:app_list_unittests", # TODO(GYP)
384 #"//ui/gfx:gfx_unittests", # TODO(GYP)
390 '../third_party/codesighs/codesighs.gyp:msdump2symdb',
393 "//crypto:crypto_unittests", # TODO(GYP)
394 "//net:net_unittests", # TODO(GYP)
398 '../third_party/codesighs/codesighs.gyp:nm2tsv',
401 ['OS=="android" or OS=="linux"', {
403 '../net/net.gyp:disk_cache_memory_test',
409 'target_name': 'gyp_remaining',
414 '../chrome/chrome.gyp:performance_browser_tests',
415 '../cloud_print/cloud_print.gyp:cloud_print_unittests',
416 '../components/components_tests.gyp:components_browsertests',
417 '../components/components_tests.gyp:components_perftests',
418 '../gpu/gpu.gyp:gl_tests',
419 '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',
420 '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
421 '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
422 '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
423 '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
425 # TODO(GYP) - list all of the examples explicitly.
426 '../ppapi/ppapi_internal.gyp:*',
429 ['disable_nacl==0 and disable_nacl_untrusted==0', {
431 '../components/nacl.gyp:nacl_loader_unittests',
432 '../mojo/mojo_nacl.gyp:monacl_shell', # TODO(GYP) This will be deleted; don't port
433 '../remoting/remoting.gyp:remoting_key_tester',
438 '../remoting/app_remoting_webapp.gyp:ar_sample_app',
439 '../remoting/remoting.gyp:remoting_host',
440 '../remoting/remoting.gyp:remoting_it2me_native_messaging_host',
441 '../remoting/remoting.gyp:remoting_me2me_host',
442 '../remoting/remoting.gyp:remoting_me2me_native_messaging_host',
443 '../remoting/remoting.gyp:remoting_native_messaging_manifests',
444 '../remoting/remoting.gyp:remoting_perftests',
445 '../remoting/remoting.gyp:remoting_start_host',
448 ['test_isolation_mode!="noop"', {
450 '../base/base.gyp:base_unittests_run',
451 '../cc/cc_tests.gyp:cc_unittests_run',
452 '../chrome/chrome.gyp:browser_tests_run',
453 '../chrome/chrome.gyp:chrome_run',
454 '../chrome/chrome.gyp:interactive_ui_tests_run',
455 '../chrome/chrome.gyp:sync_integration_tests_run',
456 '../chrome/chrome.gyp:unit_tests_run',
457 '../components/components_tests.gyp:components_browsertests_run',
458 '../components/components_tests.gyp:components_unittests_run',
459 '../content/content_shell_and_tests.gyp:content_browsertests_run',
460 '../content/content_shell_and_tests.gyp:content_unittests_run',
461 '../crypto/crypto.gyp:crypto_unittests_run',
462 '../courgette/courgette.gyp:courgette_unittests_run',
463 '../gpu/gpu.gyp:gpu_unittests_run',
464 '../media/cast/cast.gyp:cast_unittests_run',
465 '../media/media.gyp:media_unittests_run',
466 '../net/net.gyp:net_unittests_run',
467 '../sandbox/sandbox.gyp:sandbox_linux_unittests_run',
468 '../sql/sql.gyp:sql_unittests_run',
469 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests_run',
470 '../ui/accessibility/accessibility.gyp:accessibility_unittests_run',
471 '../ui/app_list/app_list.gyp:app_list_unittests_run',
472 '../ui/events/events.gyp:events_unittests_run',
473 '../ui/message_center/message_center.gyp:message_center_unittests_run',
474 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_run',
479 '../ash/ash.gyp:ash_unittests_run',
489 # This target, when built, should cause no actual work
490 # to be done, just update a bunch of stamp files.
491 'target_name': 'gyp_groups',
497 'chromium_builder_asan',
498 'chromium_builder_chromedriver',
499 'chromium_builder_perf',
500 'chromium_builder_tests',
501 'chromium_builder_webrtc',
502 'chromium_gpu_builder',
503 'chromium_gpu_debug_builder',