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

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

Issue 2214743002: Win/GN: Make no_exception config explicit. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo change to config/win Created 4 years, 4 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/compiler/compiler.gni") 5 import("//build/config/compiler/compiler.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/sysroot.gni") 7 import("//build/config/sysroot.gni")
8 import("//build/toolchain/toolchain.gni") 8 import("//build/toolchain/toolchain.gni")
9 9
10 # This config causes functions not to be automatically exported from shared 10 # This config causes functions not to be automatically exported from shared
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 # TODO(GYP): Do we need a check on the binutils version here? 111 # TODO(GYP): Do we need a check on the binutils version here?
112 # 112 #
113 # Newer binutils don't set DT_RPATH unless you disable "new" dtags 113 # Newer binutils don't set DT_RPATH unless you disable "new" dtags
114 # and the new DT_RUNPATH doesn't work without --no-as-needed flag. 114 # and the new DT_RUNPATH doesn't work without --no-as-needed flag.
115 "-Wl,--disable-new-dtags", 115 "-Wl,--disable-new-dtags",
116 ] 116 ]
117 } 117 }
118 } 118 }
119 119
120 # TODO(jmadill): Remove this when ANGLE and libc++ don't depend on it.
brettw 2016/08/31 17:01:20 I don't see how leaving this here helps ANGLE. It
120 config("no_exceptions") { 121 config("no_exceptions") {
121 cflags_cc = [ "-fno-exceptions" ] 122 cflags_cc = [ "-fno-exceptions" ]
122 cflags_objcc = cflags_cc 123 cflags_objcc = cflags_cc
123 } 124 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698