OLD | NEW |
1 # GYP file for codec project. | 1 # GYP file for codec project. |
2 { | 2 { |
3 'targets': [ | 3 'targets': [ |
4 { | 4 { |
5 'target_name': 'codec', | 5 'target_name': 'codec', |
6 'product_name': 'skia_codec', | 6 'product_name': 'skia_codec', |
7 'type': 'static_library', | 7 'type': 'static_library', |
8 'standalone_static_library': 1, | 8 'standalone_static_library': 1, |
9 'dependencies': [ | 9 'dependencies': [ |
10 'core.gyp:*', | 10 'core.gyp:*', |
11 'libjpeg.gyp:*', | 11 'libjpeg.gyp:*', |
12 'etc1.gyp:libetc1', | 12 'etc1.gyp:libetc1', |
13 'ktx.gyp:libSkKTX', | 13 'ktx.gyp:libSkKTX', |
14 'libwebp.gyp:libwebp', | 14 'libwebp.gyp:libwebp', |
15 'utils.gyp:utils', | 15 'utils.gyp:utils', |
16 ], | 16 ], |
17 'include_dirs': [ | 17 'include_dirs': [ |
18 '../include/codec', | 18 '../include/codec', |
19 '../src/codec', | 19 '../src/codec', |
20 ], | 20 ], |
21 'sources': [ | 21 'sources': [ |
22 '../src/codec/SkCodec.cpp', | 22 '../src/codec/SkCodec.cpp', |
23 '../src/codec/SkCodec_libpng.cpp', | 23 #'../src/codec/SkCodec_libpng.cpp', |
| 24 '../src/codec/SkCodec_libbmp.cpp', |
24 '../src/codec/SkSwizzler.cpp', | 25 '../src/codec/SkSwizzler.cpp', |
25 ], | 26 ], |
26 'conditions': [ | 27 'conditions': [ |
27 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { | 28 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
28 'export_dependent_settings': [ | 29 'export_dependent_settings': [ |
29 'libpng.gyp:libpng', | 30 'libpng.gyp:libpng', |
30 'giflib.gyp:giflib' | 31 'giflib.gyp:giflib' |
31 ], | 32 ], |
32 'dependencies': [ | 33 'dependencies': [ |
33 'libpng.gyp:libpng', | 34 'libpng.gyp:libpng', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 }], | 72 }], |
72 ], | 73 ], |
73 'direct_dependent_settings': { | 74 'direct_dependent_settings': { |
74 'include_dirs': [ | 75 'include_dirs': [ |
75 '../include/codec', | 76 '../include/codec', |
76 ], | 77 ], |
77 }, | 78 }, |
78 }, | 79 }, |
79 ], | 80 ], |
80 } | 81 } |
OLD | NEW |