OLD | NEW |
---|---|
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This is the root build file for GN. GN will start processing by loading this | 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 | 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 | 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 | 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. | 9 # file to your new one or GN won't know about it. |
10 | 10 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
114 | 114 |
115 if (toolkit_views) { | 115 if (toolkit_views) { |
116 deps += [ "//ui/views:views_unittests" ] | 116 deps += [ "//ui/views:views_unittests" ] |
117 } | 117 } |
118 | 118 |
119 if (use_aura) { | 119 if (use_aura) { |
120 deps += [ "//ui/wm:wm_unittests" ] | 120 deps += [ "//ui/wm:wm_unittests" ] |
121 } | 121 } |
122 | 122 |
123 if (use_ozone) { | 123 if (use_ozone) { |
124 deps += [ | 124 deps += [ "//ui/ozone" ] |
125 "//ui/ozone", | |
126 "//ui/ozone/demo", # GN only | |
127 ] | |
128 } | 125 } |
129 | 126 |
130 if (is_win || is_mac || is_chromeos) { | 127 if (is_win || is_mac || is_chromeos) { |
131 # RLZ works on these platforms. | 128 # RLZ works on these platforms. |
132 # TODO(GYP): Is this target needed, or pulled in automatically? | 129 # TODO(GYP): Is this target needed, or pulled in automatically? |
133 deps += [ "//rlz:rlz_lib" ] | 130 deps += [ "//rlz:rlz_lib" ] |
134 } | 131 } |
135 | 132 |
136 if (is_android) { | 133 if (is_android) { |
137 deps += [ | 134 deps += [ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
190 "//third_party/pdfium/samples:pdfium_test", | 187 "//third_party/pdfium/samples:pdfium_test", |
191 "//tools/gn", | 188 "//tools/gn", |
192 "//tools/gn:gn_unittests", | 189 "//tools/gn:gn_unittests", |
193 "//ui/app_list:app_list_unittests", | 190 "//ui/app_list:app_list_unittests", |
194 "//url:url_unittests", | 191 "//url:url_unittests", |
195 ] | 192 ] |
196 | 193 |
197 if (has_chrome_android_internal) { | 194 if (has_chrome_android_internal) { |
198 deps += [ "//clank" ] # TODO(GYP) ?? | 195 deps += [ "//clank" ] # TODO(GYP) ?? |
199 } | 196 } |
200 } else if (is_linux) { | 197 } |
198 | |
199 if (is_linux) { | |
200 # The following are definitely linux-only. | |
201 deps += [ | 201 deps += [ |
202 "//breakpad:breakpad_unittests", | |
203 "//breakpad:dump_syms", | |
204 "//breakpad:generate_test_dump", | |
205 "//breakpad:minidump-2-core", | |
206 "//dbus:dbus_test_server", | |
202 "//dbus:dbus_unittests", | 207 "//dbus:dbus_unittests", |
208 "//media/cast:tap_proxy", | |
209 "//net:disk_cache_memory_test", | |
210 "//net:flip_in_mem_edsm_server", | |
211 "//net:flip_in_mem_edsm_server_unittests", | |
212 "//net:quic_client", | |
213 "//net:quic_server", | |
214 "//sandbox/linux:chrome_sandbox", | |
203 "//sandbox/linux:sandbox_linux_unittests", | 215 "//sandbox/linux:sandbox_linux_unittests", |
216 "//sandbox/linux:sandbox_linux_jni_unittests", | |
204 ] | 217 ] |
205 } else if (is_mac) { | 218 } |
219 | |
220 if (is_linux && !is_chromeos) { | |
206 deps += [ | 221 deps += [ |
222 # TODO(GYP): Figure out which of these should (and can) build | |
223 # under which other conditions. | |
224 "//base:base_perftests", | |
225 "//base:base_i18n_perftests", | |
226 "//base:check_example", | |
227 "//base:protect_file_posix", | |
228 "//base:build_utf8_validator_tables", | |
229 "//breakpad:core-2-minidump", | |
230 "//breakpad:microdump_stackwalk", | |
231 "//breakpad:minidump_dump", | |
232 "//breakpad:minidump_stackwalk", | |
233 "//build/sanitizers:copy_llvm_symbolizer", | |
234 "//cc/blink:cc_blink_unittests", | |
235 "//cc:cc_perftests", | |
236 "//chrome/test:chrome_app_unittests", | |
237 "//chrome/test:load_library_perf_tests", | |
238 "//chrome/test:sync_performance_tests", | |
239 "//chrome/test/chromedriver:chromedriver", | |
240 "//chrome/test/chromedriver:chromedriver_tests", | |
241 "//chrome/tools/profile_reset:jtl_compiler", | |
242 "//chrome/tools/service_discovery_sniffer", | |
243 "//components:components_perftests", | |
244 "//components/network_hints/browser", | |
245 "//components/session_manager/core", | |
246 "//components/webui_generator", | |
247 "//content/public/app:browser", | |
248 "//content/public/app:child", | |
249 "//content/test:content_gl_tests", | |
250 "//content/test:content_gl_benchmark", | |
251 "//courgette:courgette", | |
252 "//courgette:courgette_fuzz", | |
253 "//courgette:courgette_minimal_tool", | |
254 "//courgette:courgette_unittests", | |
255 "//device:device_unittests", | |
256 "//gin:gin_shell", | |
257 "//gin:gin_v8_snapshot_fingerprint", | |
258 "//gin:gin_unittests", | |
259 "//google_apis:google_apis_unittests", | |
260 "//google_apis/gcm:mcs_probe", | |
261 "//gpu:angle_unittests", | |
262 "//gpu:gl_tests", | |
263 | |
264 # TODO(GYP): Remove this when the gles2 tests work | |
265 "//gpu/command_buffer/client:gles2_implementation_no_check", | |
266 | |
267 "//gpu:gpu_perftests", | |
268 "//ipc:ipc_perftests", | |
269 "//media:ffmpeg_regression_tests", # TODO(GYP) this should be conditional on media_use_ffmpeg | |
270 "//media:media_perftests", | |
271 "//media/cast:cast_benchmarks", | |
272 "//media/cast:generate_barcode_video", | |
273 "//media/cast:generate_timecode_audio", | |
274 "//mojo/application", | |
275 "//net:crash_cache", | |
276 "//net:crl_set_dump", | |
277 "//net:dns_fuzz_stub", | |
278 "//net:gdig", | |
279 "//net:get_server_time", | |
280 | |
281 #"//net:hpack_example_generator", # TODO(GYP) rockot in progress | |
282 #"//net:hpack_fuzz_mutator", # TODO(GYP) rockot in progress | |
283 #"//net:hpack_fuzz_wrapper", # TODO(GYP) rockot in progress | |
284 #"//net:net_perftests", # TODO(GYP) rockot in progress | |
285 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in _net | |
286 "//net:stress_cache", | |
287 "//net:tld_cleanup", | |
288 "//net:run_testserver", | |
289 "//net:dump_cache", | |
290 | |
291 # "//ppapi:pepper_hash_for_uma", # TODO(GYP): Implement me. | |
292 "//ppapi:ppapi_perftests", # TODO(GYP): Are there other ppapi_* test targ ets? | |
293 "//skia:filter_fuzz_stub", | |
294 "//skia:image_operations_bench", | |
295 "//sync:run_sync_testserver", | |
296 "//sync:sync_endtoend_tests", | |
297 "//sync/tools:sync_client", | |
298 "//sync/tools:sync_listen_notifications", | |
299 "//testing/gmock:gmock_main", | |
300 "//third_party/codesighs:maptsvdifftool", | |
301 "//third_party/libphonenumber:libphonenumber_unittests", | |
302 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests", | |
303 "//tools/gn:generate_test_gn_data", | |
304 "//tools/perf/clear_system_cache", | |
305 "//ui/keyboard:keyboard_unittests", | |
306 "//ui/message_center:message_center_unittests", | |
307 "//ui/snapshot:snapshot_unittests", | |
308 "//ui/views/examples:views_examples_with_content_exe", | |
309 | |
310 # "//v8:v8_snapshot", # TODO(GYP): visibility? | |
311 # "//v8:postmortem-metadata", # TODO(GYP): visibility? | |
312 | |
313 "//third_party/codesighs:nm2tsv", | |
314 "//third_party/leveldatabase:env_chromium_unittests", | |
315 "//third_party/libaddressinput:libaddressinput_unittests", | |
316 "//third_party/sqlite:sqlite_shell", | |
317 "//ui/compositor:compositor_unittests", | |
318 ] | |
319 | |
320 if (enable_extensions) { | |
321 deps += [ "//extensions/shell:app_shell" ] | |
322 } | |
323 | |
324 if (enable_nacl) { | |
325 deps += [ "//components/nacl:nacl_loader_unittests" ] | |
326 } | |
327 | |
328 if (toolkit_views) { | |
329 deps += [ "//ui/app_list:app_list_demo" ] | |
330 } | |
331 | |
332 if (use_ash) { | |
333 deps += [ | |
334 "//ash:ash_shell", | |
335 "//ash:ash_shell_unittests", | |
336 "//ash:ash_unittests", | |
337 ] | |
338 } | |
339 | |
340 if (use_aura) { | |
341 deps += [ | |
342 "//ui/aura:aura_unittests", | |
343 "//ui/aura:bench", | |
344 "//ui/aura:demo", | |
345 ] | |
346 } | |
347 | |
348 if (use_x11) { | |
349 deps += [ "//media:player_x11" ] | |
350 } | |
351 | |
352 if (target_cpu != "arm") { | |
353 deps += [ "//gpu:compositor_model_bench" ] | |
354 } | |
355 } | |
356 | |
357 if (is_mac) { | |
358 deps += [ | |
359 "//breakpad:crash_inspector", | |
360 "//breakpad:dump_syms", | |
361 "//breakpad:symupload", | |
207 "//third_party/apple_sample_code", | 362 "//third_party/apple_sample_code", |
208 "//third_party/molokocacao", | 363 "//third_party/molokocacao", |
209 ] | 364 ] |
210 | 365 |
211 # TODO(GYP): Remove these when the targets below work and these | 366 # TODO(GYP): Remove these when the targets below work and these |
212 # are pulled in automatically. | 367 # are pulled in automatically. |
213 deps += [ | 368 deps += [ |
214 "//cc/blink", | 369 "//cc/blink", |
215 "//components/ui/zoom:ui_zoom", | 370 "//components/ui/zoom:ui_zoom", |
216 "//content", | 371 "//content", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
258 } else if (is_win) { | 413 } else if (is_win) { |
259 deps += [ "//ui/metro_viewer" ] | 414 deps += [ "//ui/metro_viewer" ] |
260 deps -= [ | 415 deps -= [ |
261 "//crypto:crypto_unittests", # TODO(GYP) | 416 "//crypto:crypto_unittests", # TODO(GYP) |
262 "//net:net_unittests", # TODO(GYP) | 417 "//net:net_unittests", # TODO(GYP) |
263 ] | 418 ] |
264 } | 419 } |
265 } | 420 } |
266 | 421 |
267 group("gn_only") { | 422 group("gn_only") { |
423 testonly = true | |
424 | |
425 if (is_linux && !is_chromeos) { | |
426 # TODO(GYP): Figure out if any of these should be in gn_all | |
427 # and figure out how cross-platform they are | |
428 deps = [ | |
429 ":gn_mojo_targets", | |
430 "//chrome/browser/resources:extension_resource_demo", | |
431 "//chrome/installer/util:strings", | |
432 "//chrome:main_dll", | |
433 "//chrome/test:load_library_perf_tests", | |
434 "//chrome/test:perf", | |
435 "//chrome/tools/convert_dict", | |
436 "//components/constrained_window:unit_tests", | |
437 "//components/enhanced_bookmarks:test_support", | |
438 "//components/password_manager/content/renderer:browser_tests", | |
439 "//components/metrics:serialization", | |
440 "//components/proximity_auth:proximity_auth_unittests", | |
441 "//components/rappor:unit_tests", | |
442 "//components/sessions:unit_tests", | |
443 "//media/blink:media_blink_unittests", | |
444 "//media/base:base_for_cast_ios", | |
445 "//media/cast:udp_proxy", | |
446 "//native_client/src/trusted/platform_qualify:vcpuid", | |
447 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", | |
448 "//storage/browser:dump_file_system", | |
449 "//third_party/angle:libANGLE", | |
450 "//third_party/angle:libEGL", | |
451 "//third_party/angle:libGLESv2", | |
452 "//third_party/cld_2:cld_2_dynamic_data_tool", | |
453 "//third_party/leveldatabase:leveldb_arena_test", | |
454 "//third_party/leveldatabase:leveldb_bloom_test", | |
455 "//third_party/leveldatabase:leveldb_db_test", | |
456 "//third_party/leveldatabase:leveldb_crc32c_test", | |
457 "//third_party/leveldatabase:leveldb_cache_test", | |
458 "//third_party/leveldatabase:leveldb_env_test", | |
459 "//third_party/leveldatabase:leveldb_write_batch_test", | |
460 "//third_party/leveldatabase:leveldb_filter_block_test", | |
461 "//third_party/leveldatabase:leveldb_version_edit_test", | |
462 "//third_party/leveldatabase:leveldb_db_bench", | |
463 "//third_party/leveldatabase:leveldb_log_test", | |
464 "//third_party/leveldatabase:leveldb_corruption_test", | |
465 "//third_party/leveldatabase:leveldb_table_test", | |
466 "//third_party/leveldatabase:leveldb_skiplist_test", | |
467 "//third_party/leveldatabase:leveldb_filename_test", | |
468 "//third_party/leveldatabase:leveldb_dbformat_test", | |
469 "//third_party/pdfium/third_party:freetype", | |
470 "//third_party/libjingle:peerconnnection_server", | |
471 "//third_party/libjpeg_turbo:simd", | |
472 "//third_party/libjpeg_turbo:simd_asm", | |
473 "//third_party/libsrtp:replay_driver", | |
474 "//third_party/libsrtp:roc_driver", | |
475 "//third_party/libsrtp:rtpw", | |
476 "//third_party/libsrtp:rdbx_driver", | |
477 "//third_party/libsrtp:srtp_driver", | |
478 "//third_party/libsrtp:srtp_driver", | |
479 "//third_party/libsrtp:srtp_test_kernel_driver", | |
480 "//third_party/libsrtp:srtp_test_cipher_driver", | |
481 "//third_party/libsrtp:srtp_test_datatypes_driver", | |
482 "//third_party/libsrtp:srtp_test_aes_calc", | |
483 "//third_party/libsrtp:srtp_test_env", | |
484 "//third_party/libsrtp:srtp_test_rand_gen", | |
485 "//third_party/libsrtp:srtp_test_sha1_driver", | |
486 "//third_party/libsrtp:srtp_test_stat_driver", | |
487 "//third_party/opus:opus_compare", | |
488 "//third_party/opus:opus_demo", | |
489 "//third_party/opus:test_opus_decode", | |
490 "//third_party/opus:test_opus_encode", | |
491 "//third_party/opus:test_opus_api", | |
492 "//third_party/opus:test_opus_padding", | |
493 "//third_party/webrtc/system_wrappers:field_trial_default", | |
494 "//third_party/webrtc/system_wrappers:metrics_default", | |
495 "//ui/display/types", | |
496 "//ui/shell_dialogs:shell_dialogs_unittests", | |
497 "//ui/views/examples:views_examples_exe", | |
498 "//v8:d8", | |
499 ] | |
500 if (enable_nacl) { | |
501 deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ] | |
502 } | |
503 if (use_ozone) { | |
504 deps += [ "//ui/ozone/demo" ] | |
505 } | |
506 if (is_android) { | |
507 deps += [ "//build/android/gyp/test:hello_world" ] | |
508 } | |
509 } | |
510 } | |
511 | |
512 group("gn_mojo_targets") { | |
513 testonly = true | |
514 if (is_linux && !is_chromeos) { | |
515 # TODO(GYP): Figure out if any of these should be in gn_all | |
516 # and figure out how cross-platform they are | |
517 deps = [ | |
518 "//chrome/browser/ui/webui/omnibox:mojo_bindings_python", | |
519 "//chrome/browser/ui/webui/omnibox:mojo_bindings_dart", | |
520 "//content/public/common:mojo_bindings_dart", | |
521 "//content/public/common:mojo_bindings_python", | |
522 "//content/common:mojo_bindings_dart", | |
523 "//content/common:mojo_bindings_python", | |
524 "//content/test:web_ui_test_mojo_bindings_dart", | |
525 "//content/test:web_ui_test_mojo_bindings_python", | |
526 "//device/battery:mojo_bindings_python", | |
527 "//device/battery:mojo_bindings_dart", | |
528 "//device/vibration:mojo_bindings_dart", | |
529 "//device/vibration:mojo_bindings_python", | |
530 "//ipc/mojo:ipc_mojo_perftests", | |
531 "//ipc/mojo:client_channel_dart", | |
532 "//ipc/mojo:client_channel_python", | |
533 "//media/mojo/interfaces:interfaces_dart", | |
534 "//media/mojo/interfaces:interfaces_python", | |
535 "//media/mojo/services:cdm_service", | |
536 "//media/mojo:tests", | |
537 "//mojo/services/html_viewer:tests", | |
538 "//mojo/services/network:apptests", | |
539 "//net/interfaces:interfaces_dart", | |
540 "//net/interfaces:interfaces_python", | |
541 "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests", | |
542 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_dart", | |
543 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_python", | |
544 "//third_party/mojo/src/mojo/public/python:packaged_application", | |
545 "//third_party/mojo/src/mojo/public/python:packaged_bindings", | |
546 "//third_party/mojo/src/mojo/public/cpp/application:test_support_standalon e", | |
547 "//third_party/mojo_services/src/accessibility/public/interfaces:interface s_dart", | |
548 "//third_party/mojo_services/src/accessibility/public/interfaces:interface s_python", | |
549 "//third_party/mojo_services/src/window_manager/public/interfaces:interfac es_dart", | |
550 "//third_party/mojo_services/src/window_manager/public/interfaces:interfac es_python", | |
551 ] | |
552 } | |
553 } | |
554 | |
555 group("gn_visibility") { | |
brettw
2015/03/07 00:42:03
I don't understand what this is for.
Dirk Pranke
2015/03/07 00:46:06
As we discussed in person, this is a placeholder u
| |
268 deps = [ | 556 deps = [ |
269 "//media/mojo", | 557 # "//build/config/sanitizers:options_sources", |
270 # "//mojo/services/html_viewer:tests", # TODO(GYP): Do we need this? | 558 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? |
559 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? | |
560 # "//ui/resources:repack_ui_test_mac_locale_pack", | |
561 # "//v8:v8_snapshot", # TODO(GYP): visibility? | |
562 # "//v8:postmortem-metadata", # TODO(GYP): visibility? | |
271 ] | 563 ] |
272 } | 564 } |
273 | 565 |
274 if (is_linux) { | 566 if (is_linux) { |
275 # This group corresponds to the list of tests run on the waterfall for | 567 # This group corresponds to the list of tests run on the waterfall for |
276 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's | 568 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's |
277 # here to help track GYP -> GN conversion progress. | 569 # here to help track GYP -> GN conversion progress. |
278 group("linux_default_tests") { | 570 group("linux_default_tests") { |
279 testonly = true | 571 testonly = true |
280 deps = [ | 572 deps = [ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
330 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 2/25/2015 | 622 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 2/25/2015 |
331 "//ui/views:views_unittests", # PASSES (*) 2/25/2015 | 623 "//ui/views:views_unittests", # PASSES (*) 2/25/2015 |
332 "//ui/wm:wm_unittests", # PASSES 2/25/2015 | 624 "//ui/wm:wm_unittests", # PASSES 2/25/2015 |
333 "//url:url_unittests", # PASSES 2/25/2015 | 625 "//url:url_unittests", # PASSES 2/25/2015 |
334 | 626 |
335 # Note: | 627 # Note: |
336 # (*) Fails but failures match GYP build at time of testing. | 628 # (*) Fails but failures match GYP build at time of testing. |
337 ] | 629 ] |
338 } | 630 } |
339 } | 631 } |
OLD | NEW |