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 | 5 |
6 # GYP file for codec project. | 6 # GYP file for codec project. |
7 { | 7 { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'codec', | 10 'target_name': 'codec', |
11 'product_name': 'skia_codec', | 11 'product_name': 'skia_codec', |
12 'type': 'static_library', | 12 'type': 'static_library', |
13 'standalone_static_library': 1, | 13 'standalone_static_library': 1, |
14 'dependencies': [ | 14 'dependencies': [ |
15 'core.gyp:*', | 15 'core.gyp:*', |
16 'libpng.gyp:libpng', | 16 'libpng.gyp:libpng', |
17 ], | 17 ], |
| 18 'cflags':[ |
| 19 # FIXME: This gets around a longjmp warning. See |
| 20 # http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-
GCC-x86_64-Release-Trybot/builds/113/steps/build%20most/logs/stdio |
| 21 '-Wno-clobbered', |
| 22 ], |
18 'include_dirs': [ | 23 'include_dirs': [ |
19 '../include/codec', | 24 '../include/codec', |
20 '../src/codec', | 25 '../src/codec', |
21 '../src/core', | 26 '../src/core', |
22 ], | 27 ], |
23 'sources': [ | 28 'sources': [ |
24 '../src/codec/SkCodec.cpp', | 29 '../src/codec/SkCodec.cpp', |
25 '../src/codec/SkCodec_libbmp.cpp', | 30 '../src/codec/SkCodec_libbmp.cpp', |
26 '../src/codec/SkCodec_libico.cpp', | 31 '../src/codec/SkCodec_libico.cpp', |
27 '../src/codec/SkCodec_libpng.cpp', | 32 '../src/codec/SkCodec_libpng.cpp', |
28 '../src/codec/SkMaskSwizzler.cpp', | 33 '../src/codec/SkMaskSwizzler.cpp', |
29 '../src/codec/SkMasks.cpp', | 34 '../src/codec/SkMasks.cpp', |
30 '../src/codec/SkSwizzler.cpp', | 35 '../src/codec/SkSwizzler.cpp', |
31 ], | 36 ], |
32 'direct_dependent_settings': { | 37 'direct_dependent_settings': { |
33 'include_dirs': [ | 38 'include_dirs': [ |
34 '../include/codec', | 39 '../include/codec', |
35 ], | 40 ], |
36 }, | 41 }, |
37 }, | 42 }, |
38 ], | 43 ], |
39 } | 44 } |
OLD | NEW |