Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 1178603002: Try to fix the Win-Clang gn build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 if (current_cpu == "arm") { 7 if (current_cpu == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 if (current_cpu == "mipsel" || current_cpu == "mips64el") { 10 if (current_cpu == "mipsel" || current_cpu == "mips64el") {
11 import("//build/config/mips.gni") 11 import("//build/config/mips.gni")
12 } 12 }
13 if (is_posix) { 13 if (is_posix) {
14 import("//build/config/gcc/gcc_version.gni") 14 import("//build/config/gcc/gcc_version.gni")
15 } 15 }
16 if (is_win) {
17 import("//build/config/win/visual_studio_version.gni")
18 }
16 19
17 import("//build/toolchain/ccache.gni") 20 import("//build/toolchain/ccache.gni")
18 import("//build/config/sanitizers/sanitizers.gni") 21 import("//build/config/sanitizers/sanitizers.gni")
19 22
20 declare_args() { 23 declare_args() {
21 # Normally, Android builds are lightly optimized, even for debug builds, to 24 # Normally, Android builds are lightly optimized, even for debug builds, to
22 # keep binary size down. Setting this flag to true disables such optimization 25 # keep binary size down. Setting this flag to true disables such optimization
23 android_full_debug = false 26 android_full_debug = false
24 27
25 # Whether to use the binary binutils checked into third_party/binutils. 28 # Whether to use the binary binutils checked into third_party/binutils.
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 cflags += [ "-gsplit-dwarf" ] 1256 cflags += [ "-gsplit-dwarf" ]
1254 } 1257 }
1255 } 1258 }
1256 } 1259 }
1257 1260
1258 config("no_symbols") { 1261 config("no_symbols") {
1259 if (!is_win) { 1262 if (!is_win) {
1260 cflags = [ "-g0" ] 1263 cflags = [ "-g0" ]
1261 } 1264 }
1262 } 1265 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698