| 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. |
| 11 { | 11 { |
| 12 'targets': [ | 12 'targets': [ |
| 13 { | 13 { |
| 14 'target_name': 'codec', | 14 'target_name': 'codec', |
| 15 'product_name': 'skia_codec', | 15 'product_name': 'skia_codec', |
| 16 'type': 'static_library', | 16 'type': 'static_library', |
| 17 'standalone_static_library': 1, | 17 'standalone_static_library': 1, |
| 18 'dependencies': [ | 18 'dependencies': [ |
| 19 'core.gyp:*', | 19 'core.gyp:*', |
| 20 'giflib.gyp:giflib', | 20 'giflib.gyp:giflib', |
| 21 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', | 21 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', |
| 22 'libpng.gyp:libpng', | 22 'libpng.gyp:libpng', |
| 23 'libwebp.gyp:libwebp', | 23 'libwebp.gyp:libwebp', |
| 24 ], | 24 ], |
| 25 'cflags':[ |
| 26 # FIXME: This gets around a warning: "Argument might be clobbered by lon
gjmp". |
| 27 '-Wno-clobbered', |
| 28 '-Wno-unknown-warning-option', |
| 29 ], |
| 25 'include_dirs': [ | 30 'include_dirs': [ |
| 26 '../include/codec', | 31 '../include/codec', |
| 27 '../include/private', | 32 '../include/private', |
| 28 '../src/codec', | 33 '../src/codec', |
| 29 '../src/core', | 34 '../src/core', |
| 30 '../src/utils', | 35 '../src/utils', |
| 31 ], | 36 ], |
| 32 'sources': [ | 37 'sources': [ |
| 33 '../src/codec/SkAndroidCodec.cpp', | 38 '../src/codec/SkAndroidCodec.cpp', |
| 34 '../src/codec/SkBmpCodec.cpp', | 39 '../src/codec/SkBmpCodec.cpp', |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 ['skia_os == "ios" or skia_os == "mac"', { | 124 ['skia_os == "ios" or skia_os == "mac"', { |
| 120 'xcode_settings': { | 125 'xcode_settings': { |
| 121 'OTHER_CFLAGS': ['-fexceptions'], | 126 'OTHER_CFLAGS': ['-fexceptions'], |
| 122 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], | 127 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], |
| 123 }, | 128 }, |
| 124 }], | 129 }], |
| 125 ], | 130 ], |
| 126 }, | 131 }, |
| 127 ], | 132 ], |
| 128 } | 133 } |
| OLD | NEW |