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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
417 } | 417 } |
418 | 418 |
419 if (is_ios || is_win || (is_linux && !is_chromeos)) { | 419 if (is_ios || is_win || (is_linux && !is_chromeos)) { |
420 deps += [ | 420 deps += [ |
421 "//base:base_i18n_perftests", | 421 "//base:base_i18n_perftests", |
422 "//base:base_perftests", | 422 "//base:base_perftests", |
423 "//google_apis:google_apis_unittests", | 423 "//google_apis:google_apis_unittests", |
424 ] | 424 ] |
425 } | 425 } |
426 | 426 |
427 if (is_android || is_win || (is_linux && !is_chromeos)) { | 427 if (is_android || is_win || is_linux) { |
428 deps += [ | 428 deps += [ |
429 "//base:build_utf8_validator_tables", | 429 "//base:build_utf8_validator_tables", |
430 "//base:check_example", | 430 "//base:check_example", |
431 "//cc:cc_perftests", | 431 "//cc:cc_perftests", |
432 "//cc/blink:cc_blink_unittests", | 432 "//cc/blink:cc_blink_unittests", |
433 "//components:components_perftests", | 433 "//components:components_perftests", |
434 "//device:device_unittests", | 434 "//device:device_unittests", |
435 "//gin:gin_shell", | 435 "//gin:gin_shell", |
436 "//gin:gin_unittests", | 436 "//gin:gin_unittests", |
437 "//google_apis/gcm:mcs_probe", | 437 "//google_apis/gcm:mcs_probe", |
(...skipping 13 matching lines...) Expand all Loading... | |
451 if (!is_android) { | 451 if (!is_android) { |
452 deps += [ | 452 deps += [ |
453 "//chrome/test:load_library_perf_tests", | 453 "//chrome/test:load_library_perf_tests", |
454 "//chrome/test:sync_performance_tests", | 454 "//chrome/test:sync_performance_tests", |
455 "//chrome/test/chromedriver:chromedriver", | 455 "//chrome/test/chromedriver:chromedriver", |
456 "//chrome/test/chromedriver:chromedriver_tests", | 456 "//chrome/test/chromedriver:chromedriver_tests", |
457 "//courgette:courgette", | 457 "//courgette:courgette", |
458 "//courgette:courgette_fuzz", | 458 "//courgette:courgette_fuzz", |
459 "//courgette:courgette_minimal_tool", | 459 "//courgette:courgette_minimal_tool", |
460 "//courgette:courgette_unittests", | 460 "//courgette:courgette_unittests", |
461 "//media/cast:generate_barcode_video", | |
462 "//media/cast:generate_timecode_audio", | |
463 "//net:crash_cache", | 461 "//net:crash_cache", |
464 "//net:crl_set_dump", | 462 "//net:crl_set_dump", |
465 "//net:dns_fuzz_stub", | 463 "//net:dns_fuzz_stub", |
466 "//net:gdig", | 464 "//net:gdig", |
467 "//net:get_server_time", | 465 "//net:get_server_time", |
468 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_ in_net | 466 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_ in_net |
469 "//net:run_testserver", | 467 "//net:run_testserver", |
470 "//net:stress_cache", | 468 "//net:stress_cache", |
471 "//net:tld_cleanup", | 469 "//net:tld_cleanup", |
472 "//ppapi:pepper_hash_for_uma", | 470 "//ppapi:pepper_hash_for_uma", |
473 "//ppapi:ppapi_perftests", | 471 "//ppapi:ppapi_perftests", |
474 "//third_party/angle/src/tests:angle_unittests", | 472 "//third_party/angle/src/tests:angle_unittests", |
475 "//third_party/leveldatabase:env_chromium_unittests", | 473 "//third_party/leveldatabase:env_chromium_unittests", |
476 "//third_party/libaddressinput:libaddressinput_unittests", | 474 "//third_party/libaddressinput:libaddressinput_unittests", |
477 ] | 475 ] |
476 if (!is_chromeos) { | |
477 deps += [ | |
478 "//media/cast:generate_barcode_video", | |
479 "//media/cast:generate_timecode_audio", | |
480 ] | |
481 } | |
478 } | 482 } |
479 if (!is_android && !is_linux) { | 483 if (!is_android && !is_linux) { |
480 # TODO(dpranke): Re-enable this once | 484 # TODO(dpranke): Re-enable this once |
481 # https://chromium-review.googlesource.com/#/c/312298/1 is rolled | 485 # https://chromium-review.googlesource.com/#/c/312298/1 is rolled |
482 # into chromium. | 486 # into chromium. |
483 deps += [ "//third_party/angle/src/tests:angle_end2end_tests" ] | 487 deps += [ "//third_party/angle/src/tests:angle_end2end_tests" ] |
484 } | 488 } |
485 | 489 |
486 if (enable_extensions) { | 490 if (enable_extensions) { |
487 deps += [ "//extensions/shell:app_shell" ] | 491 deps += [ "//extensions/shell:app_shell" ] |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
644 deps += [ | 648 deps += [ |
645 "//components/mus/demo", | 649 "//components/mus/demo", |
646 "//components/mus/ws:tests", | 650 "//components/mus/ws:tests", |
647 "//mash:all", | 651 "//mash:all", |
648 "//media/mojo/services:media_mojo_shell_unittests", | 652 "//media/mojo/services:media_mojo_shell_unittests", |
649 "//mojo", | 653 "//mojo", |
650 "//ui/views/mus:views_mus_unittests", | 654 "//ui/views/mus:views_mus_unittests", |
651 ] | 655 ] |
652 } | 656 } |
653 | 657 |
654 if (is_linux && !is_chromeos && !is_chromecast) { | 658 if (is_linux && !is_chromecast) { |
655 # TODO(GYP): Figure out if any of these should be in gn_all | 659 # TODO(GYP): Figure out if any of these should be in gn_all |
656 # and figure out how cross-platform they are | 660 # and figure out how cross-platform they are |
657 deps += [ | 661 deps += [ |
658 ":gn_mojo_targets", | 662 ":gn_mojo_targets", |
659 "//chrome/browser/resources:extension_resource_demo", | 663 "//chrome/browser/resources:extension_resource_demo", |
660 "//chrome/installer/util:strings", | 664 "//chrome/installer/util:strings", |
661 "//chrome/tools/convert_dict", | 665 "//chrome/tools/convert_dict", |
662 "//components/constrained_window:unit_tests", | 666 "//components/constrained_window:unit_tests", |
663 "//components/filesystem:filesystem_service_unittests", | 667 "//components/filesystem:filesystem_service_unittests", |
664 "//components/leveldb:leveldb_service_unittests", | 668 "//components/leveldb:leveldb_service_unittests", |
665 "//components/metrics:serialization", | 669 "//components/metrics:serialization", |
666 "//components/password_manager/content/renderer:browser_tests", | 670 "//components/password_manager/content/renderer:browser_tests", |
667 "//components/rappor:unit_tests", | 671 "//components/rappor:unit_tests", |
668 "//components/sessions:unit_tests", | 672 "//components/sessions:unit_tests", |
669 "//media/blink:media_blink_unittests", | 673 "//media/blink:media_blink_unittests", |
670 "//media/cast:udp_proxy", | |
671 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", | 674 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", |
672 "//storage/browser:dump_file_system", | 675 "//storage/browser:dump_file_system", |
673 "//third_party/angle:libANGLE", | 676 "//third_party/angle:libANGLE", |
674 "//third_party/angle:libEGL", | 677 "//third_party/angle:libEGL", |
675 "//third_party/angle:libGLESv2", | 678 "//third_party/angle:libGLESv2", |
676 "//third_party/cld_2:cld_2_dynamic_data_tool", | 679 "//third_party/cld_2:cld_2_dynamic_data_tool", |
677 "//third_party/leveldatabase:leveldb_arena_test", | 680 "//third_party/leveldatabase:leveldb_arena_test", |
678 "//third_party/leveldatabase:leveldb_bloom_test", | 681 "//third_party/leveldatabase:leveldb_bloom_test", |
679 "//third_party/leveldatabase:leveldb_cache_test", | 682 "//third_party/leveldatabase:leveldb_cache_test", |
680 "//third_party/leveldatabase:leveldb_corruption_test", | 683 "//third_party/leveldatabase:leveldb_corruption_test", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
712 "//third_party/opus:test_opus_encode", | 715 "//third_party/opus:test_opus_encode", |
713 "//third_party/opus:test_opus_padding", | 716 "//third_party/opus:test_opus_padding", |
714 "//third_party/pdfium/third_party:fx_freetype", | 717 "//third_party/pdfium/third_party:fx_freetype", |
715 "//third_party/webrtc/system_wrappers:field_trial_default", | 718 "//third_party/webrtc/system_wrappers:field_trial_default", |
716 "//third_party/webrtc/system_wrappers:metrics_default", | 719 "//third_party/webrtc/system_wrappers:metrics_default", |
717 "//ui/display/types", | 720 "//ui/display/types", |
718 "//ui/shell_dialogs:shell_dialogs_unittests", | 721 "//ui/shell_dialogs:shell_dialogs_unittests", |
719 "//ui/views/examples:views_examples_exe", | 722 "//ui/views/examples:views_examples_exe", |
720 ] | 723 ] |
721 | 724 |
725 if (!is_chromeos) { | |
726 deps += [ "//media/cast:udp_proxy" ] | |
dshwang
2016/05/11 10:07:20
cast has unresolved dependencies issues.
ERROR Unr
Dirk Pranke
2016/05/13 18:53:54
Do you mean that udp_proxy has unresolved dependen
dshwang
2016/05/18 15:14:42
correct. I didn't investigate how to fix it, but i
| |
727 } | |
722 if (target_cpu == "x86" || target_cpu == "x64") { | 728 if (target_cpu == "x86" || target_cpu == "x64") { |
723 if (!is_android) { | 729 if (!is_android) { |
724 deps += [ "//chrome/test:load_library_perf_tests" ] | 730 deps += [ "//chrome/test:load_library_perf_tests" ] |
725 } | 731 } |
726 deps += [ | 732 deps += [ |
727 "//native_client/src/trusted/platform_qualify:vcpuid", | 733 "//native_client/src/trusted/platform_qualify:vcpuid", |
728 "//third_party/libjpeg_turbo:simd_asm", | 734 "//third_party/libjpeg_turbo:simd_asm", |
729 ] | 735 ] |
730 } | 736 } |
731 if (is_linux && current_toolchain == host_toolchain) { | 737 if (is_linux && current_toolchain == host_toolchain) { |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
946 assert(target_name != "") # Mark as used. | 952 assert(target_name != "") # Mark as used. |
947 sources = invoker.actual_sources | 953 sources = invoker.actual_sources |
948 assert( | 954 assert( |
949 sources == invoker.actual_sources, | 955 sources == invoker.actual_sources, |
950 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") | 956 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") |
951 } | 957 } |
952 | 958 |
953 assert_valid_out_dir("_unused") { | 959 assert_valid_out_dir("_unused") { |
954 actual_sources = [ "$root_build_dir/foo" ] | 960 actual_sources = [ "$root_build_dir/foo" ] |
955 } | 961 } |
OLD | NEW |