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

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

Issue 1235033008: Remove /fallback flag from 32-bit clang-cl invocations and enable -Werror (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « build/common.gypi ('k') | 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") {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 "/FIIntrin.h", 116 "/FIIntrin.h",
117 ] 117 ]
118 118
119 if (visual_studio_version == "2013") { 119 if (visual_studio_version == "2013") {
120 cflags += [ "-fmsc-version=1800" ] 120 cflags += [ "-fmsc-version=1800" ]
121 } else if (visual_studio_version == "2015") { 121 } else if (visual_studio_version == "2015") {
122 cflags += [ "-fmsc-version=1900" ] 122 cflags += [ "-fmsc-version=1900" ]
123 } 123 }
124 124
125 if (current_cpu == "x86") { 125 if (current_cpu == "x86") {
126 cflags += [ 126 cflags += [ "-m32" ]
127 "/fallback",
128 "-m32",
129 ]
130 } else { 127 } else {
131 cflags += [ "-m64" ] 128 cflags += [ "-m64" ]
132 } 129 }
133 if (exec_script("//build/win/use_ansi_codes.py", [], "trim string") == 130 if (exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
134 "True") { 131 "True") {
135 cflags += [ 132 cflags += [
136 # cmd.exe doesn't understand ANSI escape codes by default, 133 # cmd.exe doesn't understand ANSI escape codes by default,
137 # so only enable them if something emulating them is around. 134 # so only enable them if something emulating them is around.
138 "-fansi-escape-codes", 135 "-fansi-escape-codes",
139 ] 136 ]
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 cflags += [ "-gsplit-dwarf" ] 1232 cflags += [ "-gsplit-dwarf" ]
1236 } 1233 }
1237 } 1234 }
1238 } 1235 }
1239 1236
1240 config("no_symbols") { 1237 config("no_symbols") {
1241 if (!is_win) { 1238 if (!is_win) {
1242 cflags = [ "-g0" ] 1239 cflags = [ "-g0" ]
1243 } 1240 }
1244 } 1241 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698