OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 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 # Copyright 2015 Google Inc. | 5 # Copyright 2015 Google Inc. |
6 # | 6 # |
7 # Use of this source code is governed by a BSD-style license that can be | 7 # Use of this source code is governed by a BSD-style license that can be |
8 # found in the LICENSE file. | 8 # found in the LICENSE file. |
9 | 9 |
10 # GYP file for codec project. | 10 # GYP file for codec project. |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 'type': 'static_library', | 82 'type': 'static_library', |
83 'dependencies': [ | 83 'dependencies': [ |
84 'core.gyp:*', | 84 'core.gyp:*', |
85 'dng_sdk.gyp:dng_sdk-selector', | 85 'dng_sdk.gyp:dng_sdk-selector', |
86 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', | 86 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', |
87 'piex.gyp:piex-selector', | 87 'piex.gyp:piex-selector', |
88 ], | 88 ], |
89 'cflags':[ | 89 'cflags':[ |
90 '-fexceptions', | 90 '-fexceptions', |
91 ], | 91 ], |
| 92 'cflags!':[ |
| 93 '-fno-exceptions', |
| 94 ], |
92 'include_dirs': [ | 95 'include_dirs': [ |
93 '../include/codec', | 96 '../include/codec', |
94 '../include/private', | 97 '../include/private', |
95 '../src/codec', | 98 '../src/codec', |
96 '../src/core', | 99 '../src/core', |
97 ], | 100 ], |
98 'sources': [ | 101 'sources': [ |
99 '../src/codec/SkRawAdapterCodec.cpp', | 102 '../src/codec/SkRawAdapterCodec.cpp', |
100 '../src/codec/SkRawCodec.cpp', | 103 '../src/codec/SkRawCodec.cpp', |
101 ], | 104 ], |
(...skipping 10 matching lines...) Expand all Loading... |
112 ], | 115 ], |
113 'conditions': [ | 116 'conditions': [ |
114 ['skia_arch_type == "x86" or skia_arch_type == "arm"', { | 117 ['skia_arch_type == "x86" or skia_arch_type == "arm"', { |
115 'defines': [ | 118 'defines': [ |
116 'qDNGBigEndian=0', | 119 'qDNGBigEndian=0', |
117 ], | 120 ], |
118 }], | 121 }], |
119 ['skia_os == "ios" or skia_os == "mac"', { | 122 ['skia_os == "ios" or skia_os == "mac"', { |
120 'xcode_settings': { | 123 'xcode_settings': { |
121 'OTHER_CFLAGS': ['-fexceptions'], | 124 'OTHER_CFLAGS': ['-fexceptions'], |
| 125 'OTHER_CFLAGS!': ['-fno-exceptions'], |
122 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], | 126 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], |
| 127 'OTHER_CPLUSPLUSFLAGS!': ['-fno-exceptions'], |
123 }, | 128 }, |
124 }], | 129 }], |
125 ], | 130 ], |
126 }, | 131 }, |
127 ], | 132 ], |
128 } | 133 } |
OLD | NEW |