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