From 5a6c2d8208ab9ca4f6a578545a2a282b4f27e593 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Fri, 14 Jun 2013 17:10:09 +0000 Subject: [PATCH] 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 --- gyp/common_conditions.gypi | 9 +++++++++ gyp/common_variables.gypi | 1 + 2 files changed, 10 insertions(+) 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)', -- 2.7.4