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

Side by Side Diff: gyp/dng_sdk.gyp

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