| 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': { |
| 8 'other_cflags': [ |
| 9 '-DqDNGBigEndian=0', |
| 10 '-DqDNGReportErrors=0', |
| 11 '-DqDNGThreadSafe=1', |
| 12 '-DqDNGUseLibJPEG=1', |
| 13 '-DqDNGUseXMP=0', |
| 14 '-DqDNGValidate=0', |
| 15 '-DqDNGValidateTarget=1', |
| 16 '-fexceptions', |
| 17 '-frtti', |
| 18 '-w', |
| 19 '-Wframe-larger-than=20000', |
| 20 '-DUNIX_ENV=1', |
| 21 |
| 22 # FIXME: only disable ::posix_memalign() when needed. |
| 23 '-DNO_POSIX_MEMALIGN', |
| 24 ], |
| 25 'headers': [ |
| 26 '../third_party/externals/dng_sdk/source/RawEnvironment.h', |
| 27 '../third_party/externals/dng_sdk/source/dng_1d_function.h', |
| 28 '../third_party/externals/dng_sdk/source/dng_1d_table.h', |
| 29 '../third_party/externals/dng_sdk/source/dng_abort_sniffer.h', |
| 30 '../third_party/externals/dng_sdk/source/dng_area_task.h', |
| 31 '../third_party/externals/dng_sdk/source/dng_assertions.h', |
| 32 '../third_party/externals/dng_sdk/source/dng_auto_ptr.h', |
| 33 '../third_party/externals/dng_sdk/source/dng_bad_pixels.h', |
| 34 '../third_party/externals/dng_sdk/source/dng_bottlenecks.h', |
| 35 '../third_party/externals/dng_sdk/source/dng_camera_profile.h', |
| 36 '../third_party/externals/dng_sdk/source/dng_classes.h', |
| 37 '../third_party/externals/dng_sdk/source/dng_color_space.h', |
| 38 '../third_party/externals/dng_sdk/source/dng_color_spec.h', |
| 39 '../third_party/externals/dng_sdk/source/dng_date_time.h', |
| 40 '../third_party/externals/dng_sdk/source/dng_errors.h', |
| 41 '../third_party/externals/dng_sdk/source/dng_exceptions.h', |
| 42 '../third_party/externals/dng_sdk/source/dng_exif.h', |
| 43 '../third_party/externals/dng_sdk/source/dng_fast_module.h', |
| 44 '../third_party/externals/dng_sdk/source/dng_file_stream.h', |
| 45 '../third_party/externals/dng_sdk/source/dng_filter_task.h', |
| 46 '../third_party/externals/dng_sdk/source/dng_fingerprint.h', |
| 47 '../third_party/externals/dng_sdk/source/dng_flags.h', |
| 48 '../third_party/externals/dng_sdk/source/dng_gain_map.h', |
| 49 '../third_party/externals/dng_sdk/source/dng_globals.h', |
| 50 '../third_party/externals/dng_sdk/source/dng_host.h', |
| 51 '../third_party/externals/dng_sdk/source/dng_hue_sat_map.h', |
| 52 '../third_party/externals/dng_sdk/source/dng_ifd.h', |
| 53 '../third_party/externals/dng_sdk/source/dng_image.h', |
| 54 '../third_party/externals/dng_sdk/source/dng_image_writer.h', |
| 55 '../third_party/externals/dng_sdk/source/dng_info.h', |
| 56 '../third_party/externals/dng_sdk/source/dng_iptc.h', |
| 57 '../third_party/externals/dng_sdk/source/dng_jpeg_image.h', |
| 58 '../third_party/externals/dng_sdk/source/dng_lens_correction.h', |
| 59 '../third_party/externals/dng_sdk/source/dng_linearization_info.h', |
| 60 '../third_party/externals/dng_sdk/source/dng_lossless_jpeg.h', |
| 61 '../third_party/externals/dng_sdk/source/dng_matrix.h', |
| 62 '../third_party/externals/dng_sdk/source/dng_memory.h', |
| 63 '../third_party/externals/dng_sdk/source/dng_memory_stream.h', |
| 64 '../third_party/externals/dng_sdk/source/dng_misc_opcodes.h', |
| 65 '../third_party/externals/dng_sdk/source/dng_mosaic_info.h', |
| 66 '../third_party/externals/dng_sdk/source/dng_mutex.h', |
| 67 '../third_party/externals/dng_sdk/source/dng_negative.h', |
| 68 '../third_party/externals/dng_sdk/source/dng_opcode_list.h', |
| 69 '../third_party/externals/dng_sdk/source/dng_opcodes.h', |
| 70 '../third_party/externals/dng_sdk/source/dng_orientation.h', |
| 71 '../third_party/externals/dng_sdk/source/dng_parse_utils.h', |
| 72 '../third_party/externals/dng_sdk/source/dng_pixel_buffer.h', |
| 73 '../third_party/externals/dng_sdk/source/dng_point.h', |
| 74 '../third_party/externals/dng_sdk/source/dng_preview.h', |
| 75 '../third_party/externals/dng_sdk/source/dng_pthread.h', |
| 76 '../third_party/externals/dng_sdk/source/dng_rational.h', |
| 77 '../third_party/externals/dng_sdk/source/dng_read_image.h', |
| 78 '../third_party/externals/dng_sdk/source/dng_rect.h', |
| 79 '../third_party/externals/dng_sdk/source/dng_ref_counted_block.h', |
| 80 '../third_party/externals/dng_sdk/source/dng_reference.h', |
| 81 '../third_party/externals/dng_sdk/source/dng_render.h', |
| 82 '../third_party/externals/dng_sdk/source/dng_resample.h', |
| 83 '../third_party/externals/dng_sdk/source/dng_sdk_limits.h', |
| 84 '../third_party/externals/dng_sdk/source/dng_shared.h', |
| 85 '../third_party/externals/dng_sdk/source/dng_simple_image.h', |
| 86 '../third_party/externals/dng_sdk/source/dng_spline.h', |
| 87 '../third_party/externals/dng_sdk/source/dng_stream.h', |
| 88 '../third_party/externals/dng_sdk/source/dng_string.h', |
| 89 '../third_party/externals/dng_sdk/source/dng_string_list.h', |
| 90 '../third_party/externals/dng_sdk/source/dng_tag_codes.h', |
| 91 '../third_party/externals/dng_sdk/source/dng_tag_types.h', |
| 92 '../third_party/externals/dng_sdk/source/dng_tag_values.h', |
| 93 '../third_party/externals/dng_sdk/source/dng_temperature.h', |
| 94 '../third_party/externals/dng_sdk/source/dng_tile_iterator.h', |
| 95 '../third_party/externals/dng_sdk/source/dng_tone_curve.h', |
| 96 '../third_party/externals/dng_sdk/source/dng_types.h', |
| 97 '../third_party/externals/dng_sdk/source/dng_uncopyable.h', |
| 98 '../third_party/externals/dng_sdk/source/dng_utils.h', |
| 99 '../third_party/externals/dng_sdk/source/dng_xy_coord.h', |
| 100 '../third_party/externals/dng_sdk/source/dng_jpeg_memory_source.h', |
| 101 '../third_party/externals/dng_sdk/source/dng_jpeglib.h', |
| 102 '../third_party/externals/dng_sdk/source/dng_safe_arithmetic.h', |
| 103 ], |
| 104 }, |
| 7 'targets': [{ | 105 'targets': [{ |
| 8 'target_name': 'dng_sdk-selector', | 106 'target_name': 'dng_sdk-selector', |
| 9 'type': 'none', | 107 'type': 'none', |
| 10 'conditions': [ | 108 'conditions': [ |
| 11 [ 'skia_android_framework', { | 109 [ 'skia_android_framework', { |
| 12 'dependencies': [ 'android_deps.gyp:libdng_sdk' ], | 110 'dependencies': [ 'android_deps.gyp:libdng_sdk' ], |
| 13 'export_dependent_settings': [ 'android_deps.gyp:libdng_sdk' ], | 111 'export_dependent_settings': [ 'android_deps.gyp:libdng_sdk' ], |
| 14 }, { | 112 }, { |
| 15 'dependencies': [ 'dng_sdk.gyp:dng_sdk' ], | 113 'dependencies': [ 'dng_sdk.gyp:dng_sdk' ], |
| 16 'export_dependent_settings': [ 'dng_sdk.gyp:dng_sdk' ], | 114 'export_dependent_settings': [ 'dng_sdk.gyp:dng_sdk' ], |
| 17 }] | 115 }] |
| 18 ] | 116 ] |
| 19 },{ | 117 },{ |
| 20 'target_name': 'dng_sdk', | 118 'target_name': 'dng_sdk', |
| 21 'type': 'static_library', | 119 'type': 'static_library', |
| 22 'cflags_cc': [ '-fexceptions' ], | 120 'cflags_cc!': [ '-fno-rtti' ], |
| 23 'cflags': [ | 121 'cflags': [ '<@(other_cflags)' ], |
| 24 '-fexceptions', | 122 'conditions': [ |
| 25 '-w', | 123 ['skia_os == "ios" or skia_os == "mac"', { |
| 26 # FIXME: only disable ::posix_memalign() when needed. | 124 'xcode_settings': { |
| 27 '-DNO_POSIX_MEMALIGN' | 125 'OTHER_CFLAGS': [ '<@(other_cflags)' ], |
| 126 'OTHER_CPLUSPLUSFLAGS': [ '<@(other_cflags)' ], |
| 127 }, |
| 128 }], |
| 129 ['skia_os != "linux"', { |
| 130 'sources': ['<@(headers)'], |
| 131 }], |
| 28 ], | 132 ], |
| 29 'msvs_settings': { | 133 'msvs_settings': { |
| 30 'VCCLCompilerTool': { | 134 'VCCLCompilerTool': { |
| 31 'WarningLevel': '0', | 135 'WarningLevel': '0', |
| 32 }, | 136 }, |
| 33 }, | 137 }, |
| 34 'xcode_settings': { | |
| 35 'WARNING_CFLAGS': ['-w'], | |
| 36 }, | |
| 37 'dependencies': [ | 138 'dependencies': [ |
| 38 'dng_dont_report_errors_flags', | 139 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', |
| 39 'dng_flags', | 140 'zlib.gyp:zlib', |
| 40 'dng_frame_larger_than_flags', | 141 ], |
| 41 'dng_srcs', | 142 'include_dirs': [ |
| 42 'linux_flags', | 143 '../third_party/externals/dng_sdk/source', |
| 144 '../third_party/externals/libjpeg-turbo', |
| 43 ], | 145 ], |
| 44 'direct_dependent_settings': { | 146 'direct_dependent_settings': { |
| 45 'include_dirs': [ | 147 'include_dirs': [ |
| 46 '../third_party/externals/dng_sdk/source', | 148 '../third_party/externals/dng_sdk/source', |
| 47 ], | 149 ], |
| 48 }, | 150 }, |
| 49 }, { | 151 'sources': [ |
| 50 'target_name': 'dng_srcs', | 152 '../third_party/externals/dng_sdk/source/dng_1d_function.cpp', |
| 51 'type': 'none', | 153 '../third_party/externals/dng_sdk/source/dng_1d_table.cpp', |
| 52 'variables': { | 154 '../third_party/externals/dng_sdk/source/dng_abort_sniffer.cpp', |
| 53 'headers': [ | 155 '../third_party/externals/dng_sdk/source/dng_area_task.cpp', |
| 54 '../third_party/externals/dng_sdk/source/RawEnvironment.h', | 156 '../third_party/externals/dng_sdk/source/dng_bad_pixels.cpp', |
| 55 '../third_party/externals/dng_sdk/source/dng_1d_function.h', | 157 '../third_party/externals/dng_sdk/source/dng_bottlenecks.cpp', |
| 56 '../third_party/externals/dng_sdk/source/dng_1d_table.h', | 158 '../third_party/externals/dng_sdk/source/dng_camera_profile.cpp', |
| 57 '../third_party/externals/dng_sdk/source/dng_abort_sniffer.h', | 159 '../third_party/externals/dng_sdk/source/dng_color_space.cpp', |
| 58 '../third_party/externals/dng_sdk/source/dng_area_task.h', | 160 '../third_party/externals/dng_sdk/source/dng_color_spec.cpp', |
| 59 '../third_party/externals/dng_sdk/source/dng_assertions.h', | 161 '../third_party/externals/dng_sdk/source/dng_date_time.cpp', |
| 60 '../third_party/externals/dng_sdk/source/dng_auto_ptr.h', | 162 '../third_party/externals/dng_sdk/source/dng_exceptions.cpp', |
| 61 '../third_party/externals/dng_sdk/source/dng_bad_pixels.h', | 163 '../third_party/externals/dng_sdk/source/dng_exif.cpp', |
| 62 '../third_party/externals/dng_sdk/source/dng_bottlenecks.h', | 164 '../third_party/externals/dng_sdk/source/dng_file_stream.cpp', |
| 63 '../third_party/externals/dng_sdk/source/dng_camera_profile.h', | 165 '../third_party/externals/dng_sdk/source/dng_filter_task.cpp', |
| 64 '../third_party/externals/dng_sdk/source/dng_classes.h', | 166 '../third_party/externals/dng_sdk/source/dng_fingerprint.cpp', |
| 65 '../third_party/externals/dng_sdk/source/dng_color_space.h', | 167 '../third_party/externals/dng_sdk/source/dng_gain_map.cpp', |
| 66 '../third_party/externals/dng_sdk/source/dng_color_spec.h', | 168 '../third_party/externals/dng_sdk/source/dng_globals.cpp', |
| 67 '../third_party/externals/dng_sdk/source/dng_date_time.h', | 169 '../third_party/externals/dng_sdk/source/dng_host.cpp', |
| 68 '../third_party/externals/dng_sdk/source/dng_errors.h', | 170 '../third_party/externals/dng_sdk/source/dng_hue_sat_map.cpp', |
| 69 '../third_party/externals/dng_sdk/source/dng_exceptions.h', | 171 '../third_party/externals/dng_sdk/source/dng_ifd.cpp', |
| 70 '../third_party/externals/dng_sdk/source/dng_exif.h', | 172 '../third_party/externals/dng_sdk/source/dng_image.cpp', |
| 71 '../third_party/externals/dng_sdk/source/dng_fast_module.h', | 173 '../third_party/externals/dng_sdk/source/dng_image_writer.cpp', |
| 72 '../third_party/externals/dng_sdk/source/dng_file_stream.h', | 174 '../third_party/externals/dng_sdk/source/dng_info.cpp', |
| 73 '../third_party/externals/dng_sdk/source/dng_filter_task.h', | 175 '../third_party/externals/dng_sdk/source/dng_iptc.cpp', |
| 74 '../third_party/externals/dng_sdk/source/dng_fingerprint.h', | 176 '../third_party/externals/dng_sdk/source/dng_jpeg_image.cpp', |
| 75 '../third_party/externals/dng_sdk/source/dng_flags.h', | 177 '../third_party/externals/dng_sdk/source/dng_lens_correction.cpp', |
| 76 '../third_party/externals/dng_sdk/source/dng_gain_map.h', | 178 '../third_party/externals/dng_sdk/source/dng_linearization_info.cpp', |
| 77 '../third_party/externals/dng_sdk/source/dng_globals.h', | 179 '../third_party/externals/dng_sdk/source/dng_lossless_jpeg.cpp', |
| 78 '../third_party/externals/dng_sdk/source/dng_host.h', | 180 '../third_party/externals/dng_sdk/source/dng_matrix.cpp', |
| 79 '../third_party/externals/dng_sdk/source/dng_hue_sat_map.h', | 181 '../third_party/externals/dng_sdk/source/dng_memory.cpp', |
| 80 '../third_party/externals/dng_sdk/source/dng_ifd.h', | 182 '../third_party/externals/dng_sdk/source/dng_memory_stream.cpp', |
| 81 '../third_party/externals/dng_sdk/source/dng_image.h', | 183 '../third_party/externals/dng_sdk/source/dng_misc_opcodes.cpp', |
| 82 '../third_party/externals/dng_sdk/source/dng_image_writer.h', | 184 '../third_party/externals/dng_sdk/source/dng_mosaic_info.cpp', |
| 83 '../third_party/externals/dng_sdk/source/dng_info.h', | 185 '../third_party/externals/dng_sdk/source/dng_mutex.cpp', |
| 84 '../third_party/externals/dng_sdk/source/dng_iptc.h', | 186 '../third_party/externals/dng_sdk/source/dng_negative.cpp', |
| 85 '../third_party/externals/dng_sdk/source/dng_jpeg_image.h', | 187 '../third_party/externals/dng_sdk/source/dng_opcode_list.cpp', |
| 86 '../third_party/externals/dng_sdk/source/dng_lens_correction.h', | 188 '../third_party/externals/dng_sdk/source/dng_opcodes.cpp', |
| 87 '../third_party/externals/dng_sdk/source/dng_linearization_info.h', | 189 '../third_party/externals/dng_sdk/source/dng_orientation.cpp', |
| 88 '../third_party/externals/dng_sdk/source/dng_lossless_jpeg.h', | 190 '../third_party/externals/dng_sdk/source/dng_parse_utils.cpp', |
| 89 '../third_party/externals/dng_sdk/source/dng_matrix.h', | 191 '../third_party/externals/dng_sdk/source/dng_pixel_buffer.cpp', |
| 90 '../third_party/externals/dng_sdk/source/dng_memory.h', | 192 '../third_party/externals/dng_sdk/source/dng_point.cpp', |
| 91 '../third_party/externals/dng_sdk/source/dng_memory_stream.h', | 193 '../third_party/externals/dng_sdk/source/dng_preview.cpp', |
| 92 '../third_party/externals/dng_sdk/source/dng_misc_opcodes.h', | 194 '../third_party/externals/dng_sdk/source/dng_pthread.cpp', |
| 93 '../third_party/externals/dng_sdk/source/dng_mosaic_info.h', | 195 '../third_party/externals/dng_sdk/source/dng_rational.cpp', |
| 94 '../third_party/externals/dng_sdk/source/dng_mutex.h', | 196 '../third_party/externals/dng_sdk/source/dng_read_image.cpp', |
| 95 '../third_party/externals/dng_sdk/source/dng_negative.h', | 197 '../third_party/externals/dng_sdk/source/dng_rect.cpp', |
| 96 '../third_party/externals/dng_sdk/source/dng_opcode_list.h', | 198 '../third_party/externals/dng_sdk/source/dng_ref_counted_block.cpp', |
| 97 '../third_party/externals/dng_sdk/source/dng_opcodes.h', | 199 '../third_party/externals/dng_sdk/source/dng_reference.cpp', |
| 98 '../third_party/externals/dng_sdk/source/dng_orientation.h', | 200 '../third_party/externals/dng_sdk/source/dng_render.cpp', |
| 99 '../third_party/externals/dng_sdk/source/dng_parse_utils.h', | 201 '../third_party/externals/dng_sdk/source/dng_resample.cpp', |
| 100 '../third_party/externals/dng_sdk/source/dng_pixel_buffer.h', | 202 '../third_party/externals/dng_sdk/source/dng_shared.cpp', |
| 101 '../third_party/externals/dng_sdk/source/dng_point.h', | 203 '../third_party/externals/dng_sdk/source/dng_simple_image.cpp', |
| 102 '../third_party/externals/dng_sdk/source/dng_preview.h', | 204 '../third_party/externals/dng_sdk/source/dng_spline.cpp', |
| 103 '../third_party/externals/dng_sdk/source/dng_pthread.h', | 205 '../third_party/externals/dng_sdk/source/dng_stream.cpp', |
| 104 '../third_party/externals/dng_sdk/source/dng_rational.h', | 206 '../third_party/externals/dng_sdk/source/dng_string.cpp', |
| 105 '../third_party/externals/dng_sdk/source/dng_read_image.h', | 207 '../third_party/externals/dng_sdk/source/dng_string_list.cpp', |
| 106 '../third_party/externals/dng_sdk/source/dng_rect.h', | 208 '../third_party/externals/dng_sdk/source/dng_tag_types.cpp', |
| 107 '../third_party/externals/dng_sdk/source/dng_ref_counted_block.h', | 209 '../third_party/externals/dng_sdk/source/dng_temperature.cpp', |
| 108 '../third_party/externals/dng_sdk/source/dng_reference.h', | 210 '../third_party/externals/dng_sdk/source/dng_tile_iterator.cpp', |
| 109 '../third_party/externals/dng_sdk/source/dng_render.h', | 211 '../third_party/externals/dng_sdk/source/dng_tone_curve.cpp', |
| 110 '../third_party/externals/dng_sdk/source/dng_resample.h', | 212 '../third_party/externals/dng_sdk/source/dng_utils.cpp', |
| 111 '../third_party/externals/dng_sdk/source/dng_sdk_limits.h', | 213 '../third_party/externals/dng_sdk/source/dng_xy_coord.cpp', |
| 112 '../third_party/externals/dng_sdk/source/dng_shared.h', | 214 '../third_party/externals/dng_sdk/source/dng_jpeg_memory_source.cpp', |
| 113 '../third_party/externals/dng_sdk/source/dng_simple_image.h', | 215 '../third_party/externals/dng_sdk/source/dng_safe_arithmetic.cpp', |
| 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-selector.gyp:libjpeg-turbo-selector', | |
| 135 'zlib.gyp:zlib', | |
| 136 ], | 216 ], |
| 137 'export_dependent_settings': [ | |
| 138 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', | |
| 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 }], | 217 }], |
| 282 } | 218 } |
| OLD | NEW |