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_browsertests',
68 '../components/components_tests.gyp:components_perftests',
69 '../components/components_tests.gyp:components_unittests',
70 '../components/nacl.gyp:nacl_loader_unittests',
71 '../content/content.gyp:content_app_browser',
72 '../content/content.gyp:content_app_child',
73 '../content/content_shell_and_tests.gyp:content_browsertests',
74 '../content/content_shell_and_tests.gyp:content_gl_benchmark',
75 '../content/content_shell_and_tests.gyp:content_gl_tests',
76 '../content/content_shell_and_tests.gyp:content_perftests',
77 '../content/content_shell_and_tests.gyp:content_shell',
78 '../content/content_shell_and_tests.gyp:content_unittests',
79 '../courgette/courgette.gyp:courgette',
80 '../courgette/courgette.gyp:courgette_fuzz',
81 '../courgette/courgette.gyp:courgette_minimal_tool',
82 '../courgette/courgette.gyp:courgette_unittests',
83 '../crypto/crypto.gyp:crypto_unittests',
84 '../extensions/extensions_tests.gyp:extensions_browsertests',
85 '../extensions/extensions_tests.gyp:extensions_unittests',
86 '../dbus/dbus.gyp:dbus_test_server',
87 '../device/device_tests.gyp:device_unittests',
88 '../gin/gin.gyp:gin_v8_snapshot_fingerprint',
89 '../gin/gin.gyp:gin_shell',
90 '../gin/gin.gyp:gin_unittests',
91 '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
92 '../google_apis/gcm/gcm.gyp:mcs_probe',
93 '../google_apis/google_apis.gyp:google_apis_unittests',
94 '../gpu/gpu.gyp:angle_unittests',
95 '../gpu/gpu.gyp:gl_tests',
96 '../gpu/gpu.gyp:gpu_perftests',
97 '../gpu/gpu.gyp:gpu_unittests',
98 '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test', # TODO(GYP) crbug.com/471903 to make this complete.
99 '../ipc/ipc.gyp:ipc_perftests',
100 '../ipc/ipc.gyp:ipc_tests',
101 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
102 '../jingle/jingle.gyp:jingle_unittests',
103 '../media/media.gyp:ffmpeg_regression_tests', # TODO(GYP) this should be conditional on media_use_ffmpeg
104 '../media/media.gyp:media_perftests',
105 '../media/media.gyp:media_unittests',
106 '../media/cast/cast.gyp:cast_benchmarks',
107 '../media/cast/cast.gyp:cast_unittests',
108 '../media/cast/cast.gyp:generate_barcode_video',
109 '../media/cast/cast.gyp:generate_timecode_audio',
110 '../media/cast/cast.gyp:tap_proxy',
111 '../mojo/mojo.gyp:mojo',
112 '../mojo/mojo_base.gyp:mojo_application_chromium',
113 '../mojo/mojo_base.gyp:mojo_common_unittests',
114 '../net/net.gyp:crash_cache',
115 '../net/net.gyp:crl_set_dump',
116 '../net/net.gyp:dns_fuzz_stub',
117 '../net/net.gyp:dump_cache',
118 '../net/net.gyp:gdig',
119 '../net/net.gyp:get_server_time',
120 '../net/net.gyp:hpack_example_generator',
121 '../net/net.gyp:hpack_fuzz_mutator',
122 '../net/net.gyp:hpack_fuzz_wrapper',
123 '../net/net.gyp:net_perftests',
124 '../net/net.gyp:net_unittests',
125 '../net/net.gyp:net_watcher', # TODO(GYP): This should be conditional on use_v8_in_net
126 '../net/net.gyp:run_testserver',
127 '../net/net.gyp:stress_cache',
128 '../net/net.gyp:tld_cleanup',
129 '../ppapi/ppapi_internal.gyp:*', # TODO(GYP) - list all of the examples explicitly.
130 '../ppapi/ppapi_internal.gyp:ppapi_tests', # TODO(GYP): Split out the examples and tests
131 '../ppapi/ppapi_internal.gyp:ppapi_unittests',
132 '../ppapi/tools/ppapi_tools.gyp:pepper_hash_for_uma',
133 '../printing/printing.gyp:printing_unittests',
134 '../skia/skia_tests.gyp:skia_unittests',
135 '../skia/skia.gyp:filter_fuzz_stub',
136 '../skia/skia.gyp:image_operations_bench',
137 '../sql/sql.gyp:sql_unittests',
138 '../sync/sync.gyp:run_sync_testserver',
139 '../sync/sync.gyp:sync_endtoend_tests',
140 '../sync/sync.gyp:sync_unit_tests',
141 '../sync/tools/sync_tools.gyp:sync_client',
142 '../sync/tools/sync_tools.gyp:sync_listen_notifications',
143 '../testing/gmock.gyp:gmock_main',
144 '../third_party/WebKit/public/all.gyp:blink_tests',
145 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
146 '../third_party/codesighs/codesighs.gyp:codesighs',
147 '../third_party/codesighs/codesighs.gyp:maptsvdifftool',
148 '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
149 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
150 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
151 '../third_party/mojo/mojo_edk_tests.gyp:mojo_system_unittests',
152 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests',
153 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_environment_unittests',
154 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_perftests',
155 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_unittests',
156 '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_utility_unittests',
157 '../third_party/pdfium/samples/samples.gyp:pdfium_test',
158 '../third_party/smhasher/smhasher.gyp:pmurhash',
159 '../third_party/sqlite/sqlite.gyp:sqlite_shell',
160 '../tools/gn/gn.gyp:gn',
161 '../tools/gn/gn.gyp:generate_test_gn_data',
162 '../tools/gn/gn.gyp:gn_unittests',
163 '../tools/imagediff/image_diff.gyp:image_diff',
164 '../tools/perf/clear_system_cache/clear_system_cache.gyp:clear_system_cache',
165 '../tools/telemetry/telemetry.gyp:bitmaptools#host',
166 '../ui/accessibility/accessibility.gyp:accessibility_unittests',
167 '../ui/app_list/app_list.gyp:app_list_unittests',
168 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
169 '../ui/compositor/compositor.gyp:compositor_unittests',
170 '../ui/display/display.gyp:display_unittests',
171 '../ui/events/events.gyp:events_unittests',
172 '../ui/gfx/gfx_tests.gyp:gfx_unittests',
173 '../ui/keyboard/keyboard.gyp:keyboard_unittests',
174 '../ui/message_center/message_center.gyp:message_center_unittests',
175 '../ui/snapshot/snapshot.gyp:snapshot_unittests',
176 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
177 '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
178 '../url/url.gyp:url_unittests',
179 '../v8/tools/gyp/v8.gyp:v8_snapshot',
180 '../v8/tools/gyp/v8.gyp:postmortem-metadata',
183 ['chromeos== 1 or use_ash==1', {
185 '../components/components.gyp:session_manager_component',
188 ['enable_extensions==1 and OS!="mac"', {
190 '../extensions/shell/app_shell.gyp:app_shell',
191 '../extensions/shell/app_shell.gyp:app_shell_unittests',
196 '../breakpad/breakpad.gyp:symupload',
201 '../remoting/remoting.gyp:remoting_unittests',
206 '../media/media.gyp:player_x11',
207 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
210 ['target_arch!="arm"', {
212 '../gpu/tools/tools.gyp:compositor_model_bench',
217 ['toolkit_views==1', {
219 '../ui/app_list/app_list.gyp:app_list_demo',
220 '../ui/views/views.gyp:views_unittests',
225 '../ash/ash.gyp:ash_shell',
226 '../ash/ash.gyp:ash_shell_unittests',
227 '../ash/ash.gyp:ash_unittests',
232 '../ui/aura/aura.gyp:aura_bench',
233 '../ui/aura/aura.gyp:aura_demo',
234 '../ui/aura/aura.gyp:aura_unittests',
235 '../ui/wm/wm.gyp:wm_unittests',
240 '../ui/ozone/ozone.gyp:ozone',
243 ['OS=="win" or OS=="mac" or chromeos==1', {
245 '../rlz/rlz.gyp:rlz_lib',
250 '../base/base.gyp:chromium_android_linker',
251 '../breakpad/breakpad.gyp:dump_syms',
252 '../build/android/rezip.gyp:rezip_apk_jar',
253 '../chrome/chrome.gyp:chrome_shell_apk',
254 '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
255 #"//clank" TODO(GYP) - conditional somehow?
256 '../tools/imagediff/image_diff.gyp:image_diff#host',
257 '../tools/telemetry/telemetry.gyp:bitmaptools#host',
259 # TODO(GYP): Remove these when the components_unittests work.
260 #"//components/history/core/test:test",
261 #"//components/policy:policy_component_test_support",
262 #"//components/policy:test_support",
263 #"//components/rappor:test_support",
264 #"//components/signin/core/browser:test_support",
265 #"//components/sync_driver:test_support",
266 #"//components/user_manager",
267 #"//components/wallpaper",
269 '../content/content_shell_and_tests.gyp:content_shell_apk',
271 # TODO(GYP): Are these needed, or will they be pulled in automatically?
272 #"//third_party/android_tools:android_gcm_java",
273 #"//third_party/android_tools:uiautomator_java",
274 #"//third_party/android_tools:android_support_v13_java",
275 #"//third_party/android_tools:android_support_v7_appcompat_java",
276 #"//third_party/android_tools:android_support_v7_mediarouter_java",
277 #"//third_party/mesa",
278 #"//third_party/mockito:mockito_java",
279 #"//third_party/openmax_dl/dl",
280 #"//third_party/speex",
281 #"//ui/android:ui_java",
283 # TODO(GYP): Are these needed?
284 #"//chrome/test:test_support_unit",
285 #"//third_party/smhasher:murmurhash3",
286 #"//ui/message_center:test_support",
289 '../breakpad/breakpad.gyp:symupload',
290 '../chrome/chrome.gyp:browser_tests',
291 '../chrome/chrome.gyp:chromedriver',
292 '../chrome/chrome.gyp:chromedriver_unitests',
293 '../chrome/chrome.gyp:interactive_ui_tests',
294 '../chrome/chrome.gyp:sync_integration_tests',
295 '../chrome/chrome.gyp:unit_tests',
296 '../extensions/extensions_tests.gyp:extensions_browsertests',
297 '../extensions/extensions_tests.gyp:extensions_unittests',
298 '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
299 '../ipc/ipc.gyp:ipc_tests',
300 '../jingle/jingle.gyp:jingle_unittests',
301 '../net/net.gyp:net_unittests',
303 '../third_party/pdfium/samples/samples.gyp:pdfium_test',
304 '../tools/gn/gn.gyp:gn',
305 '../tools/gn/gn.gyp:gn_unittests',
306 '../tools/imagediff/image_diff.gyp:image_diff',
307 '../tools/gn/gn.gyp:gn',
308 '../tools/gn/gn.gyp:gn_unittests',
309 '../ui/app_list/app_list.gyp:app_list_unittests',
310 '../url/url.gyp:url_unittests',
315 '../breakpad/breakpad.gyp:breakpad_unittests',
316 '../breakpad/breakpad.gyp:dump_syms',
317 '../breakpad/breakpad.gyp:generate_test_dump',
318 '../breakpad/breakpad.gyp:minidump-2-core',
319 '../dbus/dbus.gyp:dbus_test_server',
320 '../dbus/dbus.gyp:dbus_unittests',
321 '../media/cast/cast.gyp:tap_proxy',
322 '../net/net.gyp:disk_cache_memory_test',
323 '../net/net.gyp:flip_in_mem_edsm_server',
324 '../net/net.gyp:flip_in_mem_edsm_server_unittests',
325 '../net/net.gyp:hpack_example_generator',
326 '../net/net.gyp:hpack_fuzz_mutator',
327 '../net/net.gyp:hpack_fuzz_wrapper',
328 '../net/net.gyp:net_perftests',
329 '../net/net.gyp:quic_client',
330 '../net/net.gyp:quic_server',
331 '../sandbox/sandbox.gyp:chrome_sandbox',
332 '../sandbox/sandbox.gyp:sandbox_linux_unittests',
333 '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests',
338 '../breakpad/breakpad.gyp:crash_inspector',
339 '../breakpad/breakpad.gyp:dump_syms',
340 '../breakpad/breakpad.gyp:symupload',
341 '../third_party/apple_sample_code/apple_sample_code.gyp:apple_sample_code',
342 '../third_party/molokocacao/molokocacao.gyp:molokocacao',
344 # TODO(GYP): remove these when the corresponding root targets work.
346 #"//components/ui/zoom:ui_zoom",
348 #"//content/test:test_support",
350 #"//device/bluetooth",
353 #"//device/vibration",
356 #"//storage/browser",
357 #"//third_party/brotli",
358 #"//third_party/flac",
359 #"//third_party/hunspell",
360 #//third_party/iccjpeg",
361 #"//third_party/libphonenumber",
362 #"//third_party/ots",
363 #"//third_party/qcms",
364 #"//third_party/smhasher:murmurhash3",
365 #"//third_party/speex",
366 #"//third_party/webrtc/system_wrappers",
367 #"//ui/native_theme",
372 #"//chrome", # TODO(GYP)
373 #"//chrome/test:browser_tests", # TODO(GYP)
374 #"//chrome/test:interactive_ui_tests", # TODO(GYP)
375 #"//chrome/test:sync_integration_tests", # TODO(GYP)
376 #"//chrome/test:unit_tests", # TODO(GYP)
377 #"//components:components_unittests", # TODO(GYP)
378 #"//content/test:content_browsertests", # TODO(GYP)
379 #"//content/test:content_perftests", # TODO(GYP)
380 #"//content/test:content_unittests", # TODO(GYP)
381 #"//extensions:extensions_browsertests", # TODO(GYP)
382 #"//extensions:extensions_unittests", # TODO(GYP)
383 #"//net:net_unittests", # TODO(GYP)
384 #"//third_party/usrsctp", # TODO(GYP)
385 #"//ui/app_list:app_list_unittests", # TODO(GYP)
386 #"//ui/gfx:gfx_unittests", # TODO(GYP)
392 '../third_party/codesighs/codesighs.gyp:msdump2symdb',
395 "//crypto:crypto_unittests", # TODO(GYP)
396 "//net:net_unittests", # TODO(GYP)
400 '../third_party/codesighs/codesighs.gyp:nm2tsv',
403 ['OS=="android" or OS=="linux"', {
405 '../net/net.gyp:disk_cache_memory_test',
411 'target_name': 'gyp_remaining',
416 '../chrome/chrome.gyp:performance_browser_tests',
417 '../cloud_print/cloud_print.gyp:cloud_print_unittests',
418 '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support', # crbug.com/471920
419 '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test', # crbug.com/471920
420 '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
421 '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
423 # TODO(GYP) - list all of the examples explicitly.
424 '../ppapi/ppapi_internal.gyp:*',
427 ['disable_nacl==0 and disable_nacl_untrusted==0', {
429 '../components/nacl.gyp:nacl_loader_unittests',
430 '../mojo/mojo_nacl.gyp:monacl_shell', # TODO(GYP) This will be deleted; don't port
431 '../remoting/remoting.gyp:remoting_key_tester',
436 '../remoting/app_remoting_webapp.gyp:ar_sample_app',
437 '../remoting/remoting.gyp:remoting_host',
438 '../remoting/remoting.gyp:remoting_it2me_native_messaging_host',
439 '../remoting/remoting.gyp:remoting_me2me_host',
440 '../remoting/remoting.gyp:remoting_me2me_native_messaging_host',
441 '../remoting/remoting.gyp:remoting_native_messaging_manifests',
442 '../remoting/remoting.gyp:remoting_perftests',
443 '../remoting/remoting.gyp:remoting_start_host',
446 ['test_isolation_mode!="noop"', {
448 '../base/base.gyp:base_unittests_run',
449 '../cc/cc_tests.gyp:cc_unittests_run',
450 '../chrome/chrome.gyp:browser_tests_run',
451 '../chrome/chrome.gyp:chrome_run',
452 '../chrome/chrome.gyp:interactive_ui_tests_run',
453 '../chrome/chrome.gyp:sync_integration_tests_run',
454 '../chrome/chrome.gyp:unit_tests_run',
455 '../components/components_tests.gyp:components_browsertests_run',
456 '../components/components_tests.gyp:components_unittests_run',
457 '../content/content_shell_and_tests.gyp:content_browsertests_run',
458 '../content/content_shell_and_tests.gyp:content_unittests_run',
459 '../crypto/crypto.gyp:crypto_unittests_run',
460 '../courgette/courgette.gyp:courgette_unittests_run',
461 '../gpu/gpu.gyp:gpu_unittests_run',
462 '../media/cast/cast.gyp:cast_unittests_run',
463 '../media/media.gyp:media_unittests_run',
464 '../net/net.gyp:net_unittests_run',
465 '../sandbox/sandbox.gyp:sandbox_linux_unittests_run',
466 '../sql/sql.gyp:sql_unittests_run',
467 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests_run',
468 '../ui/accessibility/accessibility.gyp:accessibility_unittests_run',
469 '../ui/app_list/app_list.gyp:app_list_unittests_run',
470 '../ui/events/events.gyp:events_unittests_run',
471 '../ui/message_center/message_center.gyp:message_center_unittests_run',
472 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_run',
477 '../ash/ash.gyp:ash_unittests_run',
487 # This target, when built, should cause no actual work
488 # to be done, just update a bunch of stamp files.
489 'target_name': 'gyp_groups',
495 'chromium_builder_asan',
496 'chromium_builder_chromedriver',
497 'chromium_builder_perf',
498 'chromium_builder_tests',
499 'chromium_builder_webrtc',
500 'chromium_gpu_builder',
501 'chromium_gpu_debug_builder',