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 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 } | 981 } |
982 if (is_clang) { | 982 if (is_clang) { |
983 deps += [ "//build/sanitizers:copy_llvm_symbolizer" ] | 983 deps += [ "//build/sanitizers:copy_llvm_symbolizer" ] |
984 } | 984 } |
985 if (is_win && symbol_level == 2 && target_cpu == "x86" && is_syzyasan) { | 985 if (is_win && symbol_level == 2 && target_cpu == "x86" && is_syzyasan) { |
986 deps += [ | 986 deps += [ |
987 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", | 987 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", |
988 # TODO(GYP): Add this once it exists, https://crbug.com/619086 | 988 # TODO(GYP): Add this once it exists, https://crbug.com/619086 |
989 # "//content/shell:content_shell_syzyasan | 989 # "//content/shell:content_shell_syzyasan |
990 ] | 990 ] |
991 if (is_multi_dll_chrome) { | |
992 deps += [ "//chrome/tools/build/win/syzygy:chrome_child_dll_syzygy" ] | |
993 } | |
994 } | 991 } |
995 } | 992 } |
996 } | 993 } |
997 | 994 |
998 # For compatibility with GYP. The linux_chromium_chromeos_rel_ng and | 995 # For compatibility with GYP. The linux_chromium_chromeos_rel_ng and |
999 # linux_chromium_chromeos_compile_rel_ng bots reference this target as | 996 # linux_chromium_chromeos_compile_rel_ng bots reference this target as |
1000 # something to build, but all targets for those bots to compile are set | 997 # something to build, but all targets for those bots to compile are set |
1001 # up differently. | 998 # up differently. |
1002 # TODO bug 601920: Remove reference to aura_builder on bot config and delete | 999 # TODO bug 601920: Remove reference to aura_builder on bot config and delete |
1003 # this group. | 1000 # this group. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 assert(target_name != "") # Mark as used. | 1037 assert(target_name != "") # Mark as used. |
1041 sources = invoker.actual_sources | 1038 sources = invoker.actual_sources |
1042 assert( | 1039 assert( |
1043 sources == invoker.actual_sources, | 1040 sources == invoker.actual_sources, |
1044 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1041 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1045 } | 1042 } |
1046 | 1043 |
1047 assert_valid_out_dir("_unused") { | 1044 assert_valid_out_dir("_unused") { |
1048 actual_sources = [ "$root_build_dir/foo" ] | 1045 actual_sources = [ "$root_build_dir/foo" ] |
1049 } | 1046 } |
OLD | NEW |