OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # The Adobe DNG SDK, an API for reading and writing DNG files. | 5 # The Adobe DNG SDK, an API for reading and writing DNG files. |
6 { | 6 { |
7 'variables': { | 7 'variables': { |
8 'other_cflags': [ | 8 'other_cflags': [ |
9 '-DqDNGBigEndian=0', | 9 '-DqDNGBigEndian=0', |
10 '-DqDNGReportErrors=0', | 10 '-DqDNGReportErrors=0', |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 ['skia_os == "ios" or skia_os == "mac"', { | 120 ['skia_os == "ios" or skia_os == "mac"', { |
121 'xcode_settings': { | 121 'xcode_settings': { |
122 'OTHER_CFLAGS': [ '<@(other_cflags)' ], | 122 'OTHER_CFLAGS': [ '<@(other_cflags)' ], |
123 'OTHER_CPLUSPLUSFLAGS': [ '<@(other_cflags)' ], | 123 'OTHER_CPLUSPLUSFLAGS': [ '<@(other_cflags)' ], |
124 }, | 124 }, |
125 }], | 125 }], |
126 ['skia_os == "win"', { | 126 ['skia_os == "win"', { |
127 'msvs_settings': { | 127 'msvs_settings': { |
128 'VCCLCompilerTool': { | 128 'VCCLCompilerTool': { |
129 'WarningLevel': '0', | 129 'WarningLevel': '0', |
130 'AdditionalOptions': [ | 130 'AdditionalOptions': ['/wd4189', ], |
131 '/wd4189', | |
132 '/DqDNGBigEndian#0', | |
133 '/DqDNGReportErrors#0', | |
134 '/DqDNGThreadSafe#1', | |
135 '/DqDNGUseLibJPEG#1', | |
136 '/DqDNGUseXMP#0', | |
137 '/DqDNGValidate#0', | |
138 '/DqDNGValidateTarget#1', | |
139 ], | |
140 }, | 131 }, |
141 }, | 132 }, |
142 }], | 133 }], |
143 ['skia_os != "linux"', { | 134 ['skia_os != "linux"', { |
144 'sources': ['<@(headers)'], | 135 'sources': ['<@(headers)'], |
145 }], | 136 }], |
146 ], | 137 ], |
147 'dependencies': [ | 138 'dependencies': [ |
148 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', | 139 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', |
149 'zlib.gyp:zlib', | 140 'zlib.gyp:zlib', |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 '../third_party/externals/dng_sdk/source/dng_temperature.cpp', | 209 '../third_party/externals/dng_sdk/source/dng_temperature.cpp', |
219 '../third_party/externals/dng_sdk/source/dng_tile_iterator.cpp', | 210 '../third_party/externals/dng_sdk/source/dng_tile_iterator.cpp', |
220 '../third_party/externals/dng_sdk/source/dng_tone_curve.cpp', | 211 '../third_party/externals/dng_sdk/source/dng_tone_curve.cpp', |
221 '../third_party/externals/dng_sdk/source/dng_utils.cpp', | 212 '../third_party/externals/dng_sdk/source/dng_utils.cpp', |
222 '../third_party/externals/dng_sdk/source/dng_xy_coord.cpp', | 213 '../third_party/externals/dng_sdk/source/dng_xy_coord.cpp', |
223 '../third_party/externals/dng_sdk/source/dng_jpeg_memory_source.cpp', | 214 '../third_party/externals/dng_sdk/source/dng_jpeg_memory_source.cpp', |
224 '../third_party/externals/dng_sdk/source/dng_safe_arithmetic.cpp', | 215 '../third_party/externals/dng_sdk/source/dng_safe_arithmetic.cpp', |
225 ], | 216 ], |
226 }], | 217 }], |
227 } | 218 } |
OLD | NEW |