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

Side by Side Diff: gyp/dng_sdk.gyp

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

Powered by Google App Engine
This is Rietveld 408576698