Chromium Code Reviews| Index: build/config/BUILDCONFIG.gn |
| diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn |
| index b05247e92ee117c7cfa055aa8d2112d530b5416e..01d59fd46f9a01ec6323d9c9eeca8846e80348ff 100644 |
| --- a/build/config/BUILDCONFIG.gn |
| +++ b/build/config/BUILDCONFIG.gn |
| @@ -324,10 +324,17 @@ if (is_win) { |
| "//build/config/win:sdk", |
| "//build/config/win:unicode", |
| ] |
| + if (is_component_build) { |
| + _native_compiler_configs += [ "//build/config/compiler:exceptions" ] |
|
Nico
2014/07/31 23:15:23
This isn't right, see https://codereview.chromium.
scottmg
2014/07/31 23:24:31
OK, this is mostly just a port of existing behavio
|
| + } else { |
| + # We don't use exceptions, and when we link statically we can just get |
| + # rid of them entirely. |
| + _native_compiler_configs += [ "//build/config/compiler:no_exceptions" ] |
| + } |
| } |
| if (is_posix) { |
| _native_compiler_configs += [ |
| - "//build/config/gcc:no_exceptions", |
| + "//build/config/compiler:no_exceptions", |
| "//build/config/gcc:symbol_visibility_hidden", |
| ] |
| } |