Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: gyp/dng_sdk.gyp

Issue 1624513003: Add RAW decoding support to Skia (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix sample_dng in resources, Treat less warnings as errors Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gyp/common_variables.gypi ('k') | gyp/piex.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 Google Inc.
2 #
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5 # The Adobe DNG SDK, an API for reading and writing DNG files.
6 {
7 'target_defaults': {
8 'cflags': [
9 '-w',
10 ],
11 'msvs_settings': {
12 'VCCLCompilerTool': {
13 'WarningLevel': '0',
14 },
15 },
16 'xcode_settings': {
17 'WARNING_CFLAGS': ['-w'],
18 },
19 },
20 'targets': [{
21 'target_name': 'dng_sdk-selector',
22 'type': 'none',
23 'conditions': [
24 [ 'skia_android_framework', {
25 'dependencies': [ 'android_deps.gyp:dng_sdk' ],
26 'export_dependent_settings': [ 'android_deps.gyp:dng_sdk' ],
27 }, {
28 'dependencies': [ 'dng_sdk' ],
29 'export_dependent_settings': [ 'dng_sdk' ],
30 }]
31 ]
32 },{
33 'target_name': 'dng_sdk',
34 'type': 'static_library',
35 'cflags_cc': [ '-fexceptions' ],
36 'cflags': [
37 '-fexceptions',
38 ],
39 'dependencies': [
40 'dng_dont_report_errors_flags',
41 'dng_flags',
42 'dng_frame_larger_than_flags',
43 'dng_srcs',
44 'linux_flags',
45 ],
46 'direct_dependent_settings': {
47 'include_dirs': [
48 '../third_party/externals/dng_sdk/source',
49 ],
50 },
51 }, {
52 'target_name': 'dng_srcs',
53 'type': 'none',
54 'variables': {
55 'headers': [
56 '../third_party/externals/dng_sdk/source/RawEnvironment.h',
57 '../third_party/externals/dng_sdk/source/dng_1d_function.h',
58 '../third_party/externals/dng_sdk/source/dng_1d_table.h',
59 '../third_party/externals/dng_sdk/source/dng_abort_sniffer.h',
60 '../third_party/externals/dng_sdk/source/dng_area_task.h',
61 '../third_party/externals/dng_sdk/source/dng_assertions.h',
62 '../third_party/externals/dng_sdk/source/dng_auto_ptr.h',
63 '../third_party/externals/dng_sdk/source/dng_bad_pixels.h',
64 '../third_party/externals/dng_sdk/source/dng_bottlenecks.h',
65 '../third_party/externals/dng_sdk/source/dng_camera_profile.h',
66 '../third_party/externals/dng_sdk/source/dng_classes.h',
67 '../third_party/externals/dng_sdk/source/dng_color_space.h',
68 '../third_party/externals/dng_sdk/source/dng_color_spec.h',
69 '../third_party/externals/dng_sdk/source/dng_date_time.h',
70 '../third_party/externals/dng_sdk/source/dng_errors.h',
71 '../third_party/externals/dng_sdk/source/dng_exceptions.h',
72 '../third_party/externals/dng_sdk/source/dng_exif.h',
73 '../third_party/externals/dng_sdk/source/dng_fast_module.h',
74 '../third_party/externals/dng_sdk/source/dng_file_stream.h',
75 '../third_party/externals/dng_sdk/source/dng_filter_task.h',
76 '../third_party/externals/dng_sdk/source/dng_fingerprint.h',
77 '../third_party/externals/dng_sdk/source/dng_flags.h',
78 '../third_party/externals/dng_sdk/source/dng_gain_map.h',
79 '../third_party/externals/dng_sdk/source/dng_globals.h',
80 '../third_party/externals/dng_sdk/source/dng_host.h',
81 '../third_party/externals/dng_sdk/source/dng_hue_sat_map.h',
82 '../third_party/externals/dng_sdk/source/dng_ifd.h',
83 '../third_party/externals/dng_sdk/source/dng_image.h',
84 '../third_party/externals/dng_sdk/source/dng_image_writer.h',
85 '../third_party/externals/dng_sdk/source/dng_info.h',
86 '../third_party/externals/dng_sdk/source/dng_iptc.h',
87 '../third_party/externals/dng_sdk/source/dng_jpeg_image.h',
88 '../third_party/externals/dng_sdk/source/dng_lens_correction.h',
89 '../third_party/externals/dng_sdk/source/dng_linearization_info.h',
90 '../third_party/externals/dng_sdk/source/dng_lossless_jpeg.h',
91 '../third_party/externals/dng_sdk/source/dng_matrix.h',
92 '../third_party/externals/dng_sdk/source/dng_memory.h',
93 '../third_party/externals/dng_sdk/source/dng_memory_stream.h',
94 '../third_party/externals/dng_sdk/source/dng_misc_opcodes.h',
95 '../third_party/externals/dng_sdk/source/dng_mosaic_info.h',
96 '../third_party/externals/dng_sdk/source/dng_mutex.h',
97 '../third_party/externals/dng_sdk/source/dng_negative.h',
98 '../third_party/externals/dng_sdk/source/dng_opcode_list.h',
99 '../third_party/externals/dng_sdk/source/dng_opcodes.h',
100 '../third_party/externals/dng_sdk/source/dng_orientation.h',
101 '../third_party/externals/dng_sdk/source/dng_parse_utils.h',
102 '../third_party/externals/dng_sdk/source/dng_pixel_buffer.h',
103 '../third_party/externals/dng_sdk/source/dng_point.h',
104 '../third_party/externals/dng_sdk/source/dng_preview.h',
105 '../third_party/externals/dng_sdk/source/dng_pthread.h',
106 '../third_party/externals/dng_sdk/source/dng_rational.h',
107 '../third_party/externals/dng_sdk/source/dng_read_image.h',
108 '../third_party/externals/dng_sdk/source/dng_rect.h',
109 '../third_party/externals/dng_sdk/source/dng_ref_counted_block.h',
110 '../third_party/externals/dng_sdk/source/dng_reference.h',
111 '../third_party/externals/dng_sdk/source/dng_render.h',
112 '../third_party/externals/dng_sdk/source/dng_resample.h',
113 '../third_party/externals/dng_sdk/source/dng_sdk_limits.h',
114 '../third_party/externals/dng_sdk/source/dng_shared.h',
115 '../third_party/externals/dng_sdk/source/dng_simple_image.h',
116 '../third_party/externals/dng_sdk/source/dng_spline.h',
117 '../third_party/externals/dng_sdk/source/dng_stream.h',
118 '../third_party/externals/dng_sdk/source/dng_string.h',
119 '../third_party/externals/dng_sdk/source/dng_string_list.h',
120 '../third_party/externals/dng_sdk/source/dng_tag_codes.h',
121 '../third_party/externals/dng_sdk/source/dng_tag_types.h',
122 '../third_party/externals/dng_sdk/source/dng_tag_values.h',
123 '../third_party/externals/dng_sdk/source/dng_temperature.h',
124 '../third_party/externals/dng_sdk/source/dng_tile_iterator.h',
125 '../third_party/externals/dng_sdk/source/dng_tone_curve.h',
126 '../third_party/externals/dng_sdk/source/dng_types.h',
127 '../third_party/externals/dng_sdk/source/dng_uncopyable.h',
128 '../third_party/externals/dng_sdk/source/dng_utils.h',
129 '../third_party/externals/dng_sdk/source/dng_xy_coord.h',
130 '../third_party/externals/dng_sdk/source/dng_jpeg_memory_source.h',
131 '../third_party/externals/dng_sdk/source/dng_jpeglib.h',
132 '../third_party/externals/dng_sdk/source/dng_safe_arithmetic.h',
133 ],
134 },
135 'dependencies': [
136 'libjpeg-turbo.gyp:libjpeg-turbo',
137 'zlib.gyp:zlib',
138 ],
139 'export_dependent_settings': [
140 'libjpeg-turbo.gyp:libjpeg-turbo',
141 'zlib.gyp:zlib',
142 ],
143 'direct_dependent_settings': {
144 'sources': [
145 '../third_party/externals/dng_sdk/source/dng_1d_function.cpp',
146 '../third_party/externals/dng_sdk/source/dng_1d_table.cpp',
147 '../third_party/externals/dng_sdk/source/dng_abort_sniffer.cpp',
148 '../third_party/externals/dng_sdk/source/dng_area_task.cpp',
149 '../third_party/externals/dng_sdk/source/dng_bad_pixels.cpp',
150 '../third_party/externals/dng_sdk/source/dng_bottlenecks.cpp',
151 '../third_party/externals/dng_sdk/source/dng_camera_profile.cpp',
152 '../third_party/externals/dng_sdk/source/dng_color_space.cpp',
153 '../third_party/externals/dng_sdk/source/dng_color_spec.cpp',
154 '../third_party/externals/dng_sdk/source/dng_date_time.cpp',
155 '../third_party/externals/dng_sdk/source/dng_exceptions.cpp',
156 '../third_party/externals/dng_sdk/source/dng_exif.cpp',
157 '../third_party/externals/dng_sdk/source/dng_file_stream.cpp',
158 '../third_party/externals/dng_sdk/source/dng_filter_task.cpp',
159 '../third_party/externals/dng_sdk/source/dng_fingerprint.cpp',
160 '../third_party/externals/dng_sdk/source/dng_gain_map.cpp',
161 '../third_party/externals/dng_sdk/source/dng_globals.cpp',
162 '../third_party/externals/dng_sdk/source/dng_host.cpp',
163 '../third_party/externals/dng_sdk/source/dng_hue_sat_map.cpp',
164 '../third_party/externals/dng_sdk/source/dng_ifd.cpp',
165 '../third_party/externals/dng_sdk/source/dng_image.cpp',
166 '../third_party/externals/dng_sdk/source/dng_image_writer.cpp',
167 '../third_party/externals/dng_sdk/source/dng_info.cpp',
168 '../third_party/externals/dng_sdk/source/dng_iptc.cpp',
169 '../third_party/externals/dng_sdk/source/dng_jpeg_image.cpp',
170 '../third_party/externals/dng_sdk/source/dng_lens_correction.cpp',
171 '../third_party/externals/dng_sdk/source/dng_linearization_info.cpp',
172 '../third_party/externals/dng_sdk/source/dng_lossless_jpeg.cpp',
173 '../third_party/externals/dng_sdk/source/dng_matrix.cpp',
174 '../third_party/externals/dng_sdk/source/dng_memory.cpp',
175 '../third_party/externals/dng_sdk/source/dng_memory_stream.cpp',
176 '../third_party/externals/dng_sdk/source/dng_misc_opcodes.cpp',
177 '../third_party/externals/dng_sdk/source/dng_mosaic_info.cpp',
178 '../third_party/externals/dng_sdk/source/dng_mutex.cpp',
179 '../third_party/externals/dng_sdk/source/dng_negative.cpp',
180 '../third_party/externals/dng_sdk/source/dng_opcode_list.cpp',
181 '../third_party/externals/dng_sdk/source/dng_opcodes.cpp',
182 '../third_party/externals/dng_sdk/source/dng_orientation.cpp',
183 '../third_party/externals/dng_sdk/source/dng_parse_utils.cpp',
184 '../third_party/externals/dng_sdk/source/dng_pixel_buffer.cpp',
185 '../third_party/externals/dng_sdk/source/dng_point.cpp',
186 '../third_party/externals/dng_sdk/source/dng_preview.cpp',
187 '../third_party/externals/dng_sdk/source/dng_pthread.cpp',
188 '../third_party/externals/dng_sdk/source/dng_rational.cpp',
189 '../third_party/externals/dng_sdk/source/dng_read_image.cpp',
190 '../third_party/externals/dng_sdk/source/dng_rect.cpp',
191 '../third_party/externals/dng_sdk/source/dng_ref_counted_block.cpp',
192 '../third_party/externals/dng_sdk/source/dng_reference.cpp',
193 '../third_party/externals/dng_sdk/source/dng_render.cpp',
194 '../third_party/externals/dng_sdk/source/dng_resample.cpp',
195 '../third_party/externals/dng_sdk/source/dng_shared.cpp',
196 '../third_party/externals/dng_sdk/source/dng_simple_image.cpp',
197 '../third_party/externals/dng_sdk/source/dng_spline.cpp',
198 '../third_party/externals/dng_sdk/source/dng_stream.cpp',
199 '../third_party/externals/dng_sdk/source/dng_string.cpp',
200 '../third_party/externals/dng_sdk/source/dng_string_list.cpp',
201 '../third_party/externals/dng_sdk/source/dng_tag_types.cpp',
202 '../third_party/externals/dng_sdk/source/dng_temperature.cpp',
203 '../third_party/externals/dng_sdk/source/dng_tile_iterator.cpp',
204 '../third_party/externals/dng_sdk/source/dng_tone_curve.cpp',
205 '../third_party/externals/dng_sdk/source/dng_utils.cpp',
206 '../third_party/externals/dng_sdk/source/dng_xy_coord.cpp',
207 '../third_party/externals/dng_sdk/source/dng_jpeg_memory_source.cpp',
208 '../third_party/externals/dng_sdk/source/dng_safe_arithmetic.cpp',
209 ],
210 'include_dirs': [
211 '../third_party/externals/dng_sdk/source',
212 '../third_party/externals/libjpeg-turbo',
213 ],
214 'conditions': [
215 ['skia_os != "linux"', {
216 'sources': ['<@(headers)'],
217 }],
218 ],
219 },
220 }, {
221 'target_name': 'dng_flags',
222 'type': 'none',
223 'direct_dependent_settings': {
224 'cflags_cc!': [ '-fno-rtti' ],
225 'cflags': [
226 '-DqDNGThreadSafe=1',
227 '-DqDNGUseLibJPEG=1',
228 '-DqDNGValidateTarget=1',
229 '-DqDNGUseXMP=0',
230 '-DqDNGBigEndian=0',
231 '-w',
232 '-fexceptions',
233 '-frtti',
234 ],
235 'conditions': [
236 ['skia_os == "ios" or skia_os == "mac"', {
237 'xcode_settings': {
238 'OTHER_CFLAGS': [
239 '-DqDNGThreadSafe=1',
240 '-DqDNGUseLibJPEG=1',
241 '-DqDNGValidateTarget=1',
242 '-DqDNGUseXMP=0',
243 '-DqDNGBigEndian=0',
244 '-w',
245 '-fexceptions',
246 '-frtti',
247 ],
248 'OTHER_CPLUSPLUSFLAGS': [
249 '-DqDNGThreadSafe=1',
250 '-DqDNGUseLibJPEG=1',
251 '-DqDNGValidateTarget=1',
252 '-DqDNGUseXMP=0',
253 '-DqDNGBigEndian=0',
254 '-w',
255 '-fexceptions',
256 '-frtti',
257 ],
258 },
259 }],
260 ],
261 },
262 }, {
263 'target_name': 'linux_flags',
264 'type': 'none',
265 'direct_dependent_settings': {
266 'cflags': ['-DUNIX_ENV=1'],
267 },
268 }, {
269 'target_name': 'dng_dont_report_errors_flags',
270 'type': 'none',
271 'direct_dependent_settings': {
272 'cflags': [
273 '-DqDNGReportErrors=0',
274 '-DqDNGValidate=0',
275 ],
276 },
277 }, {
278 'target_name': 'dng_frame_larger_than_flags',
279 'type': 'none',
280 'direct_dependent_settings': {
281 'cflags': ['-Wframe-larger-than=20000'],
282 },
283 }],
284 }
OLDNEW
« no previous file with comments | « gyp/common_variables.gypi ('k') | gyp/piex.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698