Chromium Code Reviews| Index: build/config/win/BUILD.gn |
| diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn |
| index 90be9952c799d796c16958800bcd5362b2d0a9e5..155a973f91cee5a842e0d71f35c5aaaec2a90319 100644 |
| --- a/build/config/win/BUILD.gn |
| +++ b/build/config/win/BUILD.gn |
| @@ -156,6 +156,11 @@ config("vs_code_analysis") { |
| } |
| } |
| +# This should go in :runtime_library. |
|
brettw
2016/08/04 22:28:25
This comment doesn't make sense to me.
|
| +config("no_exceptions") { |
| + defines = [ "_HAS_EXCEPTIONS=0" ] |
| +} |
| + |
| # This is included by reference in the //build/config/compiler:runtime_library |
| # config that is applied to all targets. It is here to separate out the logic |
| # that is Windows-only. Please see that target for advice on what should go in |
| @@ -168,7 +173,6 @@ config("runtime_library") { |
| "__STD_C", |
| "_CRT_RAND_S", |
| "_CRT_SECURE_NO_DEPRECATE", |
| - "_HAS_EXCEPTIONS=0", |
| "_SCL_SECURE_NO_DEPRECATE", |
| ] |