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', |
| 30 '../third_party/gif', |
31 ], | 31 ], |
32 'sources': [ | 32 'sources': [ |
33 '../src/codec/SkAndroidCodec.cpp', | 33 '../src/codec/SkAndroidCodec.cpp', |
34 '../src/codec/SkBmpCodec.cpp', | 34 '../src/codec/SkBmpCodec.cpp', |
35 '../src/codec/SkBmpMaskCodec.cpp', | 35 '../src/codec/SkBmpMaskCodec.cpp', |
36 '../src/codec/SkBmpRLECodec.cpp', | 36 '../src/codec/SkBmpRLECodec.cpp', |
37 '../src/codec/SkBmpStandardCodec.cpp', | 37 '../src/codec/SkBmpStandardCodec.cpp', |
38 '../src/codec/SkCodec.cpp', | 38 '../src/codec/SkCodec.cpp', |
39 '../src/codec/SkGifCodec.cpp', | 39 '../src/codec/SkGifCodec.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', |
| 57 |
| 58 '../third_party/gif/GIFImageReader.cpp', |
56 ], | 59 ], |
57 'direct_dependent_settings': { | 60 'direct_dependent_settings': { |
58 'include_dirs': [ | 61 'include_dirs': [ |
59 '../include/codec', | 62 '../include/codec', |
60 ], | 63 ], |
61 }, | 64 }, |
62 'conditions': [ | 65 'conditions': [ |
63 ['skia_codec_decodes_raw', { | 66 ['skia_codec_decodes_raw', { |
64 'dependencies': [ | 67 'dependencies': [ |
65 'raw_codec', | 68 'raw_codec', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 ['skia_os == "ios" or skia_os == "mac"', { | 115 ['skia_os == "ios" or skia_os == "mac"', { |
113 'xcode_settings': { | 116 'xcode_settings': { |
114 'OTHER_CFLAGS': ['-fexceptions'], | 117 'OTHER_CFLAGS': ['-fexceptions'], |
115 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], | 118 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], |
116 }, | 119 }, |
117 }], | 120 }], |
118 ], | 121 ], |
119 }, | 122 }, |
120 ], | 123 ], |
121 } | 124 } |
OLD | NEW |