| 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', | |
| 21 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', | 20 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', |
| 22 'libpng.gyp:libpng', | 21 'libpng.gyp:libpng', |
| 23 'libwebp.gyp:libwebp', | 22 'libwebp.gyp:libwebp', |
| 24 ], | 23 ], |
| 25 'include_dirs': [ | 24 'include_dirs': [ |
| 26 '../include/codec', | 25 '../include/codec', |
| 27 '../include/private', | 26 '../include/private', |
| 28 '../src/codec', | 27 '../src/codec', |
| 29 '../src/core', | 28 '../src/core', |
| 30 '../src/utils', | 29 '../src/utils', |
| 31 ], | 30 ], |
| 32 'sources': [ | 31 'sources': [ |
| 33 '../src/codec/SkAndroidCodec.cpp', | 32 '../src/codec/SkAndroidCodec.cpp', |
| 34 '../src/codec/SkBmpCodec.cpp', | 33 '../src/codec/SkBmpCodec.cpp', |
| 35 '../src/codec/SkBmpMaskCodec.cpp', | 34 '../src/codec/SkBmpMaskCodec.cpp', |
| 36 '../src/codec/SkBmpRLECodec.cpp', | 35 '../src/codec/SkBmpRLECodec.cpp', |
| 37 '../src/codec/SkBmpStandardCodec.cpp', | 36 '../src/codec/SkBmpStandardCodec.cpp', |
| 38 '../src/codec/SkCodec.cpp', | 37 '../src/codec/SkCodec.cpp', |
| 39 '../src/codec/SkGifCodec.cpp', | 38 '../src/codec/SkGifCodec.cpp', |
| 39 '../src/codec/GIFImageReader.cpp', |
| 40 '../src/codec/SkIcoCodec.cpp', | 40 '../src/codec/SkIcoCodec.cpp', |
| 41 '../src/codec/SkJpegCodec.cpp', | 41 '../src/codec/SkJpegCodec.cpp', |
| 42 '../src/codec/SkJpegDecoderMgr.cpp', | 42 '../src/codec/SkJpegDecoderMgr.cpp', |
| 43 '../src/codec/SkJpegUtility.cpp', | 43 '../src/codec/SkJpegUtility.cpp', |
| 44 '../src/codec/SkMaskSwizzler.cpp', | 44 '../src/codec/SkMaskSwizzler.cpp', |
| 45 '../src/codec/SkMasks.cpp', | 45 '../src/codec/SkMasks.cpp', |
| 46 '../src/codec/SkPngCodec.cpp', | 46 '../src/codec/SkPngCodec.cpp', |
| 47 '../src/codec/SkSampler.cpp', | 47 '../src/codec/SkSampler.cpp', |
| 48 '../src/codec/SkSampledCodec.cpp', | 48 '../src/codec/SkSampledCodec.cpp', |
| 49 '../src/codec/SkStreamBuffer.cpp', |
| 49 '../src/codec/SkSwizzler.cpp', | 50 '../src/codec/SkSwizzler.cpp', |
| 50 '../src/codec/SkWbmpCodec.cpp', | 51 '../src/codec/SkWbmpCodec.cpp', |
| 51 '../src/codec/SkWebpAdapterCodec.cpp', | 52 '../src/codec/SkWebpAdapterCodec.cpp', |
| 52 '../src/codec/SkWebpCodec.cpp', | 53 '../src/codec/SkWebpCodec.cpp', |
| 53 | 54 |
| 54 '../src/codec/SkCodecImageGenerator.cpp', | 55 '../src/codec/SkCodecImageGenerator.cpp', |
| 55 '../src/ports/SkImageGenerator_skia.cpp', | 56 '../src/ports/SkImageGenerator_skia.cpp', |
| 56 ], | 57 ], |
| 57 'direct_dependent_settings': { | 58 'direct_dependent_settings': { |
| 58 'include_dirs': [ | 59 'include_dirs': [ |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 ['skia_os == "ios" or skia_os == "mac"', { | 113 ['skia_os == "ios" or skia_os == "mac"', { |
| 113 'xcode_settings': { | 114 'xcode_settings': { |
| 114 'OTHER_CFLAGS': ['-fexceptions'], | 115 'OTHER_CFLAGS': ['-fexceptions'], |
| 115 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], | 116 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], |
| 116 }, | 117 }, |
| 117 }], | 118 }], |
| 118 ], | 119 ], |
| 119 }, | 120 }, |
| 120 ], | 121 ], |
| 121 } | 122 } |
| OLD | NEW |