blob: 96fd2e78fcb99321bf1b4fbb810ade2d2d0282bc [file] [log] [blame]
[email protected]f0e7ff882013-12-26 21:23:091# 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.
4
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.
10
dprankefd1813272015-04-13 23:56:0011import("//build/config/crypto.gni")
rockot2f1326e2015-02-23 23:53:5112import("//build/config/features.gni")
[email protected]378b4f02014-06-10 15:58:4513import("//build/config/ui.gni")
dprankefd1813272015-04-13 23:56:0014import("//build/module_args/v8.gni")
dprankece5eb832015-04-01 20:21:0515import("//remoting/remoting_host.gni")
dprankee2ef3822015-02-24 21:42:1816
cjhopmanca675d3e2014-10-24 03:50:4517if (is_android) {
18 import("//build/config/android/config.gni")
19}
[email protected]378b4f02014-06-10 15:58:4520
brettwb84b29472014-10-22 22:58:4521declare_args() {
22 # A list of extra dependencies to add to the root target. This allows a
23 # checkout to add additional targets without explicitly changing any checked-
24 # in files.
25 root_extra_deps = []
26}
27
dpranked62d8512015-03-02 03:06:0328# The "gn_all" target should list every root target (target that
29# nothing else depends on) built by both GN and GYP. One should
30# be able to run 'ninja gn_all gn_only gn_groups' and then run
31# 'ninja' a second time and have the second ninja invocation do nothing.
32#
33# In addition, the "gn_all" target serves to pull in all of the other
34# build files needed for the build.
35#
36# TODO(GYP): make sure that the above is true and there are scripts run
37# on the bots that enforce this.
dprankeff30e3d2015-02-24 06:52:3938
dprankee2ef3822015-02-24 21:42:1839group("gn_all") {
40 testonly = true
41
42 deps = [
43 "//base:base_unittests",
44 "//cc:cc_unittests",
45 "//chrome",
46 "//chrome/test:browser_tests",
47 "//chrome/test:interactive_ui_tests",
48 "//chrome/test:sync_integration_tests",
49 "//chrome/test:unit_tests",
brettw922d3aa2015-02-27 22:15:4650 "//chrome/test/chromedriver:chromedriver_unittests",
dprankef6ca89c52015-03-30 22:01:3851 "//components:components_browsertests",
dprankee2ef3822015-02-24 21:42:1852 "//components:components_unittests",
53 "//content/shell:content_shell",
54 "//content/test:content_browsertests",
55 "//content/test:content_perftests",
56 "//content/test:content_unittests",
57 "//crypto:crypto_unittests",
scheibcfdca0e2015-04-01 05:27:5858 "//device:device_unittests",
dprankee2ef3822015-02-24 21:42:1859 "//extensions:extensions_browsertests",
60 "//extensions:extensions_unittests",
61 "//google_apis/gcm:gcm_unit_tests",
62 "//gpu:gpu_unittests",
63 "//ipc:ipc_tests",
64 "//ipc/mojo:ipc_mojo_unittests",
65 "//jingle:jingle_unittests",
66 "//media:media_unittests",
dprankee2ef3822015-02-24 21:42:1867 "//media/cast:cast_unittests",
68 "//mojo",
dprankec09ccaa2015-03-27 22:00:3869 "//mojo/application",
dprankee2ef3822015-02-24 21:42:1870 "//mojo/common:mojo_common_unittests",
rockot9c67e5f2015-03-12 20:01:2171 "//net:hpack_example_generator",
72 "//net:hpack_fuzz_mutator",
73 "//net:hpack_fuzz_wrapper",
74 "//net:net_perftests",
dprankee2ef3822015-02-24 21:42:1875 "//net:net_unittests",
brettw31f4de692015-03-04 17:24:4576 "//ppapi:ppapi_unittests",
tfarina79ef072d2015-04-04 20:16:5777 "//ppapi/examples/2d",
78 "//ppapi/examples/audio",
79 "//ppapi/examples/audio_input",
80 "//ppapi/examples/compositor",
81 "//ppapi/examples/crxfs",
82 "//ppapi/examples/enumerate_devices",
83 "//ppapi/examples/file_chooser",
84 "//ppapi/examples/flash_topmost",
85 "//ppapi/examples/font",
86 "//ppapi/examples/gamepad",
87 "//ppapi/examples/gles2",
88 "//ppapi/examples/gles2_spinning_cube",
89 "//ppapi/examples/ime",
90 "//ppapi/examples/input",
91 "//ppapi/examples/media_stream_audio",
92 "//ppapi/examples/media_stream_video",
93 "//ppapi/examples/mouse_cursor",
94 "//ppapi/examples/mouse_lock",
95 "//ppapi/examples/printing",
96 "//ppapi/examples/scaling",
97 "//ppapi/examples/scripting",
98 "//ppapi/examples/stub",
99 "//ppapi/examples/threading",
100 "//ppapi/examples/url_loader",
101 "//ppapi/examples/video_capture",
102 "//ppapi/examples/video_decode",
103 "//ppapi/examples/video_effects",
104 "//ppapi/examples/video_encode",
dprankee2ef3822015-02-24 21:42:18105 "//printing:printing_unittests",
106 "//skia:skia_unittests",
107 "//sql:sql_unittests",
108 "//sync:sync_unit_tests",
dpranked62d8512015-03-02 03:06:03109 "//third_party/WebKit/public:blink_tests",
dprankee2ef3822015-02-24 21:42:18110 "//third_party/cacheinvalidation:cacheinvalidation_unittests",
dprankee2ef3822015-02-24 21:42:18111 "//third_party/codesighs",
dprankee2ef3822015-02-24 21:42:18112 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
113 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
114 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
115 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
116 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
117 "//third_party/pdfium/samples:pdfium_test",
dprankee2ef3822015-02-24 21:42:18118 "//third_party/smhasher:pmurhash",
dprankee2ef3822015-02-24 21:42:18119 "//tools/imagediff($host_toolchain)",
120 "//tools/gn",
121 "//tools/gn:gn_unittests",
dprankefd1813272015-04-13 23:56:00122 "//tools/gn:generate_test_gn_data",
dprankee2ef3822015-02-24 21:42:18123 "//tools/telemetry:bitmaptools($host_toolchain)",
124 "//ui/accessibility:accessibility_unittests",
125 "//ui/app_list:app_list_unittests",
126 "//ui/base:ui_base_unittests",
127 "//ui/display:display_unittests",
128 "//ui/events:events_unittests",
129 "//ui/gfx:gfx_unittests",
130 "//ui/touch_selection:ui_touch_selection_unittests",
131 "//url:url_unittests",
132 ]
133
scottmg34fb7e52014-12-03 23:27:24134 deps += root_extra_deps
[email protected]fce5c3fe2014-04-10 21:13:05135
dpranke021d4c92015-02-24 02:08:25136 if (enable_extensions && !is_mac) {
dprankefd1813272015-04-13 23:56:00137 # TODO(GYP): Get this working on the mac?
rockot2f1326e2015-02-23 23:53:51138 deps += [ "//extensions/shell:app_shell_unittests" ]
139 }
140
dprankefd1813272015-04-13 23:56:00141 if (enable_me2me_host) {
142 deps += [ "//remoting/host:remoting_me2me_host" ]
143 }
144
145 if (enable_media_router) {
146 deps += [
147 "//chrome/browser/media/router/",
148 "//chrome/browser/media/router:unit_tests",
149 ]
150 }
151
dprankece5eb832015-04-01 20:21:05152 if (enable_remoting_host) {
153 deps += [
154 "//remoting:remoting_unittests",
155 "//remoting:remoting_perftests",
156 "//remoting/host",
157 "//remoting/host:remoting_start_host",
158 "//remoting/host/it2me:remote_assistance_host",
159 ]
160 }
161
dprankee2ef3822015-02-24 21:42:18162 if (toolkit_views) {
163 deps += [ "//ui/views:views_unittests" ]
James Robinson060f2e32014-09-10 22:31:37164 }
165
dprankee2ef3822015-02-24 21:42:18166 if (use_aura) {
167 deps += [ "//ui/wm:wm_unittests" ]
168 }
169
170 if (use_ozone) {
dprankedb5527d72015-03-08 04:22:47171 deps += [ "//ui/ozone" ]
[email protected]a306aaa2014-05-24 13:21:50172 }
173
dprankefd1813272015-04-13 23:56:00174 if (use_x11) {
175 deps += [ "//tools/xdisplaycheck" ]
kmarshalld2f3bea2015-03-11 23:42:22176 }
177
tmoniuszkoe5578b922015-04-14 09:38:03178 if (enable_configuration_policy) {
179 deps += [ "//components/policy:policy_templates" ]
180 }
181
dprankefd1813272015-04-13 23:56:00182 if (v8_use_external_startup_data) {
183 deps += [ "//gin:gin_v8_snapshot_fingerprint" ]
[email protected]2d6893a2014-06-02 19:16:36184 }
185
[email protected]5a8d5162014-04-12 01:19:16186 if (is_android) {
[email protected]26046b52014-07-16 00:11:03187 deps += [
cjhopman31511332014-10-23 01:05:02188 "//base/android/linker:chromium_android_linker",
cjhopman3d85c6d2014-11-18 03:39:38189 "//build/android/gyp/test:hello_world",
cjhopman31511332014-10-23 01:05:02190 "//build/android/rezip",
hiroshigee6d374c2015-02-24 07:54:06191 "//chrome/android:chrome_shell_apk",
hiroshigee6d374c2015-02-24 07:54:06192 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
dprankee2ef3822015-02-24 21:42:18193 "//tools/imagediff($host_toolchain)",
194
195 # TODO(GYP): Remove these when the components_unittests work.
196 "//components/history/core/test:test",
197 "//components/policy:policy_component_test_support",
198 "//components/policy:test_support",
199 "//components/rappor:test_support",
200 "//components/signin/core/browser:test_support",
201 "//components/sync_driver:test_support",
202 "//components/user_manager",
203 "//components/wallpaper",
204 "//content/shell/android:content_shell_apk",
205
206 # TODO(GYP): Are these needed, or will they be pulled in automatically?
[email protected]684b2292014-08-22 19:12:39207 "//third_party/android_tools:android_gcm_java",
208 "//third_party/android_tools:uiautomator_java",
209 "//third_party/android_tools:android_support_v13_java",
210 "//third_party/android_tools:android_support_v7_appcompat_java",
211 "//third_party/android_tools:android_support_v7_mediarouter_java",
dprankee2ef3822015-02-24 21:42:18212 "//third_party/mesa",
mikecase85e83ed2014-12-08 19:18:29213 "//third_party/mockito:mockito_java",
dprankee2ef3822015-02-24 21:42:18214 "//third_party/openmax_dl/dl",
215 "//third_party/speex",
216 "//ui/android:ui_java",
217
218 # TODO(GYP): Are these needed?
219 "//chrome/test:test_support_unit",
220 "//third_party/smhasher:murmurhash3",
221 "//ui/message_center:test_support",
222 ]
223 deps -= [
dprankee2ef3822015-02-24 21:42:18224 "//chrome", # TODO(GYP) ??
225 "//chrome/test:browser_tests", # TODO(GYP) ??
226 "//chrome/test:interactive_ui_tests", # TODO(GYP) ??
227 "//chrome/test:sync_integration_tests", # TODO(GYP) ??
228 "//chrome/test:unit_tests", # TODO(GYP)
brettw922d3aa2015-02-27 22:15:46229
230 # Chromedriver shouldn't be compiled on Android.
231 "//chrome/test/chromedriver:chromedriver_unittests",
dprankee2ef3822015-02-24 21:42:18232 "//extensions:extensions_browsertests",
233 "//extensions:extensions_unittests",
234 "//google_apis/gcm:gcm_unit_tests",
235 "//ipc:ipc_tests", # TODO(GYP) ??
236 "//jingle:jingle_unittests", # TODO(GYP) ??
rockot9c67e5f2015-03-12 20:01:21237 "//net:hpack_example_generator",
238 "//net:hpack_fuzz_mutator",
239 "//net:hpack_fuzz_wrapper",
240 "//net:net_perftests",
dprankee2ef3822015-02-24 21:42:18241 "//net:net_unittests",
tfarina79ef072d2015-04-04 20:16:57242 "//ppapi/examples/2d",
243 "//ppapi/examples/audio",
244 "//ppapi/examples/audio_input",
245 "//ppapi/examples/compositor",
246 "//ppapi/examples/crxfs",
247 "//ppapi/examples/enumerate_devices",
248 "//ppapi/examples/file_chooser",
249 "//ppapi/examples/flash_topmost",
250 "//ppapi/examples/font",
251 "//ppapi/examples/gamepad",
252 "//ppapi/examples/gles2",
253 "//ppapi/examples/gles2_spinning_cube",
254 "//ppapi/examples/ime",
255 "//ppapi/examples/input",
256 "//ppapi/examples/media_stream_audio",
257 "//ppapi/examples/media_stream_video",
258 "//ppapi/examples/mouse_cursor",
259 "//ppapi/examples/mouse_lock",
260 "//ppapi/examples/printing",
261 "//ppapi/examples/scaling",
262 "//ppapi/examples/scripting",
263 "//ppapi/examples/stub",
264 "//ppapi/examples/threading",
265 "//ppapi/examples/url_loader",
266 "//ppapi/examples/video_capture",
267 "//ppapi/examples/video_decode",
268 "//ppapi/examples/video_effects",
269 "//ppapi/examples/video_encode",
dprankee2ef3822015-02-24 21:42:18270 "//third_party/pdfium/samples:pdfium_test",
271 "//tools/gn",
dprankefd1813272015-04-13 23:56:00272 "//tools/gn:generate_test_gn_data",
dprankee2ef3822015-02-24 21:42:18273 "//tools/gn:gn_unittests",
274 "//ui/app_list:app_list_unittests",
275 "//url:url_unittests",
[email protected]26046b52014-07-16 00:11:03276 ]
277
cjhopmanca675d3e2014-10-24 03:50:45278 if (has_chrome_android_internal) {
dprankee2ef3822015-02-24 21:42:18279 deps += [ "//clank" ] # TODO(GYP) ??
cjhopmanca675d3e2014-10-24 03:50:45280 }
dprankedb5527d72015-03-08 04:22:47281 }
282
dprankefd1813272015-04-13 23:56:00283 if (is_linux) { # TODO(GYP): || is_android || is_bsd?
284 deps += [
285 "//breakpad:core-2-minidump",
286 "//breakpad:minidump-2-core",
287 ]
288 }
289
dpranke6293d252015-04-14 19:12:00290 if (is_chromeos) {
291 deps += [
292 "//chromeos:chromeos_unittests",
293 "//ui/chromeos:ui_chromeos_unittests",
294 ]
295 }
296
dprankefd1813272015-04-13 23:56:00297 if (is_chromeos || is_mac || is_win) {
298 deps += [
299 "//rlz:rlz_id",
300 "//rlz:rlz_lib",
301 "//rlz:rlz_unittests",
302 ]
303 }
304
dprankedb5527d72015-03-08 04:22:47305 if (is_linux) {
306 # The following are definitely linux-only.
hiroshigee6d374c2015-02-24 07:54:06307 deps += [
dprankedb5527d72015-03-08 04:22:47308 "//breakpad:breakpad_unittests",
dprankedb5527d72015-03-08 04:22:47309 "//breakpad:generate_test_dump",
dprankedb5527d72015-03-08 04:22:47310 "//dbus:dbus_test_server",
dprankee2ef3822015-02-24 21:42:18311 "//dbus:dbus_unittests",
dprankedb5527d72015-03-08 04:22:47312 "//net:disk_cache_memory_test",
313 "//net:flip_in_mem_edsm_server",
314 "//net:flip_in_mem_edsm_server_unittests",
315 "//net:quic_client",
316 "//net:quic_server",
317 "//sandbox/linux:chrome_sandbox",
dprankee2ef3822015-02-24 21:42:18318 "//sandbox/linux:sandbox_linux_unittests",
dprankedb5527d72015-03-08 04:22:47319 "//sandbox/linux:sandbox_linux_jni_unittests",
hiroshigee6d374c2015-02-24 07:54:06320 ]
dnicoara8c6aa8e2015-03-11 23:20:32321
322 if (is_chromeos || use_ash) {
323 deps += [ "//components/session_manager/core" ]
324 }
dprankedb5527d72015-03-08 04:22:47325 }
326
dprankefd1813272015-04-13 23:56:00327 if (is_win || (is_linux && !is_chromeos)) {
328 # TODO(GYP): Figure out which of these should (and can) build
329 # for android/chromeos/mac/ios.
tfarina9e7cf702015-02-23 21:13:44330 deps += [
dprankedb5527d72015-03-08 04:22:47331 "//base:base_perftests",
332 "//base:base_i18n_perftests",
333 "//base:check_example",
334 "//base:protect_file_posix",
335 "//base:build_utf8_validator_tables",
dprankedb5527d72015-03-08 04:22:47336 "//cc:cc_perftests",
dprankefd1813272015-04-13 23:56:00337 "//cc/blink:cc_blink_unittests",
dprankedb5527d72015-03-08 04:22:47338 "//chrome/test:load_library_perf_tests",
dpranke76f48222015-04-01 00:00:00339 "//chrome/test:performance_browser_tests",
dprankedb5527d72015-03-08 04:22:47340 "//chrome/test:sync_performance_tests",
341 "//chrome/test/chromedriver:chromedriver",
342 "//chrome/test/chromedriver:chromedriver_tests",
343 "//chrome/tools/profile_reset:jtl_compiler",
344 "//components:components_perftests",
dprankedb5527d72015-03-08 04:22:47345 "//content/test:content_gl_tests",
346 "//content/test:content_gl_benchmark",
347 "//courgette:courgette",
348 "//courgette:courgette_fuzz",
349 "//courgette:courgette_minimal_tool",
350 "//courgette:courgette_unittests",
351 "//device:device_unittests",
352 "//gin:gin_shell",
dprankedb5527d72015-03-08 04:22:47353 "//gin:gin_unittests",
354 "//google_apis:google_apis_unittests",
355 "//google_apis/gcm:mcs_probe",
356 "//gpu:angle_unittests",
dprankedb5527d72015-03-08 04:22:47357 "//gpu:gpu_perftests",
dprankefd1813272015-04-13 23:56:00358 "//gpu:gl_tests",
dprankedb5527d72015-03-08 04:22:47359 "//ipc:ipc_perftests",
360 "//media:ffmpeg_regression_tests", # TODO(GYP) this should be conditional on media_use_ffmpeg
361 "//media:media_perftests",
dprankedb5527d72015-03-08 04:22:47362 "//media/cast:generate_barcode_video",
363 "//media/cast:generate_timecode_audio",
dprankedb5527d72015-03-08 04:22:47364 "//net:crash_cache",
365 "//net:crl_set_dump",
366 "//net:dns_fuzz_stub",
dprankefd1813272015-04-13 23:56:00367 "//net:dump_cache",
dprankedb5527d72015-03-08 04:22:47368 "//net:gdig",
369 "//net:get_server_time",
dprankedb5527d72015-03-08 04:22:47370 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in_net
dprankefd1813272015-04-13 23:56:00371 "//net:run_testserver",
dprankedb5527d72015-03-08 04:22:47372 "//net:stress_cache",
373 "//net:tld_cleanup",
dprankec09ccaa2015-03-27 22:00:38374 "//ppapi:pepper_hash_for_uma",
dprankefd1813272015-04-13 23:56:00375 "//ppapi:ppapi_perftests",
dprankedb5527d72015-03-08 04:22:47376 "//sync:run_sync_testserver",
377 "//sync:sync_endtoend_tests",
dprankedb5527d72015-03-08 04:22:47378 "//third_party/codesighs:maptsvdifftool",
dprankedb5527d72015-03-08 04:22:47379 "//third_party/leveldatabase:env_chromium_unittests",
380 "//third_party/libaddressinput:libaddressinput_unittests",
dprankefd1813272015-04-13 23:56:00381 "//third_party/libphonenumber:libphonenumber_unittests",
dprankedb5527d72015-03-08 04:22:47382 "//ui/compositor:compositor_unittests",
383 ]
384
385 if (enable_extensions) {
386 deps += [ "//extensions/shell:app_shell" ]
387 }
388
389 if (enable_nacl) {
dprankefd1813272015-04-13 23:56:00390 deps += [ "//components/nacl:nacl_loader_unittests" ]
dprankedb5527d72015-03-08 04:22:47391 }
392
dprankefd1813272015-04-13 23:56:00393 if (enable_nacl && enable_remoting) {
394 deps += [ "//remoting:remoting_key_tester" ]
dprankedb5527d72015-03-08 04:22:47395 }
396
397 if (use_ash) {
398 deps += [
399 "//ash:ash_shell",
400 "//ash:ash_shell_unittests",
401 "//ash:ash_unittests",
402 ]
403 }
404
405 if (use_aura) {
406 deps += [
407 "//ui/aura:aura_unittests",
408 "//ui/aura:bench",
409 "//ui/aura:demo",
410 ]
411 }
dprankefd1813272015-04-13 23:56:00412 }
413
414 if (is_linux && !is_chromeos) {
415 deps += [
416 # TODO(GYP): Figure out which of these should (and can) build
417 # under which other conditions.
418 "//build/sanitizers:copy_llvm_symbolizer",
419 "//chrome/test:chrome_app_unittests",
420 "//cloud_print:cloud_print_unittests",
421 "//components/network_hints/browser",
422 "//components/webui_generator",
423 "//content/public/app:browser",
424 "//content/public/app:child",
425
426 # TODO(GYP): Remove this when the gles2 tests work
427 "//gpu/command_buffer/client:gles2_implementation_no_check",
428
429 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/471903 to make this complete.
430 "//media/cast:cast_benchmarks",
431 "//media/cast:tap_proxy",
432 "//mojo/application",
433 "//skia:filter_fuzz_stub",
434 "//skia:image_operations_bench",
435 "//sync/tools:sync_client",
436 "//sync/tools:sync_listen_notifications",
437 "//testing/gmock:gmock_main",
438 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
439 "//tools/perf/clear_system_cache",
440 "//ui/keyboard:keyboard_unittests",
441 "//ui/message_center:message_center_unittests",
442 "//ui/snapshot:snapshot_unittests",
443 "//ui/views/examples:views_examples_with_content_exe",
444
445 # "//v8:v8_snapshot", # TODO(GYP): visibility?
446 # "//v8:postmortem-metadata", # TODO(GYP): visibility?
447
448 "//third_party/codesighs:nm2tsv",
449 "//third_party/sqlite:sqlite_shell",
450 ]
451
452 if (current_toolchain == host_toolchain) {
453 # Do not build the breakpad utilities in cross-compiles.
454 deps += [
455 "//breakpad:dump_syms",
456 "//breakpad:microdump_stackwalk",
457 "//breakpad:minidump_dump",
458 "//breakpad:minidump_stackwalk",
459 ]
460 }
461
462 if (!is_debug && !is_component_build) {
463 deps += [ "//chrome/tools/service_discovery_sniffer" ]
464 }
465
466 if (toolkit_views) {
467 deps += [ "//ui/app_list:app_list_demo" ]
468 }
dprankedb5527d72015-03-08 04:22:47469
470 if (use_x11) {
471 deps += [ "//media:player_x11" ]
wtc6e2e29c2015-03-13 01:09:44472 if (target_cpu != "arm") {
tfarina8944e6f2015-03-25 20:06:59473 deps += [ "//gpu/tools/compositor_model_bench" ]
wtc6e2e29c2015-03-13 01:09:44474 }
dprankedb5527d72015-03-08 04:22:47475 }
476 }
477
478 if (is_mac) {
479 deps += [
480 "//breakpad:crash_inspector",
481 "//breakpad:dump_syms",
tfarina9e7cf702015-02-23 21:13:44482 "//third_party/apple_sample_code",
483 "//third_party/molokocacao",
484 ]
485
dprankee2ef3822015-02-24 21:42:18486 # TODO(GYP): Remove these when the targets below work and these
487 # are pulled in automatically.
488 deps += [
489 "//cc/blink",
490 "//components/ui/zoom:ui_zoom",
491 "//content",
492 "//content/test:test_support",
493 "//device/battery",
494 "//device/bluetooth",
495 "//device/nfc",
496 "//device/usb",
497 "//device/vibration",
498 "//media/blink",
499 "//pdf",
500 "//storage/browser",
501 "//third_party/brotli",
502 "//third_party/flac",
503 "//third_party/hunspell",
504 "//third_party/iccjpeg",
505 "//third_party/libphonenumber",
506 "//third_party/ots",
507 "//third_party/qcms",
508 "//third_party/smhasher:murmurhash3",
509 "//third_party/speex",
510 "//third_party/webrtc/system_wrappers",
511 "//ui/native_theme",
512 "//ui/snapshot",
513 "//ui/surface",
514 ]
515
dprankecf8465db72014-11-10 23:51:22516 # TODO(dpranke): These are as-yet untriaged but need at least the above.
dpranke43760592014-11-08 02:59:57517 deps -= [
dprankee2ef3822015-02-24 21:42:18518 "//chrome", # TODO(GYP)
519 "//chrome/test:browser_tests", # TODO(GYP)
520 "//chrome/test:interactive_ui_tests", # TODO(GYP)
521 "//chrome/test:sync_integration_tests", # TODO(GYP)
522 "//chrome/test:unit_tests", # TODO(GYP)
dprankef6ca89c52015-03-30 22:01:38523 "//components:components_browsertests", # TODO(GYP)
dprankee2ef3822015-02-24 21:42:18524 "//components:components_unittests", # TODO(GYP)
525 "//content/test:content_browsertests", # TODO(GYP)
526 "//content/test:content_perftests", # TODO(GYP)
527 "//content/test:content_unittests", # TODO(GYP)
528 "//extensions:extensions_browsertests", # TODO(GYP)
529 "//extensions:extensions_unittests", # TODO(GYP)
530 "//net:net_unittests", # TODO(GYP)
dprankee2ef3822015-02-24 21:42:18531 "//ui/app_list:app_list_unittests", # TODO(GYP)
532 "//ui/gfx:gfx_unittests", # TODO(GYP)
dprankecf8465db72014-11-10 23:51:22533 ]
dprankefd1813272015-04-13 23:56:00534 }
535
536 if (is_win) {
537 deps += [
538 "//base:pe_image_test",
539 "//chrome_elf:chrome_elf_unittests",
540 "//chrome_elf:dll_hash_main",
541
542 # "//components/crash/tools:crash_service", TODO(GYP) - doesn't fully build yet.
543 "//components/wifi:wifi_test",
544 "//net:quic_client",
545 "//net:quic_server",
546 "//sandbox/win:pocdll",
547 "//sandbox/win:sandbox_poc",
548 "//sandbox/win:sbox_integration_tests",
549 "//sandbox/win:sbox_unittests",
550 "//sandbox/win:sbox_validation_tests",
551 "//testing/gtest:gtest_main",
552 "//third_party/codesighs:msmap2tsv",
553 "//third_party/pdfium/samples:pdfium_diff",
554 "//ui/metro_viewer",
555 ]
dprankee2ef3822015-02-24 21:42:18556 deps -= [
557 "//crypto:crypto_unittests", # TODO(GYP)
558 "//net:net_unittests", # TODO(GYP)
559 ]
dpranke6293d252015-04-14 19:12:00560 } else if (!is_android) {
561 deps += [ "//breakpad:symupload" ]
mohsenf837da7c2014-12-09 19:01:34562 }
[email protected]f0e7ff882013-12-26 21:23:09563}
brettw533c50422015-02-26 17:49:16564
dpranked62d8512015-03-02 03:06:03565group("gn_only") {
dprankedb5527d72015-03-08 04:22:47566 testonly = true
567
isherman0f89b43eb2015-04-11 00:02:45568 deps = []
569
570 if (!is_android && !is_ios) {
571 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
572 }
573
dprankedb5527d72015-03-08 04:22:47574 if (is_linux && !is_chromeos) {
575 # TODO(GYP): Figure out if any of these should be in gn_all
576 # and figure out how cross-platform they are
isherman0f89b43eb2015-04-11 00:02:45577 deps += [
dprankedb5527d72015-03-08 04:22:47578 ":gn_mojo_targets",
579 "//chrome/browser/resources:extension_resource_demo",
580 "//chrome/installer/util:strings",
581 "//chrome:main_dll",
582 "//chrome/test:load_library_perf_tests",
583 "//chrome/tools/convert_dict",
584 "//components/constrained_window:unit_tests",
585 "//components/enhanced_bookmarks:test_support",
dprankedb5527d72015-03-08 04:22:47586 "//components/metrics:serialization",
isherman0f89b43eb2015-04-11 00:02:45587 "//components/password_manager/content/renderer:browser_tests",
dprankedb5527d72015-03-08 04:22:47588 "//components/rappor:unit_tests",
589 "//components/sessions:unit_tests",
590 "//media/blink:media_blink_unittests",
591 "//media/base:base_for_cast_ios",
592 "//media/cast:udp_proxy",
593 "//native_client/src/trusted/platform_qualify:vcpuid",
594 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
595 "//storage/browser:dump_file_system",
596 "//third_party/angle:libANGLE",
597 "//third_party/angle:libEGL",
598 "//third_party/angle:libGLESv2",
599 "//third_party/cld_2:cld_2_dynamic_data_tool",
600 "//third_party/leveldatabase:leveldb_arena_test",
601 "//third_party/leveldatabase:leveldb_bloom_test",
602 "//third_party/leveldatabase:leveldb_db_test",
603 "//third_party/leveldatabase:leveldb_crc32c_test",
604 "//third_party/leveldatabase:leveldb_cache_test",
605 "//third_party/leveldatabase:leveldb_env_test",
606 "//third_party/leveldatabase:leveldb_write_batch_test",
607 "//third_party/leveldatabase:leveldb_filter_block_test",
608 "//third_party/leveldatabase:leveldb_version_edit_test",
609 "//third_party/leveldatabase:leveldb_db_bench",
610 "//third_party/leveldatabase:leveldb_log_test",
611 "//third_party/leveldatabase:leveldb_corruption_test",
612 "//third_party/leveldatabase:leveldb_table_test",
613 "//third_party/leveldatabase:leveldb_skiplist_test",
614 "//third_party/leveldatabase:leveldb_filename_test",
615 "//third_party/leveldatabase:leveldb_dbformat_test",
616 "//third_party/pdfium/third_party:freetype",
617 "//third_party/libjingle:peerconnnection_server",
618 "//third_party/libjpeg_turbo:simd",
619 "//third_party/libjpeg_turbo:simd_asm",
620 "//third_party/libsrtp:replay_driver",
621 "//third_party/libsrtp:roc_driver",
622 "//third_party/libsrtp:rtpw",
623 "//third_party/libsrtp:rdbx_driver",
624 "//third_party/libsrtp:srtp_driver",
625 "//third_party/libsrtp:srtp_driver",
626 "//third_party/libsrtp:srtp_test_kernel_driver",
627 "//third_party/libsrtp:srtp_test_cipher_driver",
628 "//third_party/libsrtp:srtp_test_datatypes_driver",
629 "//third_party/libsrtp:srtp_test_aes_calc",
630 "//third_party/libsrtp:srtp_test_env",
631 "//third_party/libsrtp:srtp_test_rand_gen",
632 "//third_party/libsrtp:srtp_test_sha1_driver",
633 "//third_party/libsrtp:srtp_test_stat_driver",
634 "//third_party/opus:opus_compare",
635 "//third_party/opus:opus_demo",
636 "//third_party/opus:test_opus_decode",
637 "//third_party/opus:test_opus_encode",
638 "//third_party/opus:test_opus_api",
639 "//third_party/opus:test_opus_padding",
640 "//third_party/webrtc/system_wrappers:field_trial_default",
641 "//third_party/webrtc/system_wrappers:metrics_default",
642 "//ui/display/types",
643 "//ui/shell_dialogs:shell_dialogs_unittests",
644 "//ui/views/examples:views_examples_exe",
dprankedb5527d72015-03-08 04:22:47645 ]
646 if (enable_nacl) {
647 deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]
648 }
649 if (use_ozone) {
650 deps += [ "//ui/ozone/demo" ]
651 }
652 if (is_android) {
653 deps += [ "//build/android/gyp/test:hello_world" ]
654 }
dpranke807f602b2015-03-17 23:20:56655
656 if (is_linux && current_toolchain == host_toolchain) {
657 deps += [ "//v8:d8" ]
658 }
dprankedb5527d72015-03-08 04:22:47659 }
660}
661
662group("gn_mojo_targets") {
663 testonly = true
664 if (is_linux && !is_chromeos) {
665 # TODO(GYP): Figure out if any of these should be in gn_all
666 # and figure out how cross-platform they are
667 deps = [
668 "//chrome/browser/ui/webui/omnibox:mojo_bindings_python",
669 "//chrome/browser/ui/webui/omnibox:mojo_bindings_dart",
670 "//content/public/common:mojo_bindings_dart",
671 "//content/public/common:mojo_bindings_python",
672 "//content/common:mojo_bindings_dart",
673 "//content/common:mojo_bindings_python",
674 "//content/test:web_ui_test_mojo_bindings_dart",
675 "//content/test:web_ui_test_mojo_bindings_python",
676 "//device/battery:mojo_bindings_python",
677 "//device/battery:mojo_bindings_dart",
678 "//device/vibration:mojo_bindings_dart",
679 "//device/vibration:mojo_bindings_python",
680 "//ipc/mojo:ipc_mojo_perftests",
681 "//ipc/mojo:client_channel_dart",
682 "//ipc/mojo:client_channel_python",
683 "//media/mojo/interfaces:interfaces_dart",
684 "//media/mojo/interfaces:interfaces_python",
685 "//media/mojo/services:cdm_service",
686 "//media/mojo:tests",
687 "//net/interfaces:interfaces_dart",
688 "//net/interfaces:interfaces_python",
689 "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests",
690 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_dart",
691 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_python",
692 "//third_party/mojo/src/mojo/public/python:packaged_application",
693 "//third_party/mojo/src/mojo/public/python:packaged_bindings",
694 "//third_party/mojo/src/mojo/public/cpp/application:test_support_standalone",
695 "//third_party/mojo_services/src/accessibility/public/interfaces:interfaces_dart",
696 "//third_party/mojo_services/src/accessibility/public/interfaces:interfaces_python",
697 "//third_party/mojo_services/src/window_manager/public/interfaces:interfaces_dart",
698 "//third_party/mojo_services/src/window_manager/public/interfaces:interfaces_python",
699 ]
700
701 if (!is_debug) {
702 deps += [
mswdb4f05ad2015-04-10 17:25:11703 "//mojo/services/html_viewer:apptests",
dprankedb5527d72015-03-08 04:22:47704 "//mojo/services/html_viewer:tests",
705 "//mojo/services/network:apptests",
706 ]
707 }
708 }
709}
710
711group("gn_visibility") {
dpranked62d8512015-03-02 03:06:03712 deps = [
dprankedb5527d72015-03-08 04:22:47713 # "//build/config/sanitizers:options_sources",
714 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
715 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
716 # "//ui/resources:repack_ui_test_mac_locale_pack",
717 # "//v8:v8_snapshot", # TODO(GYP): visibility?
718 # "//v8:postmortem-metadata", # TODO(GYP): visibility?
dpranked62d8512015-03-02 03:06:03719 ]
720}
721
brettw533c50422015-02-26 17:49:16722if (is_linux) {
723 # This group corresponds to the list of tests run on the waterfall for
724 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's
725 # here to help track GYP -> GN conversion progress.
726 group("linux_default_tests") {
727 testonly = true
728 deps = [
brettw533c50422015-02-26 17:49:16729 # components_browsertests TODO(GYP)
brettw533c50422015-02-26 17:49:16730
731 "//base:base_unittests", # PASSES (*) 2/25/2015
732 "//cc:cc_unittests", # PASSES 2/25/2015
733 "//chrome/test:browser_tests",
734 "//chrome/test:interactive_ui_tests",
brettw922d3aa2015-02-27 22:15:46735 "//chrome/test:sync_integration_tests", # Crashes for brettw in GN and GYP.
brettw533c50422015-02-26 17:49:16736 "//chrome/test:unit_tests", # PASSES 2/25/2015
brettw922d3aa2015-02-27 22:15:46737 "//chrome/test/chromedriver:chromedriver_unittests", # PASSES 2/25/2015
brettw77b58722015-02-27 23:35:06738 "//components:components_unittests", # PASSES 2/27/2015
brettw533c50422015-02-26 17:49:16739 "//content/test:content_browsertests",
740 "//content/test:content_unittests", # PASSES 2/25/2015
741 "//crypto:crypto_unittests", # PASSES 2/25/2015
742 "//dbus:dbus_unittests", # PASSES 2/25/2015
tfarina466754f2015-03-09 23:39:29743 "//device:device_unittests", # PASSES 3/07/2015
brettw533c50422015-02-26 17:49:16744 "//extensions:extensions_browsertests", # PASSES 2/25/2015
745 "//extensions:extensions_unittests", # PASSES 2/25/2015
746 "//extensions/shell:app_shell_unittests", # PASSES 2/25/2015
747 "//google_apis/gcm:gcm_unit_tests", # PASSES 2/25/2015
748 "//google_apis:google_apis_unittests", # PASSES 2/25/2015
749 "//gpu:gpu_unittests", # PASSES 2/25/2015
750 "//ipc:ipc_tests", # PASSES 2/25/2015
751 "//ipc/mojo:ipc_mojo_unittests", # PASSES 2/25/2015
752 "//jingle:jingle_unittests", # PASSES 2/25/2015
753 "//media/cast:cast_unittests", # PASSES 2/25/2015
agoode21dbd122015-03-05 02:40:50754 "//media:media_unittests", # PASSES 3/3/2015
brettw533c50422015-02-26 17:49:16755 "//mojo/common:mojo_common_unittests", # PASSES 2/25/2015
756 "//net:net_unittests", # PASSES 2/25/2015
brettw31f4de692015-03-04 17:24:45757 "//ppapi:ppapi_unittests", # PASSES 2/26/2015
brettw533c50422015-02-26 17:49:16758 "//printing:printing_unittests", # PASSES 2/25/2015
brettw31f4de692015-03-04 17:24:45759 "//remoting:remoting_unittests", # Some crashes.
brettw533c50422015-02-26 17:49:16760 "//sandbox/linux:sandbox_linux_unittests", # PASSES 2/25/2015
761 "//skia:skia_unittests", # PASSES 2/25/2015
762 "//sql:sql_unittests", # PASSES 2/25/2015
763 "//sync:sync_unit_tests", # PASSES 2/25/2015
764 "//third_party/cacheinvalidation:cacheinvalidation_unittests", # PASSES 2/25/2015
765 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", # PASSES 2/25/2015
766 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", # PASSES 2/25/2015
767 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", # PASSES 2/25/2015
768 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", # PASSES 2/25/2015
769 "//ui/accessibility:accessibility_unittests", # PASSES 2/25/2015
770 "//ui/app_list:app_list_unittests", # PASSES 2/25/2015
771 "//ui/aura:aura_unittests", # PASSES 2/25/2015
772 "//ui/base:ui_base_unittests", # TODO(GYP) ResourceBundleTest.* fails.
773 "//ui/compositor:compositor_unittests", # PASSES 2/25/2015
774 "//ui/display:display_unittests", # PASSES 2/25/2015
775 "//ui/events:events_unittests", # PASSES 2/25/2015
776 "//ui/gfx:gfx_unittests", # PASSES 2/25/2015
777 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 2/25/2015
778 "//ui/views:views_unittests", # PASSES (*) 2/25/2015
779 "//ui/wm:wm_unittests", # PASSES 2/25/2015
780 "//url:url_unittests", # PASSES 2/25/2015
781
782 # Note:
783 # (*) Fails but failures match GYP build at time of testing.
784 ]
tfarina47830e342015-03-30 23:02:11785
786 if (enable_nacl) {
787 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015
788 }
brettw533c50422015-02-26 17:49:16789 }
790}