| 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': { | 7 'variables': { |
| 8 'other_cflags': [ | 8 'other_cflags': [ |
| 9 '-DqDNGBigEndian=0', | 9 '-DqDNGBigEndian=0', |
| 10 '-DqDNGReportErrors=0', | 10 '-DqDNGReportErrors=0', |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 'dependencies': [ 'dng_sdk.gyp:dng_sdk' ], | 110 'dependencies': [ 'dng_sdk.gyp:dng_sdk' ], |
| 111 'export_dependent_settings': [ 'dng_sdk.gyp:dng_sdk' ], | 111 'export_dependent_settings': [ 'dng_sdk.gyp:dng_sdk' ], |
| 112 }] | 112 }] |
| 113 ] | 113 ] |
| 114 },{ | 114 },{ |
| 115 'target_name': 'dng_sdk', | 115 'target_name': 'dng_sdk', |
| 116 'type': 'static_library', | 116 'type': 'static_library', |
| 117 'cflags_cc!': [ '-fno-rtti' ], | 117 'cflags_cc!': [ '-fno-rtti' ], |
| 118 'cflags': [ '<@(other_cflags)' ], | 118 'cflags': [ '<@(other_cflags)' ], |
| 119 'conditions': [ | 119 'conditions': [ |
| 120 ['skia_os == "android"', { | |
| 121 'cflags': [ | |
| 122 # FIXME: only disable ::posix_memalign() when needed. | |
| 123 '-DNO_POSIX_MEMALIGN', | |
| 124 ], | |
| 125 }], | |
| 126 ['skia_os == "ios" or skia_os == "mac"', { | 120 ['skia_os == "ios" or skia_os == "mac"', { |
| 127 'xcode_settings': { | 121 'xcode_settings': { |
| 128 'OTHER_CFLAGS': [ '<@(other_cflags)' ], | 122 'OTHER_CFLAGS': [ '<@(other_cflags)' ], |
| 129 'OTHER_CPLUSPLUSFLAGS': [ '<@(other_cflags)' ], | 123 'OTHER_CPLUSPLUSFLAGS': [ '<@(other_cflags)' ], |
| 130 }, | 124 }, |
| 131 }], | 125 }], |
| 132 ['skia_os == "win"', { | 126 ['skia_os == "win"', { |
| 133 'msvs_settings': { | 127 'msvs_settings': { |
| 134 'VCCLCompilerTool': { | 128 'VCCLCompilerTool': { |
| 135 'WarningLevel': '0', | 129 'WarningLevel': '0', |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 '../third_party/externals/dng_sdk/source/dng_temperature.cpp', | 209 '../third_party/externals/dng_sdk/source/dng_temperature.cpp', |
| 216 '../third_party/externals/dng_sdk/source/dng_tile_iterator.cpp', | 210 '../third_party/externals/dng_sdk/source/dng_tile_iterator.cpp', |
| 217 '../third_party/externals/dng_sdk/source/dng_tone_curve.cpp', | 211 '../third_party/externals/dng_sdk/source/dng_tone_curve.cpp', |
| 218 '../third_party/externals/dng_sdk/source/dng_utils.cpp', | 212 '../third_party/externals/dng_sdk/source/dng_utils.cpp', |
| 219 '../third_party/externals/dng_sdk/source/dng_xy_coord.cpp', | 213 '../third_party/externals/dng_sdk/source/dng_xy_coord.cpp', |
| 220 '../third_party/externals/dng_sdk/source/dng_jpeg_memory_source.cpp', | 214 '../third_party/externals/dng_sdk/source/dng_jpeg_memory_source.cpp', |
| 221 '../third_party/externals/dng_sdk/source/dng_safe_arithmetic.cpp', | 215 '../third_party/externals/dng_sdk/source/dng_safe_arithmetic.cpp', |
| 222 ], | 216 ], |
| 223 }], | 217 }], |
| 224 } | 218 } |
| OLD | NEW |