Use the types from stdint.h in MD5 API.
[chromium-blink-merge.git] / BUILD.gn
blob8229104dbd12d5d84c978fb22ee591b8c829b69f
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       "//cloud_print:cloud_print_unittests",
262       "//components:components_perftests",
263       "//components/network_hints/browser",
264       "//components/webui_generator",
265       "//content/public/app:browser",
266       "//content/public/app:child",
267       "//content/test:content_gl_tests",
268       "//content/test:content_gl_benchmark",
269       "//courgette:courgette",
270       "//courgette:courgette_fuzz",
271       "//courgette:courgette_minimal_tool",
272       "//courgette:courgette_unittests",
273       "//device:device_unittests",
274       "//gin:gin_shell",
275       "//gin:gin_v8_snapshot_fingerprint",
276       "//gin:gin_unittests",
277       "//google_apis:google_apis_unittests",
278       "//google_apis/gcm:mcs_probe",
279       "//gpu:angle_unittests",
280       "//gpu:gl_tests",
282       # TODO(GYP): Remove this when the gles2 tests work
283       "//gpu/command_buffer/client:gles2_implementation_no_check",
285       "//gpu:gpu_perftests",
286       "//gpu/khronos_glcts_support:khronos_glcts_test",  # TODO(GYP) crbug.com/471903 to make this complete.
287       "//ipc:ipc_perftests",
288       "//media:ffmpeg_regression_tests",  # TODO(GYP) this should be conditional on media_use_ffmpeg
289       "//media:media_perftests",
290       "//media/cast:cast_benchmarks",
291       "//media/cast:generate_barcode_video",
292       "//media/cast:generate_timecode_audio",
293       "//media/cast:tap_proxy",
294       "//mojo/application",
295       "//net:crash_cache",
296       "//net:crl_set_dump",
297       "//net:dns_fuzz_stub",
298       "//net:gdig",
299       "//net:get_server_time",
300       "//net:net_watcher",  # TODO(GYP): This should be conditional on use_v8_in_net
301       "//net:stress_cache",
302       "//net:tld_cleanup",
303       "//net:run_testserver",
304       "//net:dump_cache",
305       "//ppapi:pepper_hash_for_uma",
306       "//ppapi:ppapi_perftests",  # TODO(GYP): Are there other ppapi_* test targets?
307       "//skia:filter_fuzz_stub",
308       "//skia:image_operations_bench",
309       "//sync:run_sync_testserver",
310       "//sync:sync_endtoend_tests",
311       "//sync/tools:sync_client",
312       "//sync/tools:sync_listen_notifications",
313       "//testing/gmock:gmock_main",
314       "//third_party/codesighs:maptsvdifftool",
315       "//third_party/libphonenumber:libphonenumber_unittests",
316       "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
317       "//tools/gn:generate_test_gn_data",
318       "//tools/perf/clear_system_cache",
319       "//ui/keyboard:keyboard_unittests",
320       "//ui/message_center:message_center_unittests",
321       "//ui/snapshot:snapshot_unittests",
322       "//ui/views/examples:views_examples_with_content_exe",
324       # "//v8:v8_snapshot",  # TODO(GYP): visibility?
325       # "//v8:postmortem-metadata",  # TODO(GYP): visibility?
327       "//third_party/codesighs:nm2tsv",
328       "//third_party/leveldatabase:env_chromium_unittests",
329       "//third_party/libaddressinput:libaddressinput_unittests",
330       "//third_party/sqlite:sqlite_shell",
331       "//ui/compositor:compositor_unittests",
332     ]
334     if (current_toolchain == host_toolchain) {
335       # Do not build the breakpad utilities in cross-compiles.
336       deps += [
337         "//breakpad:dump_syms",
338         "//breakpad:microdump_stackwalk",
339         "//breakpad:minidump_dump",
340         "//breakpad:minidump_stackwalk",
341       ]
342     }
344     if (enable_extensions) {
345       deps += [ "//extensions/shell:app_shell" ]
346     }
348     if (enable_nacl) {
349       deps += [ "//components/nacl:nacl_loader_unittests" ]
350     }
352     if (!is_debug && !is_component_build) {
353       deps += [ "//chrome/tools/service_discovery_sniffer" ]
354     }
356     if (toolkit_views) {
357       deps += [ "//ui/app_list:app_list_demo" ]
358     }
360     if (use_ash) {
361       deps += [
362         "//ash:ash_shell",
363         "//ash:ash_shell_unittests",
364         "//ash:ash_unittests",
365       ]
366     }
368     if (use_aura) {
369       deps += [
370         "//ui/aura:aura_unittests",
371         "//ui/aura:bench",
372         "//ui/aura:demo",
373       ]
374     }
376     if (use_x11) {
377       deps += [ "//media:player_x11" ]
378       if (target_cpu != "arm") {
379         deps += [ "//gpu/tools/compositor_model_bench" ]
380       }
381     }
382   }
384   if (is_mac) {
385     deps += [
386       "//breakpad:crash_inspector",
387       "//breakpad:dump_syms",
388       "//breakpad:symupload",
389       "//third_party/apple_sample_code",
390       "//third_party/molokocacao",
391     ]
393     # TODO(GYP): Remove these when the targets below work and these
394     # are pulled in automatically.
395     deps += [
396       "//cc/blink",
397       "//components/ui/zoom:ui_zoom",
398       "//content",
399       "//content/test:test_support",
400       "//device/battery",
401       "//device/bluetooth",
402       "//device/nfc",
403       "//device/usb",
404       "//device/vibration",
405       "//media/blink",
406       "//pdf",
407       "//storage/browser",
408       "//third_party/brotli",
409       "//third_party/flac",
410       "//third_party/hunspell",
411       "//third_party/iccjpeg",
412       "//third_party/libphonenumber",
413       "//third_party/ots",
414       "//third_party/qcms",
415       "//third_party/smhasher:murmurhash3",
416       "//third_party/speex",
417       "//third_party/webrtc/system_wrappers",
418       "//ui/native_theme",
419       "//ui/snapshot",
420       "//ui/surface",
421     ]
423     # TODO(dpranke): These are as-yet untriaged but need at least the above.
424     deps -= [
425       "//chrome",  # TODO(GYP)
426       "//chrome/test:browser_tests",  # TODO(GYP)
427       "//chrome/test:interactive_ui_tests",  # TODO(GYP)
428       "//chrome/test:sync_integration_tests",  # TODO(GYP)
429       "//chrome/test:unit_tests",  # TODO(GYP)
430       "//components:components_browsertests",  # TODO(GYP)
431       "//components:components_unittests",  # TODO(GYP)
432       "//content/test:content_browsertests",  # TODO(GYP)
433       "//content/test:content_perftests",  # TODO(GYP)
434       "//content/test:content_unittests",  # TODO(GYP)
435       "//extensions:extensions_browsertests",  # TODO(GYP)
436       "//extensions:extensions_unittests",  # TODO(GYP)
437       "//net:net_unittests",  # TODO(GYP)
438       "//ui/app_list:app_list_unittests",  # TODO(GYP)
439       "//ui/gfx:gfx_unittests",  # TODO(GYP)
440     ]
441   } else if (is_win) {
442     deps += [ "//ui/metro_viewer" ]
443     deps -= [
444       "//crypto:crypto_unittests",  # TODO(GYP)
445       "//net:net_unittests",  # TODO(GYP)
446     ]
447   }
450 group("gn_only") {
451   testonly = true
453   if (is_linux && !is_chromeos) {
454     # TODO(GYP): Figure out if any of these should be in gn_all
455     # and figure out how cross-platform they are
456     deps = [
457       ":gn_mojo_targets",
458       "//chrome/browser/resources:extension_resource_demo",
459       "//chrome/installer/util:strings",
460       "//chrome:main_dll",
461       "//chrome/test:load_library_perf_tests",
462       "//chrome/tools/convert_dict",
463       "//components/constrained_window:unit_tests",
464       "//components/enhanced_bookmarks:test_support",
465       "//components/password_manager/content/renderer:browser_tests",
466       "//components/metrics:serialization",
467       "//components/proximity_auth:proximity_auth_unittests",
468       "//components/rappor:unit_tests",
469       "//components/sessions:unit_tests",
470       "//media/blink:media_blink_unittests",
471       "//media/base:base_for_cast_ios",
472       "//media/cast:udp_proxy",
473       "//native_client/src/trusted/platform_qualify:vcpuid",
474       "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
475       "//storage/browser:dump_file_system",
476       "//third_party/angle:libANGLE",
477       "//third_party/angle:libEGL",
478       "//third_party/angle:libGLESv2",
479       "//third_party/cld_2:cld_2_dynamic_data_tool",
480       "//third_party/leveldatabase:leveldb_arena_test",
481       "//third_party/leveldatabase:leveldb_bloom_test",
482       "//third_party/leveldatabase:leveldb_db_test",
483       "//third_party/leveldatabase:leveldb_crc32c_test",
484       "//third_party/leveldatabase:leveldb_cache_test",
485       "//third_party/leveldatabase:leveldb_env_test",
486       "//third_party/leveldatabase:leveldb_write_batch_test",
487       "//third_party/leveldatabase:leveldb_filter_block_test",
488       "//third_party/leveldatabase:leveldb_version_edit_test",
489       "//third_party/leveldatabase:leveldb_db_bench",
490       "//third_party/leveldatabase:leveldb_log_test",
491       "//third_party/leveldatabase:leveldb_corruption_test",
492       "//third_party/leveldatabase:leveldb_table_test",
493       "//third_party/leveldatabase:leveldb_skiplist_test",
494       "//third_party/leveldatabase:leveldb_filename_test",
495       "//third_party/leveldatabase:leveldb_dbformat_test",
496       "//third_party/pdfium/third_party:freetype",
497       "//third_party/libjingle:peerconnnection_server",
498       "//third_party/libjpeg_turbo:simd",
499       "//third_party/libjpeg_turbo:simd_asm",
500       "//third_party/libsrtp:replay_driver",
501       "//third_party/libsrtp:roc_driver",
502       "//third_party/libsrtp:rtpw",
503       "//third_party/libsrtp:rdbx_driver",
504       "//third_party/libsrtp:srtp_driver",
505       "//third_party/libsrtp:srtp_driver",
506       "//third_party/libsrtp:srtp_test_kernel_driver",
507       "//third_party/libsrtp:srtp_test_cipher_driver",
508       "//third_party/libsrtp:srtp_test_datatypes_driver",
509       "//third_party/libsrtp:srtp_test_aes_calc",
510       "//third_party/libsrtp:srtp_test_env",
511       "//third_party/libsrtp:srtp_test_rand_gen",
512       "//third_party/libsrtp:srtp_test_sha1_driver",
513       "//third_party/libsrtp:srtp_test_stat_driver",
514       "//third_party/opus:opus_compare",
515       "//third_party/opus:opus_demo",
516       "//third_party/opus:test_opus_decode",
517       "//third_party/opus:test_opus_encode",
518       "//third_party/opus:test_opus_api",
519       "//third_party/opus:test_opus_padding",
520       "//third_party/webrtc/system_wrappers:field_trial_default",
521       "//third_party/webrtc/system_wrappers:metrics_default",
522       "//ui/display/types",
523       "//ui/shell_dialogs:shell_dialogs_unittests",
524       "//ui/views/examples:views_examples_exe",
525     ]
526     if (enable_nacl) {
527       deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]
528     }
529     if (use_ozone) {
530       deps += [ "//ui/ozone/demo" ]
531     }
532     if (is_android) {
533       deps += [ "//build/android/gyp/test:hello_world" ]
534     }
536     if (is_linux && current_toolchain == host_toolchain) {
537       deps += [ "//v8:d8" ]
538     }
539   }
542 group("gn_mojo_targets") {
543   testonly = true
544   if (is_linux && !is_chromeos) {
545     # TODO(GYP): Figure out if any of these should be in gn_all
546     # and figure out how cross-platform they are
547     deps = [
548       "//chrome/browser/ui/webui/omnibox:mojo_bindings_python",
549       "//chrome/browser/ui/webui/omnibox:mojo_bindings_dart",
550       "//content/public/common:mojo_bindings_dart",
551       "//content/public/common:mojo_bindings_python",
552       "//content/common:mojo_bindings_dart",
553       "//content/common:mojo_bindings_python",
554       "//content/test:web_ui_test_mojo_bindings_dart",
555       "//content/test:web_ui_test_mojo_bindings_python",
556       "//device/battery:mojo_bindings_python",
557       "//device/battery:mojo_bindings_dart",
558       "//device/vibration:mojo_bindings_dart",
559       "//device/vibration:mojo_bindings_python",
560       "//ipc/mojo:ipc_mojo_perftests",
561       "//ipc/mojo:client_channel_dart",
562       "//ipc/mojo:client_channel_python",
563       "//media/mojo/interfaces:interfaces_dart",
564       "//media/mojo/interfaces:interfaces_python",
565       "//media/mojo/services:cdm_service",
566       "//media/mojo:tests",
567       "//net/interfaces:interfaces_dart",
568       "//net/interfaces:interfaces_python",
569       "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests",
570       "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_dart",
571       "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_python",
572       "//third_party/mojo/src/mojo/public/python:packaged_application",
573       "//third_party/mojo/src/mojo/public/python:packaged_bindings",
574       "//third_party/mojo/src/mojo/public/cpp/application:test_support_standalone",
575       "//third_party/mojo_services/src/accessibility/public/interfaces:interfaces_dart",
576       "//third_party/mojo_services/src/accessibility/public/interfaces:interfaces_python",
577       "//third_party/mojo_services/src/window_manager/public/interfaces:interfaces_dart",
578       "//third_party/mojo_services/src/window_manager/public/interfaces:interfaces_python",
579     ]
581     if (!is_debug) {
582       deps += [
583         "//mojo/services/html_viewer:tests",
584         "//mojo/services/network:apptests",
585       ]
586     }
587   }
590 group("gn_visibility") {
591   deps = [
592     # "//build/config/sanitizers:options_sources",
593     # "//third_party/pdfium:pdfium_embeddertests",  # TODO(GYP): visibility?
594     # "//third_party/pdfium:pdfium_unittests",  # TODO(GYP): visibility?
595     # "//ui/resources:repack_ui_test_mac_locale_pack",
596     # "//v8:v8_snapshot",  # TODO(GYP): visibility?
597     # "//v8:postmortem-metadata",  # TODO(GYP): visibility?
598   ]
601 if (is_linux) {
602   # This group corresponds to the list of tests run on the waterfall for
603   # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's
604   # here to help track GYP -> GN conversion progress.
605   group("linux_default_tests") {
606     testonly = true
607     deps = [
608       # components_browsertests  TODO(GYP)
610       "//base:base_unittests",  # PASSES (*) 2/25/2015
611       "//cc:cc_unittests",  # PASSES 2/25/2015
612       "//chrome/test:browser_tests",
613       "//chrome/test:interactive_ui_tests",
614       "//chrome/test:sync_integration_tests",  # Crashes for brettw in GN and GYP.
615       "//chrome/test:unit_tests",  # PASSES 2/25/2015
616       "//chrome/test/chromedriver:chromedriver_unittests",  # PASSES 2/25/2015
617       "//components:components_unittests",  # PASSES 2/27/2015
618       "//content/test:content_browsertests",
619       "//content/test:content_unittests",  # PASSES 2/25/2015
620       "//crypto:crypto_unittests",  # PASSES 2/25/2015
621       "//dbus:dbus_unittests",  # PASSES 2/25/2015
622       "//device:device_unittests",  # PASSES 3/07/2015
623       "//extensions:extensions_browsertests",  # PASSES 2/25/2015
624       "//extensions:extensions_unittests",  # PASSES 2/25/2015
625       "//extensions/shell:app_shell_unittests",  # PASSES 2/25/2015
626       "//google_apis/gcm:gcm_unit_tests",  # PASSES 2/25/2015
627       "//google_apis:google_apis_unittests",  # PASSES 2/25/2015
628       "//gpu:gpu_unittests",  # PASSES 2/25/2015
629       "//ipc:ipc_tests",  # PASSES 2/25/2015
630       "//ipc/mojo:ipc_mojo_unittests",  # PASSES 2/25/2015
631       "//jingle:jingle_unittests",  # PASSES 2/25/2015
632       "//media/cast:cast_unittests",  # PASSES 2/25/2015
633       "//media:media_unittests",  # PASSES 3/3/2015
634       "//mojo/common:mojo_common_unittests",  # PASSES 2/25/2015
635       "//net:net_unittests",  # PASSES 2/25/2015
636       "//ppapi:ppapi_unittests",  # PASSES 2/26/2015
637       "//printing:printing_unittests",  # PASSES 2/25/2015
638       "//remoting:remoting_unittests",  # Some crashes.
639       "//sandbox/linux:sandbox_linux_unittests",  # PASSES 2/25/2015
640       "//skia:skia_unittests",  # PASSES 2/25/2015
641       "//sql:sql_unittests",  # PASSES 2/25/2015
642       "//sync:sync_unit_tests",  # PASSES 2/25/2015
643       "//third_party/cacheinvalidation:cacheinvalidation_unittests",  # PASSES 2/25/2015
644       "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",  # PASSES 2/25/2015
645       "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",  # PASSES 2/25/2015
646       "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",  # PASSES 2/25/2015
647       "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",  # PASSES 2/25/2015
648       "//ui/accessibility:accessibility_unittests",  # PASSES 2/25/2015
649       "//ui/app_list:app_list_unittests",  # PASSES 2/25/2015
650       "//ui/aura:aura_unittests",  # PASSES 2/25/2015
651       "//ui/base:ui_base_unittests",  # TODO(GYP) ResourceBundleTest.* fails.
652       "//ui/compositor:compositor_unittests",  # PASSES 2/25/2015
653       "//ui/display:display_unittests",  # PASSES 2/25/2015
654       "//ui/events:events_unittests",  # PASSES 2/25/2015
655       "//ui/gfx:gfx_unittests",  # PASSES 2/25/2015
656       "//ui/touch_selection:ui_touch_selection_unittests",  # PASSES 2/25/2015
657       "//ui/views:views_unittests",  # PASSES (*) 2/25/2015
658       "//ui/wm:wm_unittests",  # PASSES 2/25/2015
659       "//url:url_unittests",  # PASSES 2/25/2015
661       # Note:
662       # (*) Fails but failures match GYP build at time of testing.
663     ]
665     if (enable_nacl) {
666       deps += [ "//components/nacl:nacl_loader_unittests" ]  # PASSES 3/28/2015
667     }
668   }