blob: fb7040c31fd4d275a571ee983bf89a46284dc5eb [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
rockot2f1326e2015-02-23 23:53:5111import("//build/config/features.gni")
[email protected]378b4f02014-06-10 15:58:4512import("//build/config/ui.gni")
dprankee2ef3822015-02-24 21:42:1813
cjhopmanca675d3e2014-10-24 03:50:4514if (is_android) {
15 import("//build/config/android/config.gni")
16}
[email protected]378b4f02014-06-10 15:58:4517
brettwb84b29472014-10-22 22:58:4518declare_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 = []
23}
24
dpranked62d8512015-03-02 03:06:0325# 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.
29#
30# In addition, the "gn_all" target serves to pull in all of the other
31# build files needed for the build.
32#
33# TODO(GYP): make sure that the above is true and there are scripts run
34# on the bots that enforce this.
dprankeff30e3d2015-02-24 06:52:3935
dprankee2ef3822015-02-24 21:42:1836group("gn_all") {
37 testonly = true
38
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",
brettw922d3aa2015-02-27 22:15:4647 "//chrome/test/chromedriver:chromedriver_unittests",
dprankee2ef3822015-02-24 21:42:1848 "//components:components_unittests",
dprankec09ccaa2015-03-27 22:00:3849 "//components/policy:policy_templates",
dprankee2ef3822015-02-24 21:42:1850 "//content/shell:content_shell",
51 "//content/test:content_browsertests",
52 "//content/test:content_perftests",
53 "//content/test:content_unittests",
54 "//crypto:crypto_unittests",
55 "//extensions:extensions_browsertests",
56 "//extensions:extensions_unittests",
57 "//google_apis/gcm:gcm_unit_tests",
58 "//gpu:gpu_unittests",
59 "//ipc:ipc_tests",
60 "//ipc/mojo:ipc_mojo_unittests",
61 "//jingle:jingle_unittests",
62 "//media:media_unittests",
dprankee2ef3822015-02-24 21:42:1863 "//media/cast:cast_unittests",
64 "//mojo",
dprankec09ccaa2015-03-27 22:00:3865 "//mojo/application",
dprankee2ef3822015-02-24 21:42:1866 "//mojo/common:mojo_common_unittests",
rockot9c67e5f2015-03-12 20:01:2167 "//net:hpack_example_generator",
68 "//net:hpack_fuzz_mutator",
69 "//net:hpack_fuzz_wrapper",
70 "//net:net_perftests",
dprankee2ef3822015-02-24 21:42:1871 "//net:net_unittests",
brettw31f4de692015-03-04 17:24:4572 "//ppapi:ppapi_unittests",
dprankee2ef3822015-02-24 21:42:1873 "//ppapi/examples", # TODO(GYP): What's the GYP equivalent?
74 "//printing:printing_unittests",
75 "//skia:skia_unittests",
76 "//sql:sql_unittests",
77 "//sync:sync_unit_tests",
dpranked62d8512015-03-02 03:06:0378 "//third_party/WebKit/public:blink_tests",
dprankee2ef3822015-02-24 21:42:1879 "//third_party/cacheinvalidation:cacheinvalidation_unittests",
dprankee2ef3822015-02-24 21:42:1880 "//third_party/codesighs",
dprankee2ef3822015-02-24 21:42:1881 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
82 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
83 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
84 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
85 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
86 "//third_party/pdfium/samples:pdfium_test",
dprankee2ef3822015-02-24 21:42:1887 "//third_party/smhasher:pmurhash",
dprankee2ef3822015-02-24 21:42:1888 "//tools/imagediff($host_toolchain)",
89 "//tools/gn",
90 "//tools/gn:gn_unittests",
91 "//tools/telemetry:bitmaptools($host_toolchain)",
92 "//ui/accessibility:accessibility_unittests",
93 "//ui/app_list:app_list_unittests",
94 "//ui/base:ui_base_unittests",
95 "//ui/display:display_unittests",
96 "//ui/events:events_unittests",
97 "//ui/gfx:gfx_unittests",
98 "//ui/touch_selection:ui_touch_selection_unittests",
99 "//url:url_unittests",
100 ]
101
scottmg34fb7e52014-12-03 23:27:24102 deps += root_extra_deps
[email protected]fce5c3fe2014-04-10 21:13:05103
dpranke021d4c92015-02-24 02:08:25104 # TODO(GYP): Get this working on the mac?
105 if (enable_extensions && !is_mac) {
rockot2f1326e2015-02-23 23:53:51106 deps += [ "//extensions/shell:app_shell_unittests" ]
107 }
108
jbudorick3faa1e0d2015-03-04 22:08:33109 if (!is_android) {
110 deps += [ "//remoting:remoting_unittests" ]
111 }
112
[email protected]6fa82cc2014-06-18 20:33:07113 if (!is_win) {
[email protected]f8d55d32014-06-19 20:02:29114 deps += [ "//breakpad:symupload" ]
[email protected]6fa82cc2014-06-18 20:33:07115 }
116
[email protected]6b9028ab2014-07-23 17:15:38117 if (use_x11) {
118 deps += [ "//tools/xdisplaycheck" ]
119 }
120
dprankee2ef3822015-02-24 21:42:18121 if (toolkit_views) {
122 deps += [ "//ui/views:views_unittests" ]
James Robinson060f2e32014-09-10 22:31:37123 }
124
dprankee2ef3822015-02-24 21:42:18125 if (use_aura) {
126 deps += [ "//ui/wm:wm_unittests" ]
127 }
128
129 if (use_ozone) {
dprankedb5527d72015-03-08 04:22:47130 deps += [ "//ui/ozone" ]
[email protected]a306aaa2014-05-24 13:21:50131 }
132
kmarshalld2f3bea2015-03-11 23:42:22133 if (enable_media_router) {
134 deps += [
135 "//chrome/browser/media/router/",
136 "//chrome/browser/media/router:unit_tests",
137 ]
138 }
139
[email protected]2d6893a2014-06-02 19:16:36140 if (is_win || is_mac || is_chromeos) {
141 # RLZ works on these platforms.
dprankee2ef3822015-02-24 21:42:18142 # TODO(GYP): Is this target needed, or pulled in automatically?
scottmg34fb7e52014-12-03 23:27:24143 deps += [ "//rlz:rlz_lib" ]
[email protected]2d6893a2014-06-02 19:16:36144 }
145
[email protected]5a8d5162014-04-12 01:19:16146 if (is_android) {
[email protected]26046b52014-07-16 00:11:03147 deps += [
cjhopman31511332014-10-23 01:05:02148 "//base/android/linker:chromium_android_linker",
cjhopman3d85c6d2014-11-18 03:39:38149 "//build/android/gyp/test:hello_world",
cjhopman31511332014-10-23 01:05:02150 "//build/android/rezip",
hiroshigee6d374c2015-02-24 07:54:06151 "//chrome/android:chrome_shell_apk",
hiroshigee6d374c2015-02-24 07:54:06152 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
dprankee2ef3822015-02-24 21:42:18153 "//tools/imagediff($host_toolchain)",
154
155 # TODO(GYP): Remove these when the components_unittests work.
156 "//components/history/core/test:test",
157 "//components/policy:policy_component_test_support",
158 "//components/policy:test_support",
159 "//components/rappor:test_support",
160 "//components/signin/core/browser:test_support",
161 "//components/sync_driver:test_support",
162 "//components/user_manager",
163 "//components/wallpaper",
164 "//content/shell/android:content_shell_apk",
165
166 # TODO(GYP): Are these needed, or will they be pulled in automatically?
[email protected]684b2292014-08-22 19:12:39167 "//third_party/android_tools:android_gcm_java",
168 "//third_party/android_tools:uiautomator_java",
169 "//third_party/android_tools:android_support_v13_java",
170 "//third_party/android_tools:android_support_v7_appcompat_java",
171 "//third_party/android_tools:android_support_v7_mediarouter_java",
dprankee2ef3822015-02-24 21:42:18172 "//third_party/mesa",
mikecase85e83ed2014-12-08 19:18:29173 "//third_party/mockito:mockito_java",
dprankee2ef3822015-02-24 21:42:18174 "//third_party/openmax_dl/dl",
175 "//third_party/speex",
176 "//ui/android:ui_java",
177
178 # TODO(GYP): Are these needed?
179 "//chrome/test:test_support_unit",
180 "//third_party/smhasher:murmurhash3",
181 "//ui/message_center:test_support",
182 ]
183 deps -= [
184 "//breakpad:symupload", # TODO(GYP) ??
185 "//chrome", # TODO(GYP) ??
186 "//chrome/test:browser_tests", # TODO(GYP) ??
187 "//chrome/test:interactive_ui_tests", # TODO(GYP) ??
188 "//chrome/test:sync_integration_tests", # TODO(GYP) ??
189 "//chrome/test:unit_tests", # TODO(GYP)
brettw922d3aa2015-02-27 22:15:46190
191 # Chromedriver shouldn't be compiled on Android.
192 "//chrome/test/chromedriver:chromedriver_unittests",
dprankee2ef3822015-02-24 21:42:18193 "//extensions:extensions_browsertests",
194 "//extensions:extensions_unittests",
195 "//google_apis/gcm:gcm_unit_tests",
196 "//ipc:ipc_tests", # TODO(GYP) ??
197 "//jingle:jingle_unittests", # TODO(GYP) ??
rockot9c67e5f2015-03-12 20:01:21198 "//net:hpack_example_generator",
199 "//net:hpack_fuzz_mutator",
200 "//net:hpack_fuzz_wrapper",
201 "//net:net_perftests",
dprankee2ef3822015-02-24 21:42:18202 "//net:net_unittests",
203 "//ppapi/examples",
204 "//third_party/pdfium/samples:pdfium_test",
205 "//tools/gn",
206 "//tools/gn:gn_unittests",
207 "//ui/app_list:app_list_unittests",
208 "//url:url_unittests",
[email protected]26046b52014-07-16 00:11:03209 ]
210
cjhopmanca675d3e2014-10-24 03:50:45211 if (has_chrome_android_internal) {
dprankee2ef3822015-02-24 21:42:18212 deps += [ "//clank" ] # TODO(GYP) ??
cjhopmanca675d3e2014-10-24 03:50:45213 }
dprankedb5527d72015-03-08 04:22:47214 }
215
216 if (is_linux) {
217 # The following are definitely linux-only.
hiroshigee6d374c2015-02-24 07:54:06218 deps += [
dprankedb5527d72015-03-08 04:22:47219 "//breakpad:breakpad_unittests",
dprankedb5527d72015-03-08 04:22:47220 "//breakpad:generate_test_dump",
dprankedb5527d72015-03-08 04:22:47221 "//dbus:dbus_test_server",
dprankee2ef3822015-02-24 21:42:18222 "//dbus:dbus_unittests",
dprankedb5527d72015-03-08 04:22:47223 "//net:disk_cache_memory_test",
224 "//net:flip_in_mem_edsm_server",
225 "//net:flip_in_mem_edsm_server_unittests",
226 "//net:quic_client",
227 "//net:quic_server",
228 "//sandbox/linux:chrome_sandbox",
dprankee2ef3822015-02-24 21:42:18229 "//sandbox/linux:sandbox_linux_unittests",
dprankedb5527d72015-03-08 04:22:47230 "//sandbox/linux:sandbox_linux_jni_unittests",
hiroshigee6d374c2015-02-24 07:54:06231 ]
dnicoara8c6aa8e2015-03-11 23:20:32232
233 if (is_chromeos || use_ash) {
234 deps += [ "//components/session_manager/core" ]
235 }
dprankedb5527d72015-03-08 04:22:47236 }
237
238 if (is_linux && !is_chromeos) {
tfarina9e7cf702015-02-23 21:13:44239 deps += [
dprankedb5527d72015-03-08 04:22:47240 # TODO(GYP): Figure out which of these should (and can) build
241 # under which other conditions.
242 "//base:base_perftests",
243 "//base:base_i18n_perftests",
244 "//base:check_example",
245 "//base:protect_file_posix",
246 "//base:build_utf8_validator_tables",
247 "//breakpad:core-2-minidump",
benchan80ffc542015-03-10 20:33:03248 "//breakpad:minidump-2-core",
dprankedb5527d72015-03-08 04:22:47249 "//build/sanitizers:copy_llvm_symbolizer",
250 "//cc/blink:cc_blink_unittests",
251 "//cc:cc_perftests",
252 "//chrome/test:chrome_app_unittests",
253 "//chrome/test:load_library_perf_tests",
254 "//chrome/test:sync_performance_tests",
255 "//chrome/test/chromedriver:chromedriver",
256 "//chrome/test/chromedriver:chromedriver_tests",
257 "//chrome/tools/profile_reset:jtl_compiler",
258 "//components:components_perftests",
259 "//components/network_hints/browser",
dprankedb5527d72015-03-08 04:22:47260 "//components/webui_generator",
261 "//content/public/app:browser",
262 "//content/public/app:child",
263 "//content/test:content_gl_tests",
264 "//content/test:content_gl_benchmark",
265 "//courgette:courgette",
266 "//courgette:courgette_fuzz",
267 "//courgette:courgette_minimal_tool",
268 "//courgette:courgette_unittests",
269 "//device:device_unittests",
270 "//gin:gin_shell",
271 "//gin:gin_v8_snapshot_fingerprint",
272 "//gin:gin_unittests",
273 "//google_apis:google_apis_unittests",
274 "//google_apis/gcm:mcs_probe",
275 "//gpu:angle_unittests",
276 "//gpu:gl_tests",
277
278 # TODO(GYP): Remove this when the gles2 tests work
279 "//gpu/command_buffer/client:gles2_implementation_no_check",
280
281 "//gpu:gpu_perftests",
282 "//ipc:ipc_perftests",
283 "//media:ffmpeg_regression_tests", # TODO(GYP) this should be conditional on media_use_ffmpeg
284 "//media:media_perftests",
285 "//media/cast:cast_benchmarks",
286 "//media/cast:generate_barcode_video",
287 "//media/cast:generate_timecode_audio",
288 "//media/cast:tap_proxy",
289 "//mojo/application",
290 "//net:crash_cache",
291 "//net:crl_set_dump",
292 "//net:dns_fuzz_stub",
293 "//net:gdig",
294 "//net:get_server_time",
dprankedb5527d72015-03-08 04:22:47295 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in_net
296 "//net:stress_cache",
297 "//net:tld_cleanup",
298 "//net:run_testserver",
299 "//net:dump_cache",
dprankec09ccaa2015-03-27 22:00:38300 "//ppapi:pepper_hash_for_uma",
dprankedb5527d72015-03-08 04:22:47301 "//ppapi:ppapi_perftests", # TODO(GYP): Are there other ppapi_* test targets?
302 "//skia:filter_fuzz_stub",
303 "//skia:image_operations_bench",
304 "//sync:run_sync_testserver",
305 "//sync:sync_endtoend_tests",
306 "//sync/tools:sync_client",
307 "//sync/tools:sync_listen_notifications",
308 "//testing/gmock:gmock_main",
309 "//third_party/codesighs:maptsvdifftool",
310 "//third_party/libphonenumber:libphonenumber_unittests",
311 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
312 "//tools/gn:generate_test_gn_data",
313 "//tools/perf/clear_system_cache",
314 "//ui/keyboard:keyboard_unittests",
315 "//ui/message_center:message_center_unittests",
316 "//ui/snapshot:snapshot_unittests",
317 "//ui/views/examples:views_examples_with_content_exe",
318
319 # "//v8:v8_snapshot", # TODO(GYP): visibility?
320 # "//v8:postmortem-metadata", # TODO(GYP): visibility?
321
322 "//third_party/codesighs:nm2tsv",
323 "//third_party/leveldatabase:env_chromium_unittests",
324 "//third_party/libaddressinput:libaddressinput_unittests",
325 "//third_party/sqlite:sqlite_shell",
326 "//ui/compositor:compositor_unittests",
327 ]
328
dpranke807f602b2015-03-17 23:20:56329 if (current_toolchain == host_toolchain) {
330 # Do not build the breakpad utilities in cross-compiles.
331 deps += [
332 "//breakpad:dump_syms",
333 "//breakpad:microdump_stackwalk",
334 "//breakpad:minidump_dump",
335 "//breakpad:minidump_stackwalk",
336 ]
337 }
338
dprankedb5527d72015-03-08 04:22:47339 if (enable_extensions) {
340 deps += [ "//extensions/shell:app_shell" ]
341 }
342
343 if (enable_nacl) {
344 deps += [ "//components/nacl:nacl_loader_unittests" ]
345 }
346
347 if (!is_debug && !is_component_build) {
348 deps += [ "//chrome/tools/service_discovery_sniffer" ]
349 }
350
351 if (toolkit_views) {
352 deps += [ "//ui/app_list:app_list_demo" ]
353 }
354
355 if (use_ash) {
356 deps += [
357 "//ash:ash_shell",
358 "//ash:ash_shell_unittests",
359 "//ash:ash_unittests",
360 ]
361 }
362
363 if (use_aura) {
364 deps += [
365 "//ui/aura:aura_unittests",
366 "//ui/aura:bench",
367 "//ui/aura:demo",
368 ]
369 }
370
371 if (use_x11) {
372 deps += [ "//media:player_x11" ]
wtc6e2e29c2015-03-13 01:09:44373 if (target_cpu != "arm") {
tfarina8944e6f2015-03-25 20:06:59374 deps += [ "//gpu/tools/compositor_model_bench" ]
wtc6e2e29c2015-03-13 01:09:44375 }
dprankedb5527d72015-03-08 04:22:47376 }
377 }
378
379 if (is_mac) {
380 deps += [
381 "//breakpad:crash_inspector",
382 "//breakpad:dump_syms",
383 "//breakpad:symupload",
tfarina9e7cf702015-02-23 21:13:44384 "//third_party/apple_sample_code",
385 "//third_party/molokocacao",
386 ]
387
dprankee2ef3822015-02-24 21:42:18388 # TODO(GYP): Remove these when the targets below work and these
389 # are pulled in automatically.
390 deps += [
391 "//cc/blink",
392 "//components/ui/zoom:ui_zoom",
393 "//content",
394 "//content/test:test_support",
395 "//device/battery",
396 "//device/bluetooth",
397 "//device/nfc",
398 "//device/usb",
399 "//device/vibration",
400 "//media/blink",
401 "//pdf",
402 "//storage/browser",
403 "//third_party/brotli",
404 "//third_party/flac",
405 "//third_party/hunspell",
406 "//third_party/iccjpeg",
407 "//third_party/libphonenumber",
408 "//third_party/ots",
409 "//third_party/qcms",
410 "//third_party/smhasher:murmurhash3",
411 "//third_party/speex",
412 "//third_party/webrtc/system_wrappers",
413 "//ui/native_theme",
414 "//ui/snapshot",
415 "//ui/surface",
416 ]
417
dprankecf8465db72014-11-10 23:51:22418 # TODO(dpranke): These are as-yet untriaged but need at least the above.
dpranke43760592014-11-08 02:59:57419 deps -= [
dprankee2ef3822015-02-24 21:42:18420 "//chrome", # TODO(GYP)
421 "//chrome/test:browser_tests", # TODO(GYP)
422 "//chrome/test:interactive_ui_tests", # TODO(GYP)
423 "//chrome/test:sync_integration_tests", # TODO(GYP)
424 "//chrome/test:unit_tests", # TODO(GYP)
425 "//components:components_unittests", # TODO(GYP)
426 "//content/test:content_browsertests", # TODO(GYP)
427 "//content/test:content_perftests", # TODO(GYP)
428 "//content/test:content_unittests", # TODO(GYP)
429 "//extensions:extensions_browsertests", # TODO(GYP)
430 "//extensions:extensions_unittests", # TODO(GYP)
431 "//net:net_unittests", # TODO(GYP)
dprankee2ef3822015-02-24 21:42:18432 "//ui/app_list:app_list_unittests", # TODO(GYP)
433 "//ui/gfx:gfx_unittests", # TODO(GYP)
dprankecf8465db72014-11-10 23:51:22434 ]
dprankee2ef3822015-02-24 21:42:18435 } else if (is_win) {
436 deps += [ "//ui/metro_viewer" ]
437 deps -= [
438 "//crypto:crypto_unittests", # TODO(GYP)
439 "//net:net_unittests", # TODO(GYP)
440 ]
mohsenf837da7c2014-12-09 19:01:34441 }
[email protected]f0e7ff882013-12-26 21:23:09442}
brettw533c50422015-02-26 17:49:16443
dpranked62d8512015-03-02 03:06:03444group("gn_only") {
dprankedb5527d72015-03-08 04:22:47445 testonly = true
446
447 if (is_linux && !is_chromeos) {
448 # TODO(GYP): Figure out if any of these should be in gn_all
449 # and figure out how cross-platform they are
450 deps = [
451 ":gn_mojo_targets",
452 "//chrome/browser/resources:extension_resource_demo",
453 "//chrome/installer/util:strings",
454 "//chrome:main_dll",
455 "//chrome/test:load_library_perf_tests",
456 "//chrome/tools/convert_dict",
457 "//components/constrained_window:unit_tests",
458 "//components/enhanced_bookmarks:test_support",
459 "//components/password_manager/content/renderer:browser_tests",
460 "//components/metrics:serialization",
461 "//components/proximity_auth:proximity_auth_unittests",
462 "//components/rappor:unit_tests",
463 "//components/sessions:unit_tests",
464 "//media/blink:media_blink_unittests",
465 "//media/base:base_for_cast_ios",
466 "//media/cast:udp_proxy",
467 "//native_client/src/trusted/platform_qualify:vcpuid",
468 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
469 "//storage/browser:dump_file_system",
470 "//third_party/angle:libANGLE",
471 "//third_party/angle:libEGL",
472 "//third_party/angle:libGLESv2",
473 "//third_party/cld_2:cld_2_dynamic_data_tool",
474 "//third_party/leveldatabase:leveldb_arena_test",
475 "//third_party/leveldatabase:leveldb_bloom_test",
476 "//third_party/leveldatabase:leveldb_db_test",
477 "//third_party/leveldatabase:leveldb_crc32c_test",
478 "//third_party/leveldatabase:leveldb_cache_test",
479 "//third_party/leveldatabase:leveldb_env_test",
480 "//third_party/leveldatabase:leveldb_write_batch_test",
481 "//third_party/leveldatabase:leveldb_filter_block_test",
482 "//third_party/leveldatabase:leveldb_version_edit_test",
483 "//third_party/leveldatabase:leveldb_db_bench",
484 "//third_party/leveldatabase:leveldb_log_test",
485 "//third_party/leveldatabase:leveldb_corruption_test",
486 "//third_party/leveldatabase:leveldb_table_test",
487 "//third_party/leveldatabase:leveldb_skiplist_test",
488 "//third_party/leveldatabase:leveldb_filename_test",
489 "//third_party/leveldatabase:leveldb_dbformat_test",
490 "//third_party/pdfium/third_party:freetype",
491 "//third_party/libjingle:peerconnnection_server",
492 "//third_party/libjpeg_turbo:simd",
493 "//third_party/libjpeg_turbo:simd_asm",
494 "//third_party/libsrtp:replay_driver",
495 "//third_party/libsrtp:roc_driver",
496 "//third_party/libsrtp:rtpw",
497 "//third_party/libsrtp:rdbx_driver",
498 "//third_party/libsrtp:srtp_driver",
499 "//third_party/libsrtp:srtp_driver",
500 "//third_party/libsrtp:srtp_test_kernel_driver",
501 "//third_party/libsrtp:srtp_test_cipher_driver",
502 "//third_party/libsrtp:srtp_test_datatypes_driver",
503 "//third_party/libsrtp:srtp_test_aes_calc",
504 "//third_party/libsrtp:srtp_test_env",
505 "//third_party/libsrtp:srtp_test_rand_gen",
506 "//third_party/libsrtp:srtp_test_sha1_driver",
507 "//third_party/libsrtp:srtp_test_stat_driver",
508 "//third_party/opus:opus_compare",
509 "//third_party/opus:opus_demo",
510 "//third_party/opus:test_opus_decode",
511 "//third_party/opus:test_opus_encode",
512 "//third_party/opus:test_opus_api",
513 "//third_party/opus:test_opus_padding",
514 "//third_party/webrtc/system_wrappers:field_trial_default",
515 "//third_party/webrtc/system_wrappers:metrics_default",
516 "//ui/display/types",
517 "//ui/shell_dialogs:shell_dialogs_unittests",
518 "//ui/views/examples:views_examples_exe",
dprankedb5527d72015-03-08 04:22:47519 ]
520 if (enable_nacl) {
521 deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]
522 }
523 if (use_ozone) {
524 deps += [ "//ui/ozone/demo" ]
525 }
526 if (is_android) {
527 deps += [ "//build/android/gyp/test:hello_world" ]
528 }
dpranke807f602b2015-03-17 23:20:56529
530 if (is_linux && current_toolchain == host_toolchain) {
531 deps += [ "//v8:d8" ]
532 }
dprankedb5527d72015-03-08 04:22:47533 }
534}
535
536group("gn_mojo_targets") {
537 testonly = true
538 if (is_linux && !is_chromeos) {
539 # TODO(GYP): Figure out if any of these should be in gn_all
540 # and figure out how cross-platform they are
541 deps = [
542 "//chrome/browser/ui/webui/omnibox:mojo_bindings_python",
543 "//chrome/browser/ui/webui/omnibox:mojo_bindings_dart",
544 "//content/public/common:mojo_bindings_dart",
545 "//content/public/common:mojo_bindings_python",
546 "//content/common:mojo_bindings_dart",
547 "//content/common:mojo_bindings_python",
548 "//content/test:web_ui_test_mojo_bindings_dart",
549 "//content/test:web_ui_test_mojo_bindings_python",
550 "//device/battery:mojo_bindings_python",
551 "//device/battery:mojo_bindings_dart",
552 "//device/vibration:mojo_bindings_dart",
553 "//device/vibration:mojo_bindings_python",
554 "//ipc/mojo:ipc_mojo_perftests",
555 "//ipc/mojo:client_channel_dart",
556 "//ipc/mojo:client_channel_python",
557 "//media/mojo/interfaces:interfaces_dart",
558 "//media/mojo/interfaces:interfaces_python",
559 "//media/mojo/services:cdm_service",
560 "//media/mojo:tests",
561 "//net/interfaces:interfaces_dart",
562 "//net/interfaces:interfaces_python",
563 "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests",
564 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_dart",
565 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_python",
566 "//third_party/mojo/src/mojo/public/python:packaged_application",
567 "//third_party/mojo/src/mojo/public/python:packaged_bindings",
568 "//third_party/mojo/src/mojo/public/cpp/application:test_support_standalone",
569 "//third_party/mojo_services/src/accessibility/public/interfaces:interfaces_dart",
570 "//third_party/mojo_services/src/accessibility/public/interfaces:interfaces_python",
571 "//third_party/mojo_services/src/window_manager/public/interfaces:interfaces_dart",
572 "//third_party/mojo_services/src/window_manager/public/interfaces:interfaces_python",
573 ]
574
575 if (!is_debug) {
576 deps += [
577 "//mojo/services/html_viewer:tests",
578 "//mojo/services/network:apptests",
579 ]
580 }
581 }
582}
583
584group("gn_visibility") {
dpranked62d8512015-03-02 03:06:03585 deps = [
dprankedb5527d72015-03-08 04:22:47586 # "//build/config/sanitizers:options_sources",
587 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
588 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
589 # "//ui/resources:repack_ui_test_mac_locale_pack",
590 # "//v8:v8_snapshot", # TODO(GYP): visibility?
591 # "//v8:postmortem-metadata", # TODO(GYP): visibility?
dpranked62d8512015-03-02 03:06:03592 ]
593}
594
brettw533c50422015-02-26 17:49:16595if (is_linux) {
596 # This group corresponds to the list of tests run on the waterfall for
597 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's
598 # here to help track GYP -> GN conversion progress.
599 group("linux_default_tests") {
600 testonly = true
601 deps = [
brettw533c50422015-02-26 17:49:16602 # components_browsertests TODO(GYP)
brettw533c50422015-02-26 17:49:16603 # nacl_loader_unittests TODO(GYP)
brettw533c50422015-02-26 17:49:16604
605 "//base:base_unittests", # PASSES (*) 2/25/2015
606 "//cc:cc_unittests", # PASSES 2/25/2015
607 "//chrome/test:browser_tests",
608 "//chrome/test:interactive_ui_tests",
brettw922d3aa2015-02-27 22:15:46609 "//chrome/test:sync_integration_tests", # Crashes for brettw in GN and GYP.
brettw533c50422015-02-26 17:49:16610 "//chrome/test:unit_tests", # PASSES 2/25/2015
brettw922d3aa2015-02-27 22:15:46611 "//chrome/test/chromedriver:chromedriver_unittests", # PASSES 2/25/2015
brettw77b58722015-02-27 23:35:06612 "//components:components_unittests", # PASSES 2/27/2015
brettw533c50422015-02-26 17:49:16613 "//content/test:content_browsertests",
614 "//content/test:content_unittests", # PASSES 2/25/2015
615 "//crypto:crypto_unittests", # PASSES 2/25/2015
616 "//dbus:dbus_unittests", # PASSES 2/25/2015
tfarina466754f2015-03-09 23:39:29617 "//device:device_unittests", # PASSES 3/07/2015
brettw533c50422015-02-26 17:49:16618 "//extensions:extensions_browsertests", # PASSES 2/25/2015
619 "//extensions:extensions_unittests", # PASSES 2/25/2015
620 "//extensions/shell:app_shell_unittests", # PASSES 2/25/2015
621 "//google_apis/gcm:gcm_unit_tests", # PASSES 2/25/2015
622 "//google_apis:google_apis_unittests", # PASSES 2/25/2015
623 "//gpu:gpu_unittests", # PASSES 2/25/2015
624 "//ipc:ipc_tests", # PASSES 2/25/2015
625 "//ipc/mojo:ipc_mojo_unittests", # PASSES 2/25/2015
626 "//jingle:jingle_unittests", # PASSES 2/25/2015
627 "//media/cast:cast_unittests", # PASSES 2/25/2015
agoode21dbd122015-03-05 02:40:50628 "//media:media_unittests", # PASSES 3/3/2015
brettw533c50422015-02-26 17:49:16629 "//mojo/common:mojo_common_unittests", # PASSES 2/25/2015
630 "//net:net_unittests", # PASSES 2/25/2015
brettw31f4de692015-03-04 17:24:45631 "//ppapi:ppapi_unittests", # PASSES 2/26/2015
brettw533c50422015-02-26 17:49:16632 "//printing:printing_unittests", # PASSES 2/25/2015
brettw31f4de692015-03-04 17:24:45633 "//remoting:remoting_unittests", # Some crashes.
brettw533c50422015-02-26 17:49:16634 "//sandbox/linux:sandbox_linux_unittests", # PASSES 2/25/2015
635 "//skia:skia_unittests", # PASSES 2/25/2015
636 "//sql:sql_unittests", # PASSES 2/25/2015
637 "//sync:sync_unit_tests", # PASSES 2/25/2015
638 "//third_party/cacheinvalidation:cacheinvalidation_unittests", # PASSES 2/25/2015
639 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", # PASSES 2/25/2015
640 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", # PASSES 2/25/2015
641 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", # PASSES 2/25/2015
642 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", # PASSES 2/25/2015
643 "//ui/accessibility:accessibility_unittests", # PASSES 2/25/2015
644 "//ui/app_list:app_list_unittests", # PASSES 2/25/2015
645 "//ui/aura:aura_unittests", # PASSES 2/25/2015
646 "//ui/base:ui_base_unittests", # TODO(GYP) ResourceBundleTest.* fails.
647 "//ui/compositor:compositor_unittests", # PASSES 2/25/2015
648 "//ui/display:display_unittests", # PASSES 2/25/2015
649 "//ui/events:events_unittests", # PASSES 2/25/2015
650 "//ui/gfx:gfx_unittests", # PASSES 2/25/2015
651 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 2/25/2015
652 "//ui/views:views_unittests", # PASSES (*) 2/25/2015
653 "//ui/wm:wm_unittests", # PASSES 2/25/2015
654 "//url:url_unittests", # PASSES 2/25/2015
655
656 # Note:
657 # (*) Fails but failures match GYP build at time of testing.
658 ]
659 }
660}