scroggo | 648ac53 | 2015-03-25 07:16:13 -0700 | [diff] [blame] | 1 | # 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. |
scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 5 | # 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. |
scroggo | 648ac53 | 2015-03-25 07:16:13 -0700 | [diff] [blame] | 9 | |
scroggo | f24f224 | 2015-03-03 08:59:20 -0800 | [diff] [blame] | 10 | # 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:*', |
msarett | 8c8f22a | 2015-04-01 06:58:48 -0700 | [diff] [blame] | 20 | 'giflib.gyp:giflib', |
msarett | b747b90 | 2015-11-06 11:15:49 -0800 | [diff] [blame] | 21 | 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', |
| 22 | 'libpng.gyp:libpng', |
scroggo | 6f5e619 | 2015-06-18 12:53:43 -0700 | [diff] [blame] | 23 | 'libwebp.gyp:libwebp', |
scroggo | f24f224 | 2015-03-03 08:59:20 -0800 | [diff] [blame] | 24 | ], |
scroggo | 0524590 | 2015-03-25 11:11:52 -0700 | [diff] [blame] | 25 | 'cflags':[ |
| 26 | # 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 |
herb | 39cbd2b | 2015-12-09 12:27:31 -0800 | [diff] [blame^] | 28 | '-Wno-clobbered -Wno-error', |
scroggo | 0524590 | 2015-03-25 11:11:52 -0700 | [diff] [blame] | 29 | ], |
scroggo | f24f224 | 2015-03-03 08:59:20 -0800 | [diff] [blame] | 30 | 'include_dirs': [ |
| 31 | '../include/codec', |
mtklein | cd1f2da | 2015-07-28 08:55:14 -0700 | [diff] [blame] | 32 | '../include/private', |
scroggo | f24f224 | 2015-03-03 08:59:20 -0800 | [diff] [blame] | 33 | '../src/codec', |
msarett | 9bde918 | 2015-03-25 05:27:48 -0700 | [diff] [blame] | 34 | '../src/core', |
scroggo | f24f224 | 2015-03-03 08:59:20 -0800 | [diff] [blame] | 35 | ], |
| 36 | 'sources': [ |
msarett | 3d9d7a7 | 2015-10-21 10:27:10 -0700 | [diff] [blame] | 37 | '../src/codec/SkAndroidCodec.cpp', |
msarett | b46e5e2 | 2015-07-30 11:36:40 -0700 | [diff] [blame] | 38 | '../src/codec/SkBmpCodec.cpp', |
msarett | 4ab9d5f | 2015-08-06 15:34:42 -0700 | [diff] [blame] | 39 | '../src/codec/SkBmpMaskCodec.cpp', |
| 40 | '../src/codec/SkBmpRLECodec.cpp', |
| 41 | '../src/codec/SkBmpStandardCodec.cpp', |
scroggo | f24f224 | 2015-03-03 08:59:20 -0800 | [diff] [blame] | 42 | '../src/codec/SkCodec.cpp', |
msarett | 8c8f22a | 2015-04-01 06:58:48 -0700 | [diff] [blame] | 43 | '../src/codec/SkCodec_libgif.cpp', |
msarett | 9bde918 | 2015-03-25 05:27:48 -0700 | [diff] [blame] | 44 | '../src/codec/SkCodec_libico.cpp', |
| 45 | '../src/codec/SkCodec_libpng.cpp', |
halcanary | a096d7a | 2015-03-27 12:16:53 -0700 | [diff] [blame] | 46 | '../src/codec/SkCodec_wbmp.cpp', |
msarett | e16b04a | 2015-04-15 07:32:19 -0700 | [diff] [blame] | 47 | '../src/codec/SkJpegCodec.cpp', |
| 48 | '../src/codec/SkJpegDecoderMgr.cpp', |
mtklein | 525e90a | 2015-06-18 09:58:57 -0700 | [diff] [blame] | 49 | '../src/codec/SkJpegUtility_codec.cpp', |
msarett | 7411438 | 2015-03-16 11:55:18 -0700 | [diff] [blame] | 50 | '../src/codec/SkMaskSwizzler.cpp', |
| 51 | '../src/codec/SkMasks.cpp', |
msarett | e6dd004 | 2015-10-09 11:07:34 -0700 | [diff] [blame] | 52 | '../src/codec/SkSampler.cpp', |
scroggo | a3f792d | 2015-10-28 14:06:10 -0700 | [diff] [blame] | 53 | '../src/codec/SkSampledCodec.cpp', |
scroggo | f24f224 | 2015-03-03 08:59:20 -0800 | [diff] [blame] | 54 | '../src/codec/SkSwizzler.cpp', |
msarett | 3d9d7a7 | 2015-10-21 10:27:10 -0700 | [diff] [blame] | 55 | '../src/codec/SkWebpAdapterCodec.cpp', |
scroggo | 6f5e619 | 2015-06-18 12:53:43 -0700 | [diff] [blame] | 56 | '../src/codec/SkWebpCodec.cpp', |
scroggo | f24f224 | 2015-03-03 08:59:20 -0800 | [diff] [blame] | 57 | ], |
| 58 | 'direct_dependent_settings': { |
| 59 | 'include_dirs': [ |
| 60 | '../include/codec', |
| 61 | ], |
| 62 | }, |
msarett | b747b90 | 2015-11-06 11:15:49 -0800 | [diff] [blame] | 63 | 'defines': [ |
| 64 | 'TURBO_HAS_SKIP', |
| 65 | ], |
scroggo | f24f224 | 2015-03-03 08:59:20 -0800 | [diff] [blame] | 66 | }, |
| 67 | ], |
| 68 | } |