Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 } |
| OLD | NEW |