aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar yujieqin <yujieqin@google.com>2016-02-29 07:14:42 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-29 07:14:42 -0800
commitf236ee4e44662e519db4b4997eee5d2bc8543f9c (patch)
treeeabb285ab13b2b22e3beddea95dee94b1dd8476c /gyp
parente93c17b35af5ebc16af8bb09fd5a83d61a25d879 (diff)
Enable RAW codec for Windows
Diffstat (limited to 'gyp')
-rw-r--r--gyp/common_variables.gypi10
-rw-r--r--gyp/dng_sdk.gyp11
2 files changed, 13 insertions, 8 deletions
diff --git a/gyp/common_variables.gypi b/gyp/common_variables.gypi
index 0688f627b9..e26939f864 100644
--- a/gyp/common_variables.gypi
+++ b/gyp/common_variables.gypi
@@ -53,19 +53,15 @@
'skia_os%': '<(skia_os)',
'vulkan_merged_into_skia': '1',
'skia_android_framework%': 0,
+ # RAW codec needs exceptions. Due to that, it is a separate target. Its usage can be
+ # controlled by skia_codec_decodes_raw.
+ 'skia_codec_decodes_raw%': 1,
'conditions' : [
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "mac"]', {
'skia_arch_type%': 'x86_64',
}, {
'skia_arch_type%': 'x86',
}],
- # RAW codec needs exceptions. Due to that, it is a separate target. Its usage can be
- # controlled by skia_codec_decodes_raw.
- ['skia_os == "win"', {
- 'skia_codec_decodes_raw%' : 0,
- }, {
- 'skia_codec_decodes_raw%' : 1,
- }],
],
'arm_version%': 0,
'arm_neon%': 0,
diff --git a/gyp/dng_sdk.gyp b/gyp/dng_sdk.gyp
index 7655fd3885..3d426241e6 100644
--- a/gyp/dng_sdk.gyp
+++ b/gyp/dng_sdk.gyp
@@ -127,7 +127,16 @@
'msvs_settings': {
'VCCLCompilerTool': {
'WarningLevel': '0',
- 'AdditionalOptions': ['/wd4189', ],
+ 'AdditionalOptions': [
+ '/wd4189',
+ '/DqDNGBigEndian#0',
+ '/DqDNGReportErrors#0',
+ '/DqDNGThreadSafe#1',
+ '/DqDNGUseLibJPEG#1',
+ '/DqDNGUseXMP#0',
+ '/DqDNGValidate#0',
+ '/DqDNGValidateTarget#1',
+ ],
},
},
}],