1 # Copyright (c) 2013 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 is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it.
11 import("//build/config/crypto.gni")
12 import("//build/config/features.gni")
13 import("//build/config/ui.gni")
14 import("//build/module_args/v8.gni")
17 import("//build/config/android/config.gni")
21 # A list of extra dependencies to add to the root target. This allows a
22 # checkout to add additional targets without explicitly changing any checked-
27 # This file defines the following four main targets:
29 # "both_gn_and_gyp" should list every root target (target that nothing else
30 # depends on) built by GN that is also built in the GYP build.
32 # "gn_all" should (transitively) cause everything to be built; if you run
33 # 'ninja gn_all' and then 'ninja all', the second build should do no work.
35 # "gn_only" should list every root target that is *not* intended to be built
36 # in a GYP build. Because GN has different rules for deciding what an 'all'
37 # build is, this may end up including targets that are actually defined in a
38 # GYP build but not dependencies of GYP's "all" (and so not actually built).
40 # "gn_visibility": targets that are normally not visible to top-level targets,
41 # but are built anyway by "all". Since we don't want any such targets, we
42 # have this placeholder to make sure hidden targets that aren't otherwise
43 # depended on yet are accounted for.
45 # TODO(GYP): crbug.com/481694. Make sure that the above is true and there are
46 # scripts run on the bots that enforce this. Once the GYP migration is over,
47 # we can collapse all of these targets as desired.
59 # The "both_gn_and_gyp" target should reflect every target that is built
60 # in both the GN and GYP builds, and ideally it should match the
61 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line.
63 # TODO(GYP): Add build steps that check and enforce this on the bots.
64 group("both_gn_and_gyp") {
67 "//base:base_unittests",
68 "//sync:sync_unit_tests",
74 "//chrome/test:browser_tests",
75 "//chrome/test:interactive_ui_tests",
76 "//chrome/test:sync_integration_tests",
77 "//chrome/test:unit_tests",
78 "//chrome/test/chromedriver:chromedriver_unittests",
79 "//components:components_browsertests",
80 "//components:components_unittests",
81 "//content/shell:content_shell",
82 "//content/test:content_browsertests",
83 "//content/test:content_perftests",
84 "//content/test:content_unittests",
85 "//crypto:crypto_unittests",
86 "//device:device_unittests",
87 "//extensions:extensions_browsertests",
88 "//extensions:extensions_unittests",
89 "//google_apis/gcm:gcm_unit_tests",
90 "//gpu:gpu_unittests",
92 "//ipc/mojo:ipc_mojo_unittests",
93 "//jingle:jingle_unittests",
94 "//media:media_unittests",
95 "//media/cast:cast_unittests",
96 "//media/midi:midi_unittests",
98 "//mojo/application/public/cpp",
99 "//mojo/common:mojo_common_unittests",
100 "//net:hpack_example_generator",
101 "//net:hpack_fuzz_mutator",
102 "//net:hpack_fuzz_wrapper",
103 "//net:net_perftests",
104 "//net:net_unittests",
105 "//ppapi:ppapi_unittests",
106 "//ppapi/examples/2d",
107 "//ppapi/examples/audio",
108 "//ppapi/examples/audio_input",
109 "//ppapi/examples/compositor",
110 "//ppapi/examples/crxfs",
111 "//ppapi/examples/enumerate_devices",
112 "//ppapi/examples/file_chooser",
113 "//ppapi/examples/flash_topmost",
114 "//ppapi/examples/font",
115 "//ppapi/examples/gamepad",
116 "//ppapi/examples/gles2",
117 "//ppapi/examples/gles2_spinning_cube",
118 "//ppapi/examples/ime",
119 "//ppapi/examples/input",
120 "//ppapi/examples/media_stream_audio",
121 "//ppapi/examples/media_stream_video",
122 "//ppapi/examples/mouse_cursor",
123 "//ppapi/examples/mouse_lock",
124 "//ppapi/examples/printing",
125 "//ppapi/examples/scaling",
126 "//ppapi/examples/scripting",
127 "//ppapi/examples/stub",
128 "//ppapi/examples/threading",
129 "//ppapi/examples/url_loader",
130 "//ppapi/examples/video_capture",
131 "//ppapi/examples/video_decode",
132 "//ppapi/examples/video_effects",
133 "//ppapi/examples/video_encode",
134 "//printing:printing_unittests",
135 "//skia:skia_unittests",
136 "//sql:sql_unittests",
137 "//third_party/WebKit/Source/platform:heap_unittests",
138 "//third_party/WebKit/Source/platform:platform_unittests",
139 "//third_party/WebKit/Source/web:webkit_unit_tests",
140 "//third_party/WebKit/Source/wtf:wtf_unittests",
141 "//third_party/cacheinvalidation:cacheinvalidation_unittests",
142 "//third_party/codesighs",
143 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
144 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
145 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
146 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
147 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
148 "//third_party/pdfium/samples:pdfium_test",
149 "//third_party/smhasher:pmurhash",
150 "//tools/imagediff($host_toolchain)",
152 "//tools/gn:gn_unittests",
153 "//tools/gn:generate_test_gn_data",
154 "//tools/telemetry:bitmaptools($host_toolchain)",
155 "//ui/accessibility:accessibility_unittests",
156 "//ui/app_list:app_list_unittests",
157 "//ui/base:ui_base_unittests",
158 "//ui/display:display_unittests",
159 "//ui/events:events_unittests",
160 "//ui/gfx:gfx_unittests",
161 "//ui/gl:gl_unittests",
162 "//ui/touch_selection:ui_touch_selection_unittests",
163 "//url:url_unittests",
167 deps += root_extra_deps
169 if (enable_extensions && !is_mac) {
170 # TODO(GYP): Get this working on the mac?
171 deps += [ "//extensions/shell:app_shell_unittests" ]
174 if (enable_media_router) {
175 deps += [ "//chrome/browser/media/router" ]
178 if (enable_remoting) {
179 deps += [ "//remoting:remoting_all" ]
183 deps += [ "//ui/views:views_unittests" ]
187 deps += [ "//ui/wm:wm_unittests" ]
191 deps += [ "//ui/ozone" ]
195 deps += [ "//tools/xdisplaycheck" ]
198 if (enable_configuration_policy) {
199 deps += [ "//components/policy:policy_templates" ]
202 if (v8_use_external_startup_data) {
203 deps += [ "//gin:gin_v8_snapshot_fingerprint" ]
207 deps += [ "//chrome/tools/build/win/syzygy:chrome_dll_syzygy" ]
212 "//base/android/linker:chromium_android_linker",
213 "//build/android/gyp/test:hello_world",
214 "//build/android/rezip",
215 "//chrome/android:chrome_public_apk",
216 "//chrome/android:chrome_public_test_apk",
217 "//chrome/android:chrome_shell_apk",
218 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
219 "//third_party/errorprone:chromium_errorprone",
220 "//tools/imagediff($host_toolchain)",
222 # TODO(GYP): Remove these when the components_unittests work.
223 "//components/history/core/test:test",
224 "//components/policy:policy_component_test_support",
225 "//components/policy:test_support",
226 "//components/rappor:test_support",
227 "//components/signin/core/browser:test_support",
228 "//components/sync_driver:test_support",
229 "//components/user_manager",
230 "//components/wallpaper",
231 "//content/shell/android:content_shell_apk",
233 # TODO(GYP): Are these needed, or will they be pulled in automatically?
234 "//third_party/android_tools:android_gcm_java",
235 "//third_party/android_tools:uiautomator_java",
236 "//third_party/android_tools:android_support_v13_java",
237 "//third_party/android_tools:android_support_v7_appcompat_java",
238 "//third_party/android_tools:android_support_v7_mediarouter_java",
239 "//third_party/mesa",
240 "//third_party/mockito:mockito_java",
241 "//third_party/openmax_dl/dl",
242 "//ui/android:ui_java",
244 # TODO(GYP): Are these needed?
245 "//chrome/test:test_support_unit",
246 "//third_party/smhasher:murmurhash3",
247 "//ui/message_center:test_support",
250 "//chrome", # TODO(GYP) ??
251 "//chrome/test:browser_tests", # TODO(GYP) ??
252 "//chrome/test:interactive_ui_tests", # TODO(GYP) ??
253 "//chrome/test:sync_integration_tests", # TODO(GYP) ??
254 "//chrome/test:unit_tests", # TODO(GYP)
256 # Chromedriver shouldn't be compiled on Android.
257 "//chrome/test/chromedriver:chromedriver_unittests",
258 "//extensions:extensions_browsertests",
259 "//extensions:extensions_unittests",
260 "//google_apis/gcm:gcm_unit_tests",
261 "//ipc:ipc_tests", # TODO(GYP) ??
262 "//jingle:jingle_unittests", # TODO(GYP) ??
263 "//net:hpack_example_generator",
264 "//net:hpack_fuzz_mutator",
265 "//net:hpack_fuzz_wrapper",
266 "//net:net_perftests",
267 "//ppapi/examples/2d",
268 "//ppapi/examples/audio",
269 "//ppapi/examples/audio_input",
270 "//ppapi/examples/compositor",
271 "//ppapi/examples/crxfs",
272 "//ppapi/examples/enumerate_devices",
273 "//ppapi/examples/file_chooser",
274 "//ppapi/examples/flash_topmost",
275 "//ppapi/examples/font",
276 "//ppapi/examples/gamepad",
277 "//ppapi/examples/gles2",
278 "//ppapi/examples/gles2_spinning_cube",
279 "//ppapi/examples/ime",
280 "//ppapi/examples/input",
281 "//ppapi/examples/media_stream_audio",
282 "//ppapi/examples/media_stream_video",
283 "//ppapi/examples/mouse_cursor",
284 "//ppapi/examples/mouse_lock",
285 "//ppapi/examples/printing",
286 "//ppapi/examples/scaling",
287 "//ppapi/examples/scripting",
288 "//ppapi/examples/stub",
289 "//ppapi/examples/threading",
290 "//ppapi/examples/url_loader",
291 "//ppapi/examples/video_capture",
292 "//ppapi/examples/video_decode",
293 "//ppapi/examples/video_effects",
294 "//ppapi/examples/video_encode",
295 "//third_party/pdfium/samples:pdfium_test",
297 "//tools/gn:generate_test_gn_data",
298 "//tools/gn:gn_unittests",
299 "//ui/app_list:app_list_unittests",
300 "//url:url_unittests",
303 if (has_chrome_android_internal) {
304 deps += [ "//clank" ] # TODO(GYP) ??
308 if (is_linux) { # TODO(GYP): || is_android || is_bsd?
310 "//breakpad:core-2-minidump",
311 "//breakpad:minidump-2-core",
317 "//chromeos:chromeos_unittests",
318 "//ui/chromeos:ui_chromeos_unittests",
322 if (is_chromeos || is_mac || is_win) {
326 "//rlz:rlz_unittests",
331 # The following are definitely linux-only.
333 "//breakpad:breakpad_unittests",
334 "//breakpad:generate_test_dump",
335 "//dbus:dbus_test_server",
336 "//dbus:dbus_unittests",
337 "//net:disk_cache_memory_test",
338 "//net:flip_in_mem_edsm_server",
339 "//net:flip_in_mem_edsm_server_unittests",
342 "//sandbox/linux:chrome_sandbox",
343 "//sandbox/linux:sandbox_linux_unittests",
344 "//sandbox/linux:sandbox_linux_jni_unittests",
347 if (is_chromeos || use_ash) {
348 deps += [ "//components/session_manager/core" ]
352 if (is_ios || is_win || (is_linux && !is_chromeos)) {
354 "//base:base_i18n_perftests",
355 "//base:base_perftests",
359 if (is_win || (is_linux && !is_chromeos)) {
360 # TODO(GYP): Figure out which of these should (and can) build
361 # for android/chromeos/mac/ios.
363 "//base:check_example",
364 "//base:build_utf8_validator_tables",
366 "//cc/blink:cc_blink_unittests",
367 "//chrome/test:load_library_perf_tests",
368 "//chrome/test:performance_browser_tests",
369 "//chrome/test:sync_performance_tests",
370 "//chrome/test/chromedriver:chromedriver",
371 "//chrome/test/chromedriver:chromedriver_tests",
372 "//chrome/tools/profile_reset:jtl_compiler",
373 "//components:components_perftests",
374 "//content/test:content_gl_tests",
375 "//content/test:content_gl_benchmark",
376 "//courgette:courgette",
377 "//courgette:courgette_fuzz",
378 "//courgette:courgette_minimal_tool",
379 "//courgette:courgette_unittests",
380 "//device:device_unittests",
382 "//gin:gin_unittests",
383 "//google_apis:google_apis_unittests",
384 "//google_apis/gcm:mcs_probe",
385 "//gpu:angle_unittests",
386 "//gpu:gpu_perftests",
388 "//ipc:ipc_perftests",
389 "//media:ffmpeg_regression_tests", # TODO(GYP) this should be conditional on media_use_ffmpeg
390 "//media:media_perftests",
391 "//media/cast:generate_barcode_video",
392 "//media/cast:generate_timecode_audio",
394 "//net:crl_set_dump",
395 "//net:dns_fuzz_stub",
398 "//net:get_server_time",
399 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in_net
400 "//net:run_testserver",
401 "//net:stress_cache",
403 "//ppapi:pepper_hash_for_uma",
404 "//ppapi:ppapi_perftests",
405 "//sync:run_sync_testserver",
406 "//third_party/codesighs:maptsvdifftool",
407 "//third_party/leveldatabase:env_chromium_unittests",
408 "//third_party/libaddressinput:libaddressinput_unittests",
409 "//third_party/libphonenumber:libphonenumber_unittests",
410 "//ui/compositor:compositor_unittests",
413 if (enable_extensions) {
414 deps += [ "//extensions/shell:app_shell" ]
418 deps += [ "//components/nacl:nacl_loader_unittests" ]
421 if (enable_nacl && enable_remoting) {
422 deps += [ "//remoting:remoting_key_tester" ]
428 "//ash:ash_unittests",
434 "//ui/aura:aura_unittests",
441 if (is_linux && !is_chromeos) {
443 # TODO(GYP): Figure out which of these should (and can) build
444 # under which other conditions.
445 "//build/sanitizers:copy_llvm_symbolizer",
446 "//chrome/test:chrome_app_unittests",
447 "//cloud_print:cloud_print_unittests",
448 "//components/network_hints/browser",
449 "//content/public/app:browser",
450 "//content/public/app:child",
452 # TODO(GYP): Remove this when the gles2 tests work
453 "//gpu/command_buffer/client:gles2_implementation_no_check",
455 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/471903 to make this complete.
456 "//media/cast:cast_benchmarks",
457 "//media/cast:tap_proxy",
458 "//mojo/application/public/cpp",
459 "//skia:filter_fuzz_stub",
460 "//skia:image_operations_bench",
461 "//sync/tools:sync_client",
462 "//sync/tools:sync_listen_notifications",
463 "//testing/gmock:gmock_main",
464 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
465 "//tools/perf/clear_system_cache",
466 "//ui/keyboard:keyboard_unittests",
467 "//ui/message_center:message_center_unittests",
468 "//ui/snapshot:snapshot_unittests",
469 "//ui/views/examples:views_examples_with_content_exe",
471 # "//v8:v8_snapshot", # TODO(GYP): visibility?
472 # "//v8:postmortem-metadata", # TODO(GYP): visibility?
474 "//third_party/codesighs:nm2tsv",
475 "//third_party/sqlite:sqlite_shell",
478 if (current_toolchain == host_toolchain) {
479 # Do not build the breakpad utilities in cross-compiles.
481 "//breakpad:dump_syms",
482 "//breakpad:microdump_stackwalk",
483 "//breakpad:minidump_dump",
484 "//breakpad:minidump_stackwalk",
488 if (!is_debug && !is_component_build) {
489 deps += [ "//chrome/tools/service_discovery_sniffer" ]
493 deps += [ "//ui/app_list:app_list_demo" ]
497 if (target_cpu != "arm") {
498 deps += [ "//gpu/tools/compositor_model_bench" ]
505 "//breakpad:crash_inspector",
506 "//breakpad:dump_syms",
507 "//third_party/apple_sample_code",
508 "//third_party/molokocacao",
511 # TODO(GYP): Remove these when the targets below work and these
512 # are pulled in automatically.
515 "//components/ui/zoom:ui_zoom",
517 "//content/test:test_support",
519 "//device/bluetooth",
522 "//device/vibration",
526 "//third_party/brotli",
527 "//third_party/flac",
528 "//third_party/hunspell",
529 "//third_party/iccjpeg",
530 "//third_party/libphonenumber",
532 "//third_party/qcms",
533 "//third_party/smhasher:murmurhash3",
534 "//third_party/webrtc/system_wrappers",
540 # TODO(dpranke): These are as-yet untriaged but need at least the above.
542 "//chrome", # TODO(GYP)
543 "//chrome/test:browser_tests", # TODO(GYP)
544 "//chrome/test:interactive_ui_tests", # TODO(GYP)
545 "//chrome/test:sync_integration_tests", # TODO(GYP)
546 "//chrome/test:unit_tests", # TODO(GYP)
547 "//components:components_browsertests", # TODO(GYP)
548 "//components:components_unittests", # TODO(GYP)
549 "//content/test:content_browsertests", # TODO(GYP)
550 "//content/test:content_perftests", # TODO(GYP)
551 "//device:device_unittests", # TODO(GYP)
552 "//extensions:extensions_browsertests", # TODO(GYP)
553 "//extensions:extensions_unittests", # TODO(GYP)
554 "//mojo", # TODO(GYP)
555 "//mojo/application/public/cpp", # TODO(GYP)
557 # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac.
558 "//third_party/WebKit/Source/platform:heap_unittests",
559 "//third_party/WebKit/Source/platform:platform_unittests",
560 "//third_party/WebKit/Source/web:webkit_unit_tests",
561 "//ui/app_list:app_list_unittests", # TODO(GYP)
562 "//ui/gfx:gfx_unittests", # TODO(GYP)
568 "//base:pe_image_test",
569 "//chrome/installer/setup:setup_unittests",
570 "//chrome_elf:chrome_elf_unittests",
571 "//chrome_elf:dll_hash_main",
572 "//components/crash/tools:crash_service",
573 "//components/wifi:wifi_test",
576 "//sandbox/win:pocdll",
577 "//sandbox/win:sandbox_poc",
578 "//sandbox/win:sbox_integration_tests",
579 "//sandbox/win:sbox_unittests",
580 "//sandbox/win:sbox_validation_tests",
581 "//testing/gtest:gtest_main",
582 "//third_party/codesighs:msmap2tsv",
583 "//third_party/pdfium/samples:pdfium_diff",
587 "//crypto:crypto_unittests", # TODO(GYP)
588 "//net:net_unittests", # TODO(GYP)
590 } else if (!is_android && !is_ios) {
591 deps += [ "//breakpad:symupload" ]
595 deps += [ "//gpu/skia_runner:skia_runner" ]
608 if (!is_android && !is_ios) {
609 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
612 if (is_linux && !is_chromeos) {
613 # TODO(GYP): Figure out if any of these should be in gn_all
614 # and figure out how cross-platform they are
617 "//chrome/browser/resources:extension_resource_demo",
618 "//chrome/installer/util:strings",
620 "//chrome/test:load_library_perf_tests",
621 "//chrome/tools/convert_dict",
622 "//components/constrained_window:unit_tests",
623 "//components/enhanced_bookmarks:test_support",
624 "//components/metrics:serialization",
625 "//components/password_manager/content/renderer:browser_tests",
626 "//components/rappor:unit_tests",
627 "//components/sessions:unit_tests",
628 "//media/blink:media_blink_unittests",
629 "//media/cast:udp_proxy",
630 "//native_client/src/trusted/platform_qualify:vcpuid",
631 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
632 "//storage/browser:dump_file_system",
633 "//third_party/angle:libANGLE",
634 "//third_party/angle:libEGL",
635 "//third_party/angle:libGLESv2",
636 "//third_party/cld_2:cld_2_dynamic_data_tool",
637 "//third_party/leveldatabase:leveldb_arena_test",
638 "//third_party/leveldatabase:leveldb_bloom_test",
639 "//third_party/leveldatabase:leveldb_db_test",
640 "//third_party/leveldatabase:leveldb_crc32c_test",
641 "//third_party/leveldatabase:leveldb_cache_test",
642 "//third_party/leveldatabase:leveldb_env_test",
643 "//third_party/leveldatabase:leveldb_write_batch_test",
644 "//third_party/leveldatabase:leveldb_filter_block_test",
645 "//third_party/leveldatabase:leveldb_version_edit_test",
646 "//third_party/leveldatabase:leveldb_db_bench",
647 "//third_party/leveldatabase:leveldb_log_test",
648 "//third_party/leveldatabase:leveldb_corruption_test",
649 "//third_party/leveldatabase:leveldb_table_test",
650 "//third_party/leveldatabase:leveldb_skiplist_test",
651 "//third_party/leveldatabase:leveldb_filename_test",
652 "//third_party/leveldatabase:leveldb_dbformat_test",
653 "//third_party/pdfium/third_party:fx_freetype",
654 "//third_party/libjingle:peerconnnection_server",
655 "//third_party/libjpeg_turbo:simd",
656 "//third_party/libsrtp:replay_driver",
657 "//third_party/libsrtp:roc_driver",
658 "//third_party/libsrtp:rtpw",
659 "//third_party/libsrtp:rdbx_driver",
660 "//third_party/libsrtp:srtp_driver",
661 "//third_party/libsrtp:srtp_driver",
662 "//third_party/libsrtp:srtp_test_kernel_driver",
663 "//third_party/libsrtp:srtp_test_cipher_driver",
664 "//third_party/libsrtp:srtp_test_datatypes_driver",
665 "//third_party/libsrtp:srtp_test_aes_calc",
666 "//third_party/libsrtp:srtp_test_env",
667 "//third_party/libsrtp:srtp_test_rand_gen",
668 "//third_party/libsrtp:srtp_test_sha1_driver",
669 "//third_party/libsrtp:srtp_test_stat_driver",
670 "//third_party/opus:opus_compare",
671 "//third_party/opus:opus_demo",
672 "//third_party/opus:test_opus_decode",
673 "//third_party/opus:test_opus_encode",
674 "//third_party/opus:test_opus_api",
675 "//third_party/opus:test_opus_padding",
676 "//third_party/webrtc/system_wrappers:field_trial_default",
677 "//third_party/webrtc/system_wrappers:metrics_default",
678 "//ui/display/types",
679 "//ui/shell_dialogs:shell_dialogs_unittests",
680 "//ui/views/examples:views_examples_exe",
683 if (target_cpu == "x86" || target_cpu == "x64") {
684 deps += [ "//third_party/libjpeg_turbo:simd_asm" ]
687 deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]
690 deps += [ "//ui/ozone/demo" ]
693 deps += [ "//build/android/gyp/test:hello_world" ]
696 if (is_linux && current_toolchain == host_toolchain) {
697 deps += [ "//v8:d8" ]
702 deps -= [ "//mandoline:all" ] # TODO(GYP)
706 group("gn_mojo_targets") {
708 if (is_linux && !is_chromeos) {
709 # TODO(GYP): Figure out if any of these should be in gn_all
710 # and figure out how cross-platform they are
712 "//chrome/browser/ui/webui/omnibox:mojo_bindings_python",
713 "//content/public/common:mojo_bindings_python",
714 "//content/common:mojo_bindings_python",
715 "//content/test:web_ui_test_mojo_bindings_python",
716 "//device/battery:mojo_bindings_python",
717 "//device/vibration:mojo_bindings_python",
718 "//ipc/mojo:ipc_mojo_perftests",
719 "//ipc/mojo:client_channel_python",
720 "//media/mojo/interfaces:interfaces_python",
721 "//media/mojo/services:cdm_service",
722 "//media/mojo:tests",
724 "//net/interfaces:interfaces_python",
725 "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests",
726 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_python",
727 "//third_party/mojo/src/mojo/public/python:packaged_application",
728 "//third_party/mojo/src/mojo/public/python:packaged_bindings",
729 "//third_party/mojo_services/src/accessibility/public/interfaces:interfaces_python",
734 group("gn_visibility") {
736 "//build/config/sanitizers:options_sources",
738 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
739 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
741 "//ui/resources:repack_ui_test_mac_locale_pack",
743 # "//v8:v8_snapshot", # TODO(GYP): visibility?
744 # "//v8:postmortem-metadata", # TODO(GYP): visibility?
749 # This group includes all of the targets needed to build and test Blink,
750 # including running the layout tests (see below).
751 group("blink_tests") {
755 "//third_party/WebKit/public:all_blink",
758 # NOTE: The following deps are needed to run the layout tests
759 # (run-webkit-tests) but there is no GN target for the layout tests,
760 # so we need to specify the dependencies here instead.
763 "//breakpad:dump_syms($host_toolchain)",
764 "//breakpad:minidump_stackwalk($host_toolchain)",
765 "//content/shell/android:content_shell_apk",
766 "//tools/imagediff($host_toolchain)",
770 "//content/shell:content_shell",
777 "//components/test_runner:layout_test_helper",
778 "//content/shell:crash_service",
782 if (!is_win && !is_android) {
783 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
788 "//breakpad:dump_syms($host_toolchain)",
789 "//components/test_runner:layout_test_helper",
794 deps += [ "//breakpad:dump_syms($host_toolchain)" ]
800 # This group corresponds to the list of tests run on the waterfall for
801 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's
802 # here to help track GYP -> GN conversion progress.
803 group("linux_default_tests") {
806 "//base:base_unittests", # PASSES (*) 2/25/2015
807 "//cc:cc_unittests", # PASSES 2/25/2015
808 "//chrome/test:browser_tests",
809 "//chrome/test:interactive_ui_tests",
810 "//chrome/test:sync_integration_tests", # Crashes for brettw in GN and GYP.
811 "//chrome/test:unit_tests", # PASSES 2/25/2015
812 "//chrome/test/chromedriver:chromedriver_unittests", # PASSES 2/25/2015
813 "//components:components_browsertests", # PASSES 4/17/2015
814 "//components:components_unittests", # PASSES 2/27/2015
815 "//content/test:content_browsertests",
816 "//content/test:content_unittests", # PASSES 2/25/2015
817 "//crypto:crypto_unittests", # PASSES 2/25/2015
818 "//dbus:dbus_unittests", # PASSES 2/25/2015
819 "//device:device_unittests", # PASSES 3/07/2015
820 "//extensions:extensions_browsertests", # PASSES 2/25/2015
821 "//extensions:extensions_unittests", # PASSES 2/25/2015
822 "//extensions/shell:app_shell_unittests", # PASSES 2/25/2015
823 "//google_apis/gcm:gcm_unit_tests", # PASSES 2/25/2015
824 "//google_apis:google_apis_unittests", # PASSES 2/25/2015
825 "//gpu:gpu_unittests", # PASSES 2/25/2015
826 "//ipc:ipc_tests", # PASSES 2/25/2015
827 "//ipc/mojo:ipc_mojo_unittests", # PASSES 2/25/2015
828 "//jingle:jingle_unittests", # PASSES 2/25/2015
829 "//media:media_unittests", # PASSES 3/3/2015
830 "//media/cast:cast_unittests", # PASSES 2/25/2015
831 "//media/midi:midi_unittests", # PASSES 4/10/2015
832 "//mojo/common:mojo_common_unittests", # PASSES 2/25/2015
833 "//net:net_unittests", # PASSES 2/25/2015
834 "//ppapi:ppapi_unittests", # PASSES 2/26/2015
835 "//printing:printing_unittests", # PASSES 2/25/2015
836 "//remoting:remoting_unittests", # PASSES 4/17/2015
837 "//sandbox/linux:sandbox_linux_unittests", # PASSES 2/25/2015
838 "//skia:skia_unittests", # PASSES 2/25/2015
839 "//sql:sql_unittests", # PASSES 2/25/2015
840 "//sync:sync_unit_tests", # PASSES 2/25/2015
841 "//third_party/cacheinvalidation:cacheinvalidation_unittests", # PASSES 2/25/2015
842 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", # PASSES 2/25/2015
843 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", # PASSES 2/25/2015
844 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", # PASSES 2/25/2015
845 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", # PASSES 2/25/2015
846 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
847 "//ui/accessibility:accessibility_unittests", # PASSES 2/25/2015
848 "//ui/app_list:app_list_unittests", # PASSES 2/25/2015
849 "//ui/aura:aura_unittests", # PASSES 2/25/2015
850 "//ui/base:ui_base_unittests", # PASSES 4/17/2015
851 "//ui/compositor:compositor_unittests", # PASSES 2/25/2015
852 "//ui/display:display_unittests", # PASSES 2/25/2015
853 "//ui/events:events_unittests", # PASSES 2/25/2015
854 "//ui/gfx:gfx_unittests", # PASSES 2/25/2015
855 "//ui/gl:gl_unittests",
856 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 2/25/2015
857 "//ui/views:views_unittests", # PASSES (*) 2/25/2015
858 "//ui/wm:wm_unittests", # PASSES 2/25/2015
859 "//url:url_unittests", # PASSES 2/25/2015
862 # (*) Fails but failures match GYP build at time of testing.
866 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015
870 group("windows_default_tests") {
873 "//ash:ash_unittests", # FAILS 4/20/2015
874 "//base:base_unittests", # PASSES 4/20/2015
875 "//cc:cc_unittests", # PASSES 4/17/2015
876 "//chrome_elf:chrome_elf_unittests", # FAILS 4/20/2015
877 "//chrome/installer/util:installer_util_unittests",
878 "//chrome/installer/setup:setup_unittests",
879 "//chrome/test:browser_tests",
880 "//chrome/test:interactive_ui_tests",
881 "//chrome/test:sync_integration_tests", # Note: need to turn off incremental linking for debug.
882 "//chrome/test:unit_tests",
883 "//chrome/test/chromedriver:chromedriver_unittests", # PASSES 4/20/2015
884 "//components:components_browsertests", # PASSES 4/24/2015
885 "//components:components_unittests", # PASSES 4/17/2015
886 "//courgette:courgette_unittests", # PASSES 4/20/2015
887 "//content/test:content_browsertests",
888 "//content/test:content_unittests", # PASSES 4/17/2015
889 "//crypto:crypto_unittests", # PASSES 4/17/2015
890 "//device:device_unittests", # PASSES 4/17/2015
891 "//extensions:extensions_browsertests", # PASSES 4/17/2015
892 "//extensions:extensions_unittests", # PASSES 4/17/2015
893 "//extensions/shell:app_shell_unittests", # Doesn't compile in 64-bit
894 "//google_apis/gcm:gcm_unit_tests", # PASSES 4/17/2015
895 "//google_apis:google_apis_unittests", # PASSES 4/17/2015
896 "//gpu:gpu_unittests", # PASSES 4/17/2015
897 "//ipc:ipc_tests", # PASSES 4/17/2015
898 "//ipc/mojo:ipc_mojo_unittests", # PASSES 4/17/2015
899 "//jingle:jingle_unittests", # PASSES 4/17/2015
900 "//media/cast:cast_unittests", # PASSES 4/17/2015
901 "//media:media_unittests", # PASSES 4/17/2015
902 "//mojo/common:mojo_common_unittests", # PASSES 4/17/2015
903 "//net:net_unittests", # PASSES 4/17/2015
904 "//ppapi:ppapi_unittests", # PASSES 4/17/2015
905 "//printing:printing_unittests", # PASSES 4/17/2015
906 "//remoting:remoting_unittests", # PASSES 4/17/2015
907 "//sandbox/win:sbox_integration_tests", # PASSES 4/20/2015
908 "//sandbox/win:sbox_unittests", # PASSES 4/20/2015
909 "//sandbox/win:sbox_validation_tests", # PASSES 4/20/2015
910 "//skia:skia_unittests", # PASSES 4/17/2015
911 "//sql:sql_unittests", # PASSES 4/17/2015
912 "//sync:sync_unit_tests", # PASSES 4/20/2015
913 "//third_party/cacheinvalidation:cacheinvalidation_unittests", # PASSES 4/20/2015
914 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", # Seems to hang?
915 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", # FAILS
916 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", # PASSES 4/20/2015
917 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", # PASSES 4/20/2015
918 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", # PASSES 4/20/2015
919 "//ui/accessibility:accessibility_unittests", # PASSES 4/20/2015
920 "//ui/app_list:app_list_unittests", # PASSES 4/20/2015
921 "//ui/aura:aura_unittests", # PASSES 4/17/2015
922 "//ui/base:ui_base_unittests", # PASSES 4/20/2015
923 "//ui/compositor:compositor_unittests", # PASSES 4/20/2015
924 "//ui/display:display_unittests", # PASSES 4/20/2015
925 "//ui/events:events_unittests", # PASSES 4/20/2015
926 "//ui/gfx:gfx_unittests", # PASSES (with assertion failure?) 4/20/2015
927 "//ui/gl:gl_unittests",
928 "//ui/message_center:message_center_unittests", # PASSES 4/20/2015
929 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 4/20/2015
930 "//ui/views:views_unittests", # TooltipControllerTest failures
931 "//ui/wm:wm_unittests", # PASSES 4/21/2015
932 "//url:url_unittests", # PASSES 4/17/2015
934 # TODO(GYP) nacl_integration
935 # TODO(GYP) telemetry_perf_unittests
936 # TODO(GYP) telemetry_unittests