| 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 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
| 7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
| 8 import("//build/config/nacl/config.gni") | 8 import("//build/config/nacl/config.gni") |
| 9 import("//build/toolchain/ccache.gni") | 9 import("//build/toolchain/cc_wrapper.gni") |
| 10 | 10 |
| 11 if (current_cpu == "arm") { | 11 if (current_cpu == "arm") { |
| 12 import("//build/config/arm.gni") | 12 import("//build/config/arm.gni") |
| 13 } | 13 } |
| 14 if (current_cpu == "mipsel" || current_cpu == "mips64el") { | 14 if (current_cpu == "mipsel" || current_cpu == "mips64el") { |
| 15 import("//build/config/mips.gni") | 15 import("//build/config/mips.gni") |
| 16 } | 16 } |
| 17 if (is_win) { | 17 if (is_win) { |
| 18 import("//build/config/win/visual_studio_version.gni") | 18 import("//build/config/win/visual_studio_version.gni") |
| 19 } | 19 } |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 if (use_gold) { | 81 if (use_gold) { |
| 82 gold_path = rebase_path("//third_party/binutils/Linux_x64/Release/bin", | 82 gold_path = rebase_path("//third_party/binutils/Linux_x64/Release/bin", |
| 83 root_build_dir) | 83 root_build_dir) |
| 84 } else { | 84 } else { |
| 85 gold_path = "" | 85 gold_path = "" |
| 86 } | 86 } |
| 87 } | 87 } |
| 88 | 88 |
| 89 if (use_debug_fission == "default") { | 89 if (use_debug_fission == "default") { |
| 90 use_debug_fission = is_debug && !is_win && use_gold && | 90 use_debug_fission = is_debug && !is_win && use_gold && |
| 91 linux_use_bundled_binutils && !use_ccache | 91 linux_use_bundled_binutils && cc_wrapper == "" |
| 92 } | 92 } |
| 93 | 93 |
| 94 # default_include_dirs --------------------------------------------------------- | 94 # default_include_dirs --------------------------------------------------------- |
| 95 # | 95 # |
| 96 # This is a separate config so that third_party code (which would not use the | 96 # This is a separate config so that third_party code (which would not use the |
| 97 # source root and might have conflicting versions of some headers) can remove | 97 # source root and might have conflicting versions of some headers) can remove |
| 98 # this and specify their own include paths. | 98 # this and specify their own include paths. |
| 99 config("default_include_dirs") { | 99 config("default_include_dirs") { |
| 100 include_dirs = [ | 100 include_dirs = [ |
| 101 "//", | 101 "//", |
| (...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1313 if (symbol_level == 0) { | 1313 if (symbol_level == 0) { |
| 1314 configs = [ ":no_symbols" ] | 1314 configs = [ ":no_symbols" ] |
| 1315 } else if (symbol_level == 1) { | 1315 } else if (symbol_level == 1) { |
| 1316 configs = [ ":minimal_symbols" ] | 1316 configs = [ ":minimal_symbols" ] |
| 1317 } else if (symbol_level == 2) { | 1317 } else if (symbol_level == 2) { |
| 1318 configs = [ ":symbols" ] | 1318 configs = [ ":symbols" ] |
| 1319 } else { | 1319 } else { |
| 1320 assert(false) | 1320 assert(false) |
| 1321 } | 1321 } |
| 1322 } | 1322 } |
| OLD | NEW |