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

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