Index: gyp/codec.gyp |
diff --git a/gyp/codec.gyp b/gyp/codec.gyp |
index d7272e2a7a9b80f340aa209e1b865151d9fbb09a..eb87de1faa04e4bfd660cdd26de7a091830e60c2 100644 |
--- a/gyp/codec.gyp |
+++ b/gyp/codec.gyp |
@@ -67,8 +67,8 @@ |
'TURBO_HAS_SKIP', |
], |
'conditions': [ |
- # FIXME: fix the support for Windows. (Issue with _hypot in DNG SDK). |
- ['skia_codec_decodes_raw and skia_os != "win" and skia_os != "chromeos"', { |
+ # FIXME: fix the support for ChromeOS [DNG SDK issue with clock_gettime()]. |
+ ['skia_codec_decodes_raw and skia_os != "chromeos"', { |
scroggo
2016/01/27 16:40:22
I think a better fix for this is to not define ski
|
'dependencies': [ |
'raw_codec', |
], |
@@ -89,6 +89,13 @@ |
'cflags':[ |
'-fexceptions', |
], |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ # Need this because we are handling exception in SkRawCodec, which will trigger warning |
+ # C4530. Add this flag as suggested by the compiler. |
+ 'AdditionalOptions': ['/EHsc', ], |
+ }, |
+ }, |
'include_dirs': [ |
'../include/codec', |
'../include/private', |