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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 "//skia:image_operations_bench", | 632 "//skia:image_operations_bench", |
633 "//third_party/sqlite:sqlite_shell", | 633 "//third_party/sqlite:sqlite_shell", |
634 "//ui/keyboard:keyboard_unittests", | 634 "//ui/keyboard:keyboard_unittests", |
635 "//ui/message_center:message_center_unittests", | 635 "//ui/message_center:message_center_unittests", |
636 "//ui/snapshot:snapshot_unittests", | 636 "//ui/snapshot:snapshot_unittests", |
637 ] | 637 ] |
638 | 638 |
639 if (!is_debug && !is_component_build) { | 639 if (!is_debug && !is_component_build) { |
640 deps += [ "//chrome/tools/service_discovery_sniffer" ] | 640 deps += [ "//chrome/tools/service_discovery_sniffer" ] |
641 } | 641 } |
642 | |
643 if (is_clang) { | |
644 deps += [ "//build/sanitizers:copy_llvm_symbolizer" ] | |
645 } | |
646 } | 642 } |
647 | 643 |
648 if (use_x11) { | 644 if (use_x11) { |
649 if (target_cpu != "arm") { | 645 if (target_cpu != "arm") { |
650 deps += [ "//gpu/tools/compositor_model_bench" ] | 646 deps += [ "//gpu/tools/compositor_model_bench" ] |
651 } | 647 } |
652 } | 648 } |
653 } | 649 } |
654 | 650 |
655 if (is_mac) { | 651 if (is_mac) { |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1033 } | 1029 } |
1034 if (enable_ipc_fuzzer && !is_component_build) { | 1030 if (enable_ipc_fuzzer && !is_component_build) { |
1035 deps += [ "//tools/ipc_fuzzer:ipc_fuzzer_all" ] | 1031 deps += [ "//tools/ipc_fuzzer:ipc_fuzzer_all" ] |
1036 } | 1032 } |
1037 if (!is_chromeos) { | 1033 if (!is_chromeos) { |
1038 deps += [ | 1034 deps += [ |
1039 "//third_party/pdfium/samples:pdfium_test", | 1035 "//third_party/pdfium/samples:pdfium_test", |
1040 "//v8:v8_shell($v8_snapshot_toolchain)", | 1036 "//v8:v8_shell($v8_snapshot_toolchain)", |
1041 ] | 1037 ] |
1042 } | 1038 } |
1043 if (is_clang) { | |
1044 deps += [ "//build/sanitizers:copy_llvm_symbolizer" ] | |
1045 } | |
1046 if (is_win && symbol_level == 2 && target_cpu == "x86" && is_syzyasan) { | 1039 if (is_win && symbol_level == 2 && target_cpu == "x86" && is_syzyasan) { |
1047 deps += [ | 1040 deps += [ |
1048 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", | 1041 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy", |
1049 "//content/shell:content_shell_syzyasan", | 1042 "//content/shell:content_shell_syzyasan", |
1050 ] | 1043 ] |
1051 } | 1044 } |
1052 } | 1045 } |
1053 } | 1046 } |
1054 | 1047 |
1055 # For compatibility with GYP. The linux_chromium_chromeos_rel_ng and | 1048 # For compatibility with GYP. The linux_chromium_chromeos_rel_ng and |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 assert(target_name != "") # Mark as used. | 1090 assert(target_name != "") # Mark as used. |
1098 sources = invoker.actual_sources | 1091 sources = invoker.actual_sources |
1099 assert( | 1092 assert( |
1100 sources == invoker.actual_sources, | 1093 sources == invoker.actual_sources, |
1101 "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") |
1102 } | 1095 } |
1103 | 1096 |
1104 assert_valid_out_dir("_unused") { | 1097 assert_valid_out_dir("_unused") { |
1105 actual_sources = [ "$root_build_dir/foo" ] | 1098 actual_sources = [ "$root_build_dir/foo" ] |
1106 } | 1099 } |
OLD | NEW |