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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 } | 664 } |
665 | 665 |
666 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || | 666 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || |
667 (use_libfuzzer && is_mac)) { | 667 (use_libfuzzer && is_mac)) { |
668 deps += [ | 668 deps += [ |
669 "//testing/libfuzzer/fuzzers", | 669 "//testing/libfuzzer/fuzzers", |
670 "//testing/libfuzzer/tests:libfuzzer_tests", | 670 "//testing/libfuzzer/tests:libfuzzer_tests", |
671 "//third_party/icu/fuzzers", | 671 "//third_party/icu/fuzzers", |
672 "//third_party/qcms:fuzzers", | 672 "//third_party/qcms:fuzzers", |
673 ] | 673 ] |
674 | |
675 # TODO(miu): Remove this dependency once the build configuration in | |
676 # chrome/browser/BUILD.gn is migrated to chrome/browser/media/BUILD.gn. | |
677 # This dependency here only exists to allow GN to discover the | |
678 # fuzzer_test target there. | |
679 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] | |
680 } | 674 } |
681 | 675 |
682 if (enable_nacl) { | 676 if (enable_nacl) { |
683 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] | 677 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] |
684 } | 678 } |
685 | 679 |
686 if (is_linux && use_ozone) { | 680 if (is_linux && use_ozone) { |
687 deps += [ | 681 deps += [ |
688 "//headless", | 682 "//headless", |
689 "//headless:headless_tests", | 683 "//headless:headless_tests", |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 assert(target_name != "") # Mark as used. | 1054 assert(target_name != "") # Mark as used. |
1061 sources = invoker.actual_sources | 1055 sources = invoker.actual_sources |
1062 assert( | 1056 assert( |
1063 sources == invoker.actual_sources, | 1057 sources == invoker.actual_sources, |
1064 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1058 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1065 } | 1059 } |
1066 | 1060 |
1067 assert_valid_out_dir("_unused") { | 1061 assert_valid_out_dir("_unused") { |
1068 actual_sources = [ "$root_build_dir/foo" ] | 1062 actual_sources = [ "$root_build_dir/foo" ] |
1069 } | 1063 } |
OLD | NEW |