blob: eb49f6cd5cc76e297bd0a5a995b66c91f6fc5106 [file] [log] [blame]
scroggo648ac532015-03-25 07:16:13 -07001# Copyright 2015 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
scroggo3e562272015-03-25 10:22:41 -07005# Copyright 2015 Google Inc.
6#
7# Use of this source code is governed by a BSD-style license that can be
8# found in the LICENSE file.
scroggo648ac532015-03-25 07:16:13 -07009
scroggof24f2242015-03-03 08:59:20 -080010# GYP file for codec project.
11{
12 'targets': [
13 {
14 'target_name': 'codec',
15 'product_name': 'skia_codec',
16 'type': 'static_library',
17 'standalone_static_library': 1,
18 'dependencies': [
19 'core.gyp:*',
msarett8c8f22a2015-04-01 06:58:48 -070020 'giflib.gyp:giflib',
scroggof24f2242015-03-03 08:59:20 -080021 'libpng.gyp:libpng',
22 ],
scroggo05245902015-03-25 11:11:52 -070023 'cflags':[
24 # FIXME: This gets around a longjmp warning. See
25 # http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/113/steps/build%20most/logs/stdio
26 '-Wno-clobbered',
27 ],
scroggof24f2242015-03-03 08:59:20 -080028 'include_dirs': [
29 '../include/codec',
30 '../src/codec',
msarett9bde9182015-03-25 05:27:48 -070031 '../src/core',
scroggof24f2242015-03-03 08:59:20 -080032 ],
33 'sources': [
34 '../src/codec/SkCodec.cpp',
tomhudson7aa846c2015-03-24 13:47:41 -070035 '../src/codec/SkCodec_libbmp.cpp',
msarett8c8f22a2015-04-01 06:58:48 -070036 '../src/codec/SkCodec_libgif.cpp',
msarett9bde9182015-03-25 05:27:48 -070037 '../src/codec/SkCodec_libico.cpp',
38 '../src/codec/SkCodec_libpng.cpp',
halcanarya096d7a2015-03-27 12:16:53 -070039 '../src/codec/SkCodec_wbmp.cpp',
msarett8c8f22a2015-04-01 06:58:48 -070040 '../src/codec/SkGifInterlaceIter.cpp',
msarett74114382015-03-16 11:55:18 -070041 '../src/codec/SkMaskSwizzler.cpp',
42 '../src/codec/SkMasks.cpp',
scroggof24f2242015-03-03 08:59:20 -080043 '../src/codec/SkSwizzler.cpp',
44 ],
45 'direct_dependent_settings': {
46 'include_dirs': [
47 '../include/codec',
48 ],
49 },
50 },
51 ],
52}