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 'dng_sdk.gyp:dng_sdk', | |
20 'giflib.gyp:giflib', | 21 'giflib.gyp:giflib', |
21 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', | 22 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', |
22 'libpng.gyp:libpng', | 23 'libpng.gyp:libpng', |
23 'libwebp.gyp:libwebp', | 24 'libwebp.gyp:libwebp', |
24 ], | 25 ], |
25 'cflags':[ | 26 'cflags':[ |
26 # FIXME: This gets around a longjmp warning. See | 27 # FIXME: This gets around a longjmp warning. See |
27 # http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu- GCC-x86_64-Release-Trybot/builds/113/steps/build%20most/logs/stdio | 28 # http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu- GCC-x86_64-Release-Trybot/builds/113/steps/build%20most/logs/stdio |
28 '-Wno-clobbered', | 29 '-Wno-clobbered', |
30 '-fexceptions', | |
msarett
2015/11/19 16:45:01
Can you add a comment stating what this flag does
ebrauer
2015/11/19 16:58:47
Yes, we need exceptions since the dng sdk uses the
| |
29 ], | 31 ], |
30 'include_dirs': [ | 32 'include_dirs': [ |
31 '../include/codec', | 33 '../include/codec', |
32 '../include/private', | 34 '../include/private', |
33 '../src/codec', | 35 '../src/codec', |
34 '../src/core', | 36 '../src/core', |
35 ], | 37 ], |
36 'sources': [ | 38 'sources': [ |
37 '../src/codec/SkAndroidCodec.cpp', | 39 '../src/codec/SkAndroidCodec.cpp', |
38 '../src/codec/SkBmpCodec.cpp', | 40 '../src/codec/SkBmpCodec.cpp', |
39 '../src/codec/SkBmpMaskCodec.cpp', | 41 '../src/codec/SkBmpMaskCodec.cpp', |
40 '../src/codec/SkBmpRLECodec.cpp', | 42 '../src/codec/SkBmpRLECodec.cpp', |
41 '../src/codec/SkBmpStandardCodec.cpp', | 43 '../src/codec/SkBmpStandardCodec.cpp', |
42 '../src/codec/SkCodec.cpp', | 44 '../src/codec/SkCodec.cpp', |
43 '../src/codec/SkCodec_libgif.cpp', | 45 '../src/codec/SkCodec_libgif.cpp', |
44 '../src/codec/SkCodec_libico.cpp', | 46 '../src/codec/SkCodec_libico.cpp', |
45 '../src/codec/SkCodec_libpng.cpp', | 47 '../src/codec/SkCodec_libpng.cpp', |
46 '../src/codec/SkCodec_wbmp.cpp', | 48 '../src/codec/SkCodec_wbmp.cpp', |
47 '../src/codec/SkJpegCodec.cpp', | 49 '../src/codec/SkJpegCodec.cpp', |
48 '../src/codec/SkJpegDecoderMgr.cpp', | 50 '../src/codec/SkJpegDecoderMgr.cpp', |
49 '../src/codec/SkJpegUtility_codec.cpp', | 51 '../src/codec/SkJpegUtility_codec.cpp', |
50 '../src/codec/SkMaskSwizzler.cpp', | 52 '../src/codec/SkMaskSwizzler.cpp', |
51 '../src/codec/SkMasks.cpp', | 53 '../src/codec/SkMasks.cpp', |
54 '../src/codec/SkRawCodec.cpp', | |
52 '../src/codec/SkSampler.cpp', | 55 '../src/codec/SkSampler.cpp', |
53 '../src/codec/SkSampledCodec.cpp', | 56 '../src/codec/SkSampledCodec.cpp', |
54 '../src/codec/SkSwizzler.cpp', | 57 '../src/codec/SkSwizzler.cpp', |
55 '../src/codec/SkWebpAdapterCodec.cpp', | 58 '../src/codec/SkWebpAdapterCodec.cpp', |
56 '../src/codec/SkWebpCodec.cpp', | 59 '../src/codec/SkWebpCodec.cpp', |
57 ], | 60 ], |
58 'direct_dependent_settings': { | 61 'direct_dependent_settings': { |
59 'include_dirs': [ | 62 'include_dirs': [ |
60 '../include/codec', | 63 '../include/codec', |
61 ], | 64 ], |
62 }, | 65 }, |
63 'defines': [ | 66 'defines': [ |
64 'TURBO_HAS_SKIP', | 67 'TURBO_HAS_SKIP', |
65 ], | 68 ], |
66 }, | 69 }, |
67 ], | 70 ], |
68 } | 71 } |
OLD | NEW |