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