Index: gyp/giflib.gyp |
diff --git a/gyp/giflib.gyp b/gyp/giflib.gyp |
index 57b3c276546e0890403be73b957304e91fdde2c5..2dd1f06b398cb3cdc8b53c7ef0173ad19338a653 100644 |
--- a/gyp/giflib.gyp |
+++ b/gyp/giflib.gyp |
@@ -14,11 +14,10 @@ |
[ 'skia_android_framework == 0', |
{ |
'type': 'static_library', |
- 'defines': [ |
- 'HAVE_CONFIG_H', |
- ], |
'include_dirs': [ |
'../third_party/externals/giflib', |
+ # Used to include a dummy unistd.h file for windows |
+ '../third_party/giflib', |
djsollen
2015/03/31 17:33:02
only add this include directory on windows.
msarett
2015/03/31 17:41:19
Done.
|
], |
'dependencies': [ |
], |
@@ -35,6 +34,13 @@ |
'-w' |
], |
}, |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'AdditionalOptions': [ |
+ '/w', |
+ ], |
+ }, |
+ }, |
'sources': [ |
'../third_party/externals/giflib/dgif_lib.c', |
'../third_party/externals/giflib/gifalloc.c', |