| 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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 if (use_ozone) { | 675 if (use_ozone) { |
| 676 deps += [ "//ui/ozone/demo" ] | 676 deps += [ "//ui/ozone/demo" ] |
| 677 } | 677 } |
| 678 | 678 |
| 679 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || | 679 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || |
| 680 (use_libfuzzer && is_mac)) { | 680 (use_libfuzzer && is_mac)) { |
| 681 deps += [ | 681 deps += [ |
| 682 "//testing/libfuzzer/fuzzers", | 682 "//testing/libfuzzer/fuzzers", |
| 683 "//testing/libfuzzer/tests:libfuzzer_tests", | 683 "//testing/libfuzzer/tests:libfuzzer_tests", |
| 684 "//third_party/icu/fuzzers", | 684 "//third_party/icu/fuzzers", |
| 685 "//third_party/qcms:fuzzers", |
| 685 ] | 686 ] |
| 686 | 687 |
| 687 # TODO(miu): Remove this dependency once the build configuration in | 688 # TODO(miu): Remove this dependency once the build configuration in |
| 688 # chrome/browser/BUILD.gn is migrated to chrome/browser/media/BUILD.gn. | 689 # chrome/browser/BUILD.gn is migrated to chrome/browser/media/BUILD.gn. |
| 689 # This dependency here only exists to allow GN to discover the | 690 # This dependency here only exists to allow GN to discover the |
| 690 # fuzzer_test target there. | 691 # fuzzer_test target there. |
| 691 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] | 692 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] |
| 692 } | 693 } |
| 693 | 694 |
| 694 if (enable_nacl) { | 695 if (enable_nacl) { |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 assert(target_name != "") # Mark as used. | 1090 assert(target_name != "") # Mark as used. |
| 1090 sources = invoker.actual_sources | 1091 sources = invoker.actual_sources |
| 1091 assert( | 1092 assert( |
| 1092 sources == invoker.actual_sources, | 1093 sources == invoker.actual_sources, |
| 1093 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1094 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1094 } | 1095 } |
| 1095 | 1096 |
| 1096 assert_valid_out_dir("_unused") { | 1097 assert_valid_out_dir("_unused") { |
| 1097 actual_sources = [ "$root_build_dir/foo" ] | 1098 actual_sources = [ "$root_build_dir/foo" ] |
| 1098 } | 1099 } |
| OLD | NEW |