Roll src/third_party/WebKit 395ff9e:18c0088 (svn 192995:192997)
[chromium-blink-merge.git] / BUILD.gn
blobb2601e3c6e8014d1aa1094f4c8e1318627f5db73
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/features.gni")
12 import("//build/config/ui.gni")
13 import("//remoting/remoting_host.gni")
15 if (is_android) {
16   import("//build/config/android/config.gni")
19 declare_args() {
20   # A list of extra dependencies to add to the root target. This allows a
21   # checkout to add additional targets without explicitly changing any checked-
22   # in files.
23   root_extra_deps = []
26 # The "gn_all" target should list every root target (target that
27 # nothing else depends on) built by both GN and GYP. One should
28 # be able to run 'ninja gn_all gn_only gn_groups' and then run
29 # 'ninja' a second time and have the second ninja invocation do nothing.
31 # In addition, the "gn_all" target serves to pull in all of the other
32 # build files needed for the build.
34 # TODO(GYP): make sure that the above is true and there are scripts run
35 # on the bots that enforce this.
37 group("gn_all") {
38   testonly = true
40   deps = [
41     "//base:base_unittests",
42     "//cc:cc_unittests",
43     "//chrome",
44     "//chrome/test:browser_tests",
45     "//chrome/test:interactive_ui_tests",
46     "//chrome/test:sync_integration_tests",
47     "//chrome/test:unit_tests",
48     "//chrome/test/chromedriver:chromedriver_unittests",
49     "//components:components_browsertests",
50     "//components:components_unittests",
51     "//components/policy:policy_templates",
52     "//content/shell:content_shell",
53     "//content/test:content_browsertests",
54     "//content/test:content_perftests",
55     "//content/test:content_unittests",
56     "//crypto:crypto_unittests",
57     "//device:device_unittests",
58     "//extensions:extensions_browsertests",
59     "//extensions:extensions_unittests",
60     "//google_apis/gcm:gcm_unit_tests",
61     "//gpu:gpu_unittests",
62     "//ipc:ipc_tests",
63     "//ipc/mojo:ipc_mojo_unittests",
64     "//jingle:jingle_unittests",
65     "//media:media_unittests",
66     "//media/cast:cast_unittests",
67     "//mojo",
68     "//mojo/application",
69     "//mojo/common:mojo_common_unittests",
70     "//net:hpack_example_generator",
71     "//net:hpack_fuzz_mutator",
72     "//net:hpack_fuzz_wrapper",
73     "//net:net_perftests",
74     "//net:net_unittests",
75     "//ppapi:ppapi_unittests",
76     "//ppapi/examples",  # TODO(GYP): What's the GYP equivalent?
77     "//printing:printing_unittests",
78     "//skia:skia_unittests",
79     "//sql:sql_unittests",
80     "//sync:sync_unit_tests",
81     "//third_party/WebKit/public:blink_tests",
82     "//third_party/cacheinvalidation:cacheinvalidation_unittests",
83     "//third_party/codesighs",
84     "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
85     "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
86     "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
87     "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
88     "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
89     "//third_party/pdfium/samples:pdfium_test",
90     "//third_party/smhasher:pmurhash",
91     "//tools/imagediff($host_toolchain)",
92     "//tools/gn",
93     "//tools/gn:gn_unittests",
94     "//tools/telemetry:bitmaptools($host_toolchain)",
95     "//ui/accessibility:accessibility_unittests",
96     "//ui/app_list:app_list_unittests",
97     "//ui/base:ui_base_unittests",
98     "//ui/display:display_unittests",
99     "//ui/events:events_unittests",
100     "//ui/gfx:gfx_unittests",
101     "//ui/touch_selection:ui_touch_selection_unittests",
102     "//url:url_unittests",
103   ]
105   deps += root_extra_deps
107   # TODO(GYP): Get this working on the mac?
108   if (enable_extensions && !is_mac) {
109     deps += [ "//extensions/shell:app_shell_unittests" ]
110   }
112   if (enable_remoting_host) {
113     deps += [
114       "//remoting:remoting_unittests",
115       "//remoting:remoting_perftests",
116       "//remoting/host",
117       "//remoting/host:remoting_start_host",
118       "//remoting/host/it2me:remote_assistance_host",
119     ]
120   }
122   if (enable_me2me_host) {
123     deps += [ "//remoting/host:remoting_me2me_host" ]
124   }
126   if (!is_win) {
127     deps += [ "//breakpad:symupload" ]
128   }
130   if (use_x11) {
131     deps += [ "//tools/xdisplaycheck" ]
132   }
134   if (toolkit_views) {
135     deps += [ "//ui/views:views_unittests" ]
136   }
138   if (use_aura) {
139     deps += [ "//ui/wm:wm_unittests" ]
140   }
142   if (use_ozone) {
143     deps += [ "//ui/ozone" ]
144   }
146   if (enable_media_router) {
147     deps += [
148       "//chrome/browser/media/router/",
149       "//chrome/browser/media/router:unit_tests",
150     ]
151   }
153   if (is_win || is_mac || is_chromeos) {
154     # RLZ works on these platforms.
155     # TODO(GYP): Is this target needed, or pulled in automatically?
156     deps += [ "//rlz:rlz_lib" ]
157   }
159   if (is_android) {
160     deps += [
161       "//base/android/linker:chromium_android_linker",
162       "//build/android/gyp/test:hello_world",
163       "//build/android/rezip",
164       "//chrome/android:chrome_shell_apk",
165       "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
166       "//tools/imagediff($host_toolchain)",
168       # TODO(GYP): Remove these when the components_unittests work.
169       "//components/history/core/test:test",
170       "//components/policy:policy_component_test_support",
171       "//components/policy:test_support",
172       "//components/rappor:test_support",
173       "//components/signin/core/browser:test_support",
174       "//components/sync_driver:test_support",
175       "//components/user_manager",
176       "//components/wallpaper",
177       "//content/shell/android:content_shell_apk",
179       # TODO(GYP): Are these needed, or will they be pulled in automatically?
180       "//third_party/android_tools:android_gcm_java",
181       "//third_party/android_tools:uiautomator_java",
182       "//third_party/android_tools:android_support_v13_java",
183       "//third_party/android_tools:android_support_v7_appcompat_java",
184       "//third_party/android_tools:android_support_v7_mediarouter_java",
185       "//third_party/mesa",
186       "//third_party/mockito:mockito_java",
187       "//third_party/openmax_dl/dl",
188       "//third_party/speex",
189       "//ui/android:ui_java",
191       # TODO(GYP): Are these needed?
192       "//chrome/test:test_support_unit",
193       "//third_party/smhasher:murmurhash3",
194       "//ui/message_center:test_support",
195     ]
196     deps -= [
197       "//breakpad:symupload",  # TODO(GYP) ??
198       "//chrome",  # TODO(GYP) ??
199       "//chrome/test:browser_tests",  # TODO(GYP) ??
200       "//chrome/test:interactive_ui_tests",  # TODO(GYP) ??
201       "//chrome/test:sync_integration_tests",  # TODO(GYP) ??
202       "//chrome/test:unit_tests",  # TODO(GYP)
204       # Chromedriver shouldn't be compiled on Android.
205       "//chrome/test/chromedriver:chromedriver_unittests",
206       "//extensions:extensions_browsertests",
207       "//extensions:extensions_unittests",
208       "//google_apis/gcm:gcm_unit_tests",
209       "//ipc:ipc_tests",  # TODO(GYP) ??
210       "//jingle:jingle_unittests",  # TODO(GYP) ??
211       "//net:hpack_example_generator",
212       "//net:hpack_fuzz_mutator",
213       "//net:hpack_fuzz_wrapper",
214       "//net:net_perftests",
215       "//net:net_unittests",
216       "//ppapi/examples",
217       "//third_party/pdfium/samples:pdfium_test",
218       "//tools/gn",
219       "//tools/gn:gn_unittests",
220       "//ui/app_list:app_list_unittests",
221       "//url:url_unittests",
222     ]
224     if (has_chrome_android_internal) {
225       deps += [ "//clank" ]  # TODO(GYP) ??
226     }
227   }
229   if (is_linux) {
230     # The following are definitely linux-only.
231     deps += [
232       "//breakpad:breakpad_unittests",
233       "//breakpad:generate_test_dump",
234       "//dbus:dbus_test_server",
235       "//dbus:dbus_unittests",
236       "//net:disk_cache_memory_test",
237       "//net:flip_in_mem_edsm_server",
238       "//net:flip_in_mem_edsm_server_unittests",
239       "//net:quic_client",
240       "//net:quic_server",
241       "//sandbox/linux:chrome_sandbox",
242       "//sandbox/linux:sandbox_linux_unittests",
243       "//sandbox/linux:sandbox_linux_jni_unittests",
244     ]
246     if (is_chromeos || use_ash) {
247       deps += [ "//components/session_manager/core" ]
248     }
249   }
251   if (is_linux && !is_chromeos) {
252     deps += [
253       # TODO(GYP): Figure out which of these should (and can) build
254       # under which other conditions.
255       "//base:base_perftests",
256       "//base:base_i18n_perftests",
257       "//base:check_example",
258       "//base:protect_file_posix",
259       "//base:build_utf8_validator_tables",
260       "//breakpad:core-2-minidump",
261       "//breakpad:minidump-2-core",
262       "//build/sanitizers:copy_llvm_symbolizer",
263       "//cc/blink:cc_blink_unittests",
264       "//cc:cc_perftests",
265       "//chrome/test:chrome_app_unittests",
266       "//chrome/test:load_library_perf_tests",
267       "//chrome/test:performance_browser_tests",
268       "//chrome/test:sync_performance_tests",
269       "//chrome/test/chromedriver:chromedriver",
270       "//chrome/test/chromedriver:chromedriver_tests",
271       "//chrome/tools/profile_reset:jtl_compiler",
272       "//cloud_print:cloud_print_unittests",
273       "//components:components_perftests",
274       "//components/network_hints/browser",
275       "//components/webui_generator",
276       "//content/public/app:browser",
277       "//content/public/app:child",
278       "//content/test:content_gl_tests",
279       "//content/test:content_gl_benchmark",
280       "//courgette:courgette",
281       "//courgette:courgette_fuzz",
282       "//courgette:courgette_minimal_tool",
283       "//courgette:courgette_unittests",
284       "//device:device_unittests",
285       "//gin:gin_shell",
286       "//gin:gin_v8_snapshot_fingerprint",
287       "//gin:gin_unittests",
288       "//google_apis:google_apis_unittests",
289       "//google_apis/gcm:mcs_probe",
290       "//gpu:angle_unittests",
291       "//gpu:gl_tests",
293       # TODO(GYP): Remove this when the gles2 tests work
294       "//gpu/command_buffer/client:gles2_implementation_no_check",
296       "//gpu:gpu_perftests",
297       "//gpu/khronos_glcts_support:khronos_glcts_test",  # TODO(GYP) crbug.com/471903 to make this complete.
298       "//ipc:ipc_perftests",
299       "//media:ffmpeg_regression_tests",  # TODO(GYP) this should be conditional on media_use_ffmpeg
300       "//media:media_perftests",
301       "//media/cast:cast_benchmarks",
302       "//media/cast:generate_barcode_video",
303       "//media/cast:generate_timecode_audio",
304       "//media/cast:tap_proxy",
305       "//mojo/application",
306       "//net:crash_cache",
307       "//net:crl_set_dump",
308       "//net:dns_fuzz_stub",
309       "//net:gdig",
310       "//net:get_server_time",
311       "//net:net_watcher",  # TODO(GYP): This should be conditional on use_v8_in_net
312       "//net:stress_cache",
313       "//net:tld_cleanup",
314       "//net:run_testserver",
315       "//net:dump_cache",
316       "//ppapi:pepper_hash_for_uma",
317       "//ppapi:ppapi_perftests",  # TODO(GYP): Are there other ppapi_* test targets?
318       "//skia:filter_fuzz_stub",
319       "//skia:image_operations_bench",
320       "//sync:run_sync_testserver",
321       "//sync:sync_endtoend_tests",
322       "//sync/tools:sync_client",
323       "//sync/tools:sync_listen_notifications",
324       "//testing/gmock:gmock_main",
325       "//third_party/codesighs:maptsvdifftool",
326       "//third_party/libphonenumber:libphonenumber_unittests",
327       "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
328       "//tools/gn:generate_test_gn_data",
329       "//tools/perf/clear_system_cache",
330       "//ui/keyboard:keyboard_unittests",
331       "//ui/message_center:message_center_unittests",
332       "//ui/snapshot:snapshot_unittests",
333       "//ui/views/examples:views_examples_with_content_exe",
335       # "//v8:v8_snapshot",  # TODO(GYP): visibility?
336       # "//v8:postmortem-metadata",  # TODO(GYP): visibility?
338       "//third_party/codesighs:nm2tsv",
339       "//third_party/leveldatabase:env_chromium_unittests",
340       "//third_party/libaddressinput:libaddressinput_unittests",
341       "//third_party/sqlite:sqlite_shell",
342       "//ui/compositor:compositor_unittests",
343     ]
345     if (current_toolchain == host_toolchain) {
346       # Do not build the breakpad utilities in cross-compiles.
347       deps += [
348         "//breakpad:dump_syms",
349         "//breakpad:microdump_stackwalk",
350         "//breakpad:minidump_dump",
351         "//breakpad:minidump_stackwalk",
352       ]
353     }
355     if (enable_extensions) {
356       deps += [ "//extensions/shell:app_shell" ]
357     }
359     if (enable_nacl) {
360       deps += [
361         "//components/nacl:nacl_loader_unittests",
362         "//remoting:remoting_key_tester",
363       ]
364     }
366     if (!is_debug && !is_component_build) {
367       deps += [ "//chrome/tools/service_discovery_sniffer" ]
368     }
370     if (toolkit_views) {
371       deps += [ "//ui/app_list:app_list_demo" ]
372     }
374     if (use_ash) {
375       deps += [
376         "//ash:ash_shell",
377         "//ash:ash_shell_unittests",
378         "//ash:ash_unittests",
379       ]
380     }
382     if (use_aura) {
383       deps += [
384         "//ui/aura:aura_unittests",
385         "//ui/aura:bench",
386         "//ui/aura:demo",
387       ]
388     }
390     if (use_x11) {
391       deps += [ "//media:player_x11" ]
392       if (target_cpu != "arm") {
393         deps += [ "//gpu/tools/compositor_model_bench" ]
394       }
395     }
396   }
398   if (is_mac) {
399     deps += [
400       "//breakpad:crash_inspector",
401       "//breakpad:dump_syms",
402       "//breakpad:symupload",
403       "//third_party/apple_sample_code",
404       "//third_party/molokocacao",
405     ]
407     # TODO(GYP): Remove these when the targets below work and these
408     # are pulled in automatically.
409     deps += [
410       "//cc/blink",
411       "//components/ui/zoom:ui_zoom",
412       "//content",
413       "//content/test:test_support",
414       "//device/battery",
415       "//device/bluetooth",
416       "//device/nfc",
417       "//device/usb",
418       "//device/vibration",
419       "//media/blink",
420       "//pdf",
421       "//storage/browser",
422       "//third_party/brotli",
423       "//third_party/flac",
424       "//third_party/hunspell",
425       "//third_party/iccjpeg",
426       "//third_party/libphonenumber",
427       "//third_party/ots",
428       "//third_party/qcms",
429       "//third_party/smhasher:murmurhash3",
430       "//third_party/speex",
431       "//third_party/webrtc/system_wrappers",
432       "//ui/native_theme",
433       "//ui/snapshot",
434       "//ui/surface",
435     ]
437     # TODO(dpranke): These are as-yet untriaged but need at least the above.
438     deps -= [
439       "//chrome",  # TODO(GYP)
440       "//chrome/test:browser_tests",  # TODO(GYP)
441       "//chrome/test:interactive_ui_tests",  # TODO(GYP)
442       "//chrome/test:sync_integration_tests",  # TODO(GYP)
443       "//chrome/test:unit_tests",  # TODO(GYP)
444       "//components:components_browsertests",  # TODO(GYP)
445       "//components:components_unittests",  # TODO(GYP)
446       "//content/test:content_browsertests",  # TODO(GYP)
447       "//content/test:content_perftests",  # TODO(GYP)
448       "//content/test:content_unittests",  # TODO(GYP)
449       "//extensions:extensions_browsertests",  # TODO(GYP)
450       "//extensions:extensions_unittests",  # TODO(GYP)
451       "//net:net_unittests",  # TODO(GYP)
452       "//ui/app_list:app_list_unittests",  # TODO(GYP)
453       "//ui/gfx:gfx_unittests",  # TODO(GYP)
454     ]
455   } else if (is_win) {
456     deps += [ "//ui/metro_viewer" ]
457     deps -= [
458       "//crypto:crypto_unittests",  # TODO(GYP)
459       "//net:net_unittests",  # TODO(GYP)
460     ]
461   }
464 group("gn_only") {
465   testonly = true
467   if (is_linux && !is_chromeos) {
468     # TODO(GYP): Figure out if any of these should be in gn_all
469     # and figure out how cross-platform they are
470     deps = [
471       ":gn_mojo_targets",
472       "//chrome/browser/resources:extension_resource_demo",
473       "//chrome/installer/util:strings",
474       "//chrome:main_dll",
475       "//chrome/test:load_library_perf_tests",
476       "//chrome/tools/convert_dict",
477       "//components/constrained_window:unit_tests",
478       "//components/enhanced_bookmarks:test_support",
479       "//components/password_manager/content/renderer:browser_tests",
480       "//components/metrics:serialization",
481       "//components/proximity_auth:proximity_auth_unittests",
482       "//components/rappor:unit_tests",
483       "//components/sessions:unit_tests",
484       "//media/blink:media_blink_unittests",
485       "//media/base:base_for_cast_ios",
486       "//media/cast:udp_proxy",
487       "//native_client/src/trusted/platform_qualify:vcpuid",
488       "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
489       "//storage/browser:dump_file_system",
490       "//third_party/angle:libANGLE",
491       "//third_party/angle:libEGL",
492       "//third_party/angle:libGLESv2",
493       "//third_party/cld_2:cld_2_dynamic_data_tool",
494       "//third_party/leveldatabase:leveldb_arena_test",
495       "//third_party/leveldatabase:leveldb_bloom_test",
496       "//third_party/leveldatabase:leveldb_db_test",
497       "//third_party/leveldatabase:leveldb_crc32c_test",
498       "//third_party/leveldatabase:leveldb_cache_test",
499       "//third_party/leveldatabase:leveldb_env_test",
500       "//third_party/leveldatabase:leveldb_write_batch_test",
501       "//third_party/leveldatabase:leveldb_filter_block_test",
502       "//third_party/leveldatabase:leveldb_version_edit_test",
503       "//third_party/leveldatabase:leveldb_db_bench",
504       "//third_party/leveldatabase:leveldb_log_test",
505       "//third_party/leveldatabase:leveldb_corruption_test",
506       "//third_party/leveldatabase:leveldb_table_test",
507       "//third_party/leveldatabase:leveldb_skiplist_test",
508       "//third_party/leveldatabase:leveldb_filename_test",
509       "//third_party/leveldatabase:leveldb_dbformat_test",
510       "//third_party/pdfium/third_party:freetype",
511       "//third_party/libjingle:peerconnnection_server",
512       "//third_party/libjpeg_turbo:simd",
513       "//third_party/libjpeg_turbo:simd_asm",
514       "//third_party/libsrtp:replay_driver",
515       "//third_party/libsrtp:roc_driver",
516       "//third_party/libsrtp:rtpw",
517       "//third_party/libsrtp:rdbx_driver",
518       "//third_party/libsrtp:srtp_driver",
519       "//third_party/libsrtp:srtp_driver",
520       "//third_party/libsrtp:srtp_test_kernel_driver",
521       "//third_party/libsrtp:srtp_test_cipher_driver",
522       "//third_party/libsrtp:srtp_test_datatypes_driver",
523       "//third_party/libsrtp:srtp_test_aes_calc",
524       "//third_party/libsrtp:srtp_test_env",
525       "//third_party/libsrtp:srtp_test_rand_gen",
526       "//third_party/libsrtp:srtp_test_sha1_driver",
527       "//third_party/libsrtp:srtp_test_stat_driver",
528       "//third_party/opus:opus_compare",
529       "//third_party/opus:opus_demo",
530       "//third_party/opus:test_opus_decode",
531       "//third_party/opus:test_opus_encode",
532       "//third_party/opus:test_opus_api",
533       "//third_party/opus:test_opus_padding",
534       "//third_party/webrtc/system_wrappers:field_trial_default",
535       "//third_party/webrtc/system_wrappers:metrics_default",
536       "//ui/display/types",
537       "//ui/shell_dialogs:shell_dialogs_unittests",
538       "//ui/views/examples:views_examples_exe",
539     ]
540     if (enable_nacl) {
541       deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]
542     }
543     if (use_ozone) {
544       deps += [ "//ui/ozone/demo" ]
545     }
546     if (is_android) {
547       deps += [ "//build/android/gyp/test:hello_world" ]
548     }
550     if (is_linux && current_toolchain == host_toolchain) {
551       deps += [ "//v8:d8" ]
552     }
553   }
556 group("gn_mojo_targets") {
557   testonly = true
558   if (is_linux && !is_chromeos) {
559     # TODO(GYP): Figure out if any of these should be in gn_all
560     # and figure out how cross-platform they are
561     deps = [
562       "//chrome/browser/ui/webui/omnibox:mojo_bindings_python",
563       "//chrome/browser/ui/webui/omnibox:mojo_bindings_dart",
564       "//content/public/common:mojo_bindings_dart",
565       "//content/public/common:mojo_bindings_python",
566       "//content/common:mojo_bindings_dart",
567       "//content/common:mojo_bindings_python",
568       "//content/test:web_ui_test_mojo_bindings_dart",
569       "//content/test:web_ui_test_mojo_bindings_python",
570       "//device/battery:mojo_bindings_python",
571       "//device/battery:mojo_bindings_dart",
572       "//device/vibration:mojo_bindings_dart",
573       "//device/vibration:mojo_bindings_python",
574       "//ipc/mojo:ipc_mojo_perftests",
575       "//ipc/mojo:client_channel_dart",
576       "//ipc/mojo:client_channel_python",
577       "//media/mojo/interfaces:interfaces_dart",
578       "//media/mojo/interfaces:interfaces_python",
579       "//media/mojo/services:cdm_service",
580       "//media/mojo:tests",
581       "//net/interfaces:interfaces_dart",
582       "//net/interfaces:interfaces_python",
583       "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests",
584       "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_dart",
585       "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_python",
586       "//third_party/mojo/src/mojo/public/python:packaged_application",
587       "//third_party/mojo/src/mojo/public/python:packaged_bindings",
588       "//third_party/mojo/src/mojo/public/cpp/application:test_support_standalone",
589       "//third_party/mojo_services/src/accessibility/public/interfaces:interfaces_dart",
590       "//third_party/mojo_services/src/accessibility/public/interfaces:interfaces_python",
591       "//third_party/mojo_services/src/window_manager/public/interfaces:interfaces_dart",
592       "//third_party/mojo_services/src/window_manager/public/interfaces:interfaces_python",
593     ]
595     if (!is_debug) {
596       deps += [
597         "//mojo/services/html_viewer:tests",
598         "//mojo/services/network:apptests",
599       ]
600     }
601   }
604 group("gn_visibility") {
605   deps = [
606     # "//build/config/sanitizers:options_sources",
607     # "//third_party/pdfium:pdfium_embeddertests",  # TODO(GYP): visibility?
608     # "//third_party/pdfium:pdfium_unittests",  # TODO(GYP): visibility?
609     # "//ui/resources:repack_ui_test_mac_locale_pack",
610     # "//v8:v8_snapshot",  # TODO(GYP): visibility?
611     # "//v8:postmortem-metadata",  # TODO(GYP): visibility?
612   ]
615 if (is_linux) {
616   # This group corresponds to the list of tests run on the waterfall for
617   # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's
618   # here to help track GYP -> GN conversion progress.
619   group("linux_default_tests") {
620     testonly = true
621     deps = [
622       # components_browsertests  TODO(GYP)
624       "//base:base_unittests",  # PASSES (*) 2/25/2015
625       "//cc:cc_unittests",  # PASSES 2/25/2015
626       "//chrome/test:browser_tests",
627       "//chrome/test:interactive_ui_tests",
628       "//chrome/test:sync_integration_tests",  # Crashes for brettw in GN and GYP.
629       "//chrome/test:unit_tests",  # PASSES 2/25/2015
630       "//chrome/test/chromedriver:chromedriver_unittests",  # PASSES 2/25/2015
631       "//components:components_unittests",  # PASSES 2/27/2015
632       "//content/test:content_browsertests",
633       "//content/test:content_unittests",  # PASSES 2/25/2015
634       "//crypto:crypto_unittests",  # PASSES 2/25/2015
635       "//dbus:dbus_unittests",  # PASSES 2/25/2015
636       "//device:device_unittests",  # PASSES 3/07/2015
637       "//extensions:extensions_browsertests",  # PASSES 2/25/2015
638       "//extensions:extensions_unittests",  # PASSES 2/25/2015
639       "//extensions/shell:app_shell_unittests",  # PASSES 2/25/2015
640       "//google_apis/gcm:gcm_unit_tests",  # PASSES 2/25/2015
641       "//google_apis:google_apis_unittests",  # PASSES 2/25/2015
642       "//gpu:gpu_unittests",  # PASSES 2/25/2015
643       "//ipc:ipc_tests",  # PASSES 2/25/2015
644       "//ipc/mojo:ipc_mojo_unittests",  # PASSES 2/25/2015
645       "//jingle:jingle_unittests",  # PASSES 2/25/2015
646       "//media/cast:cast_unittests",  # PASSES 2/25/2015
647       "//media:media_unittests",  # PASSES 3/3/2015
648       "//mojo/common:mojo_common_unittests",  # PASSES 2/25/2015
649       "//net:net_unittests",  # PASSES 2/25/2015
650       "//ppapi:ppapi_unittests",  # PASSES 2/26/2015
651       "//printing:printing_unittests",  # PASSES 2/25/2015
652       "//remoting:remoting_unittests",  # Some crashes.
653       "//sandbox/linux:sandbox_linux_unittests",  # PASSES 2/25/2015
654       "//skia:skia_unittests",  # PASSES 2/25/2015
655       "//sql:sql_unittests",  # PASSES 2/25/2015
656       "//sync:sync_unit_tests",  # PASSES 2/25/2015
657       "//third_party/cacheinvalidation:cacheinvalidation_unittests",  # PASSES 2/25/2015
658       "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",  # PASSES 2/25/2015
659       "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",  # PASSES 2/25/2015
660       "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",  # PASSES 2/25/2015
661       "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",  # PASSES 2/25/2015
662       "//ui/accessibility:accessibility_unittests",  # PASSES 2/25/2015
663       "//ui/app_list:app_list_unittests",  # PASSES 2/25/2015
664       "//ui/aura:aura_unittests",  # PASSES 2/25/2015
665       "//ui/base:ui_base_unittests",  # TODO(GYP) ResourceBundleTest.* fails.
666       "//ui/compositor:compositor_unittests",  # PASSES 2/25/2015
667       "//ui/display:display_unittests",  # PASSES 2/25/2015
668       "//ui/events:events_unittests",  # PASSES 2/25/2015
669       "//ui/gfx:gfx_unittests",  # PASSES 2/25/2015
670       "//ui/touch_selection:ui_touch_selection_unittests",  # PASSES 2/25/2015
671       "//ui/views:views_unittests",  # PASSES (*) 2/25/2015
672       "//ui/wm:wm_unittests",  # PASSES 2/25/2015
673       "//url:url_unittests",  # PASSES 2/25/2015
675       # Note:
676       # (*) Fails but failures match GYP build at time of testing.
677     ]
679     if (enable_nacl) {
680       deps += [ "//components/nacl:nacl_loader_unittests" ]  # PASSES 3/28/2015
681     }
682   }