diff options
-rw-r--r-- | gyp/common_conditions.gypi | 9 | ||||
-rw-r--r-- | gyp/common_variables.gypi | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index cceb5562f9..cf8cbdeaa4 100644 --- a/gyp/common_conditions.gypi +++ b/gyp/common_conditions.gypi @@ -113,6 +113,15 @@ }, }, }], + [ 'skia_win_exceptions', { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'AdditionalOptions': [ + '/EHsc', + ], + }, + }, + }], ], }, ], diff --git a/gyp/common_variables.gypi b/gyp/common_variables.gypi index 9f65b34845..9b44e41a9e 100644 --- a/gyp/common_variables.gypi +++ b/gyp/common_variables.gypi @@ -120,6 +120,7 @@ 'skia_arch_type%': '<(skia_arch_type)', 'skia_directwrite%': '<(skia_directwrite)', 'skia_gpu%': '<(skia_gpu)', + 'skia_win_exceptions%': 0, 'skia_osx_sdkroot%': '<(skia_osx_sdkroot)', 'skia_profile_enabled%': '<(skia_profile_enabled)', 'skia_shared_lib%': '<(skia_shared_lib)', |