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) { | 427 if (is_android || is_win || (is_linux && !is_chromeos)) { |
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", |
461 "//net:crash_cache", | 463 "//net:crash_cache", |
462 "//net:crl_set_dump", | 464 "//net:crl_set_dump", |
463 "//net:dns_fuzz_stub", | 465 "//net:dns_fuzz_stub", |
464 "//net:gdig", | 466 "//net:gdig", |
465 "//net:get_server_time", | 467 "//net:get_server_time", |
466 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_
in_net | 468 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_
in_net |
467 "//net:run_testserver", | 469 "//net:run_testserver", |
468 "//net:stress_cache", | 470 "//net:stress_cache", |
469 "//net:tld_cleanup", | 471 "//net:tld_cleanup", |
470 "//ppapi:pepper_hash_for_uma", | 472 "//ppapi:pepper_hash_for_uma", |
471 "//ppapi:ppapi_perftests", | 473 "//ppapi:ppapi_perftests", |
472 "//third_party/angle/src/tests:angle_unittests", | 474 "//third_party/angle/src/tests:angle_unittests", |
473 "//third_party/leveldatabase:env_chromium_unittests", | 475 "//third_party/leveldatabase:env_chromium_unittests", |
474 "//third_party/libaddressinput:libaddressinput_unittests", | 476 "//third_party/libaddressinput:libaddressinput_unittests", |
475 ] | 477 ] |
476 if (!is_chromeos) { | |
477 deps += [ | |
478 "//media/cast:generate_barcode_video", | |
479 "//media/cast:generate_timecode_audio", | |
480 ] | |
481 } | |
482 } | 478 } |
483 if (!is_android && !is_linux) { | 479 if (!is_android && !is_linux) { |
484 # TODO(dpranke): Re-enable this once | 480 # TODO(dpranke): Re-enable this once |
485 # https://chromium-review.googlesource.com/#/c/312298/1 is rolled | 481 # https://chromium-review.googlesource.com/#/c/312298/1 is rolled |
486 # into chromium. | 482 # into chromium. |
487 deps += [ "//third_party/angle/src/tests:angle_end2end_tests" ] | 483 deps += [ "//third_party/angle/src/tests:angle_end2end_tests" ] |
488 } | 484 } |
489 | 485 |
490 if (enable_extensions) { | 486 if (enable_extensions) { |
491 deps += [ "//extensions/shell:app_shell" ] | 487 deps += [ "//extensions/shell:app_shell" ] |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 deps += [ | 644 deps += [ |
649 "//components/mus/demo", | 645 "//components/mus/demo", |
650 "//components/mus/ws:tests", | 646 "//components/mus/ws:tests", |
651 "//mash:all", | 647 "//mash:all", |
652 "//media/mojo/services:media_mojo_shell_unittests", | 648 "//media/mojo/services:media_mojo_shell_unittests", |
653 "//mojo", | 649 "//mojo", |
654 "//ui/views/mus:views_mus_unittests", | 650 "//ui/views/mus:views_mus_unittests", |
655 ] | 651 ] |
656 } | 652 } |
657 | 653 |
658 if (is_linux && !is_chromecast) { | 654 if (is_linux && !is_chromeos && !is_chromecast) { |
659 # TODO(GYP): Figure out if any of these should be in gn_all | 655 # TODO(GYP): Figure out if any of these should be in gn_all |
660 # and figure out how cross-platform they are | 656 # and figure out how cross-platform they are |
661 deps += [ | 657 deps += [ |
662 ":gn_mojo_targets", | 658 ":gn_mojo_targets", |
663 "//chrome/browser/resources:extension_resource_demo", | 659 "//chrome/browser/resources:extension_resource_demo", |
664 "//chrome/installer/util:strings", | 660 "//chrome/installer/util:strings", |
665 "//chrome/tools/convert_dict", | 661 "//chrome/tools/convert_dict", |
666 "//components/constrained_window:unit_tests", | 662 "//components/constrained_window:unit_tests", |
667 "//components/filesystem:filesystem_service_unittests", | 663 "//components/filesystem:filesystem_service_unittests", |
668 "//components/leveldb:leveldb_service_unittests", | 664 "//components/leveldb:leveldb_service_unittests", |
669 "//components/metrics:serialization", | 665 "//components/metrics:serialization", |
670 "//components/password_manager/content/renderer:browser_tests", | 666 "//components/password_manager/content/renderer:browser_tests", |
671 "//components/rappor:unit_tests", | 667 "//components/rappor:unit_tests", |
672 "//components/sessions:unit_tests", | 668 "//components/sessions:unit_tests", |
673 "//media/blink:media_blink_unittests", | 669 "//media/blink:media_blink_unittests", |
| 670 "//media/cast:udp_proxy", |
674 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", | 671 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", |
675 "//storage/browser:dump_file_system", | 672 "//storage/browser:dump_file_system", |
676 "//third_party/angle:libANGLE", | 673 "//third_party/angle:libANGLE", |
677 "//third_party/angle:libEGL", | 674 "//third_party/angle:libEGL", |
678 "//third_party/angle:libGLESv2", | 675 "//third_party/angle:libGLESv2", |
679 "//third_party/cld_2:cld_2_dynamic_data_tool", | 676 "//third_party/cld_2:cld_2_dynamic_data_tool", |
680 "//third_party/leveldatabase:leveldb_arena_test", | 677 "//third_party/leveldatabase:leveldb_arena_test", |
681 "//third_party/leveldatabase:leveldb_bloom_test", | 678 "//third_party/leveldatabase:leveldb_bloom_test", |
682 "//third_party/leveldatabase:leveldb_cache_test", | 679 "//third_party/leveldatabase:leveldb_cache_test", |
683 "//third_party/leveldatabase:leveldb_corruption_test", | 680 "//third_party/leveldatabase:leveldb_corruption_test", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 "//third_party/opus:test_opus_encode", | 712 "//third_party/opus:test_opus_encode", |
716 "//third_party/opus:test_opus_padding", | 713 "//third_party/opus:test_opus_padding", |
717 "//third_party/pdfium/third_party:fx_freetype", | 714 "//third_party/pdfium/third_party:fx_freetype", |
718 "//third_party/webrtc/system_wrappers:field_trial_default", | 715 "//third_party/webrtc/system_wrappers:field_trial_default", |
719 "//third_party/webrtc/system_wrappers:metrics_default", | 716 "//third_party/webrtc/system_wrappers:metrics_default", |
720 "//ui/display/types", | 717 "//ui/display/types", |
721 "//ui/shell_dialogs:shell_dialogs_unittests", | 718 "//ui/shell_dialogs:shell_dialogs_unittests", |
722 "//ui/views/examples:views_examples_exe", | 719 "//ui/views/examples:views_examples_exe", |
723 ] | 720 ] |
724 | 721 |
725 if (!is_chromeos) { | |
726 deps += [ "//media/cast:udp_proxy" ] | |
727 } | |
728 if (target_cpu == "x86" || target_cpu == "x64") { | 722 if (target_cpu == "x86" || target_cpu == "x64") { |
729 if (!is_android) { | 723 if (!is_android) { |
730 deps += [ "//chrome/test:load_library_perf_tests" ] | 724 deps += [ "//chrome/test:load_library_perf_tests" ] |
731 } | 725 } |
732 deps += [ | 726 deps += [ |
733 "//native_client/src/trusted/platform_qualify:vcpuid", | 727 "//native_client/src/trusted/platform_qualify:vcpuid", |
734 "//third_party/libjpeg_turbo:simd_asm", | 728 "//third_party/libjpeg_turbo:simd_asm", |
735 ] | 729 ] |
736 } | 730 } |
737 if (is_linux && current_toolchain == host_toolchain) { | 731 if (is_linux && current_toolchain == host_toolchain) { |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
952 assert(target_name != "") # Mark as used. | 946 assert(target_name != "") # Mark as used. |
953 sources = invoker.actual_sources | 947 sources = invoker.actual_sources |
954 assert( | 948 assert( |
955 sources == invoker.actual_sources, | 949 sources == invoker.actual_sources, |
956 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 950 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
957 } | 951 } |
958 | 952 |
959 assert_valid_out_dir("_unused") { | 953 assert_valid_out_dir("_unused") { |
960 actual_sources = [ "$root_build_dir/foo" ] | 954 actual_sources = [ "$root_build_dir/foo" ] |
961 } | 955 } |
OLD | NEW |