From: commit-bot@chromium.org Date: Fri, 14 Jun 2013 17:10:09 +0000 (+0000) Subject: Add skia_exceptinos gyp define X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~12086 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a6c2d8208ab9ca4f6a578545a2a282b4f27e593;p=platform%2Fupstream%2FlibSkiaSharp.git Add skia_exceptinos gyp define R=robertphillips@google.com Author: borenet@google.com Review URL: https://chromiumcodereview.appspot.com/17094003 git-svn-id: http://skia.googlecode.com/svn/trunk@9615 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index cceb556..cf8cbde 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 9f65b34..9b44e41 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)',