OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'libwebp_dec', | 8 'target_name': 'libwebp_dec', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies' : [ | 10 'dependencies' : [ |
(...skipping 15 matching lines...) Expand all Loading... |
26 'dec/webp.c', | 26 'dec/webp.c', |
27 ], | 27 ], |
28 }, | 28 }, |
29 { | 29 { |
30 'target_name': 'libwebp_demux', | 30 'target_name': 'libwebp_demux', |
31 'type': 'static_library', | 31 'type': 'static_library', |
32 'include_dirs': ['.'], | 32 'include_dirs': ['.'], |
33 'sources': [ | 33 'sources': [ |
34 'demux/demux.c', | 34 'demux/demux.c', |
35 ], | 35 ], |
| 36 'dependencies' : [ |
| 37 'libwebp_utils', |
| 38 ], |
36 }, | 39 }, |
37 { | 40 { |
38 'target_name': 'libwebp_dsp', | 41 'target_name': 'libwebp_dsp', |
39 'type': 'static_library', | 42 'type': 'static_library', |
40 'include_dirs': ['.'], | 43 'include_dirs': ['.'], |
41 'sources': [ | 44 'sources': [ |
42 'dsp/alpha_processing.c', | 45 'dsp/alpha_processing.c', |
43 'dsp/alpha_processing_sse2.c', | 46 'dsp/alpha_processing_sse2.c', |
44 'dsp/cpu.c', | 47 'dsp/cpu.c', |
45 'dsp/dec.c', | 48 'dsp/dec.c', |
46 'dsp/dec_clip_tables.c', | 49 'dsp/dec_clip_tables.c', |
47 'dsp/dec_mips32.c', | 50 'dsp/dec_mips32.c', |
48 'dsp/dec_sse2.c', | 51 'dsp/dec_sse2.c', |
49 'dsp/enc.c', | 52 'dsp/enc.c', |
50 'dsp/enc_avx2.c', | 53 'dsp/enc_avx2.c', |
51 'dsp/enc_mips32.c', | 54 'dsp/enc_mips32.c', |
52 'dsp/enc_sse2.c', | 55 'dsp/enc_sse2.c', |
53 'dsp/lossless.c', | 56 'dsp/lossless.c', |
54 'dsp/lossless_mips32.c', | 57 'dsp/lossless_mips32.c', |
55 'dsp/lossless_sse2.c', | 58 'dsp/lossless_sse2.c', |
56 'dsp/upsampling.c', | 59 'dsp/upsampling.c', |
57 'dsp/upsampling_sse2.c', | 60 'dsp/upsampling_sse2.c', |
58 'dsp/yuv.c', | 61 'dsp/yuv.c', |
59 'dsp/yuv_mips32.c', | 62 'dsp/yuv_mips32.c', |
60 'dsp/yuv_sse2.c', | 63 'dsp/yuv_sse2.c', |
61 ], | 64 ], |
| 65 'dependencies' : [ |
| 66 'libwebp_utils', |
| 67 ], |
62 'conditions': [ | 68 'conditions': [ |
63 ['OS == "android"', { | 69 ['OS == "android"', { |
64 'dependencies': [ '../../build/android/ndk.gyp:cpu_features' ], | 70 'dependencies': [ '../../build/android/ndk.gyp:cpu_features' ], |
65 }], | 71 }], |
66 ['order_profiling != 0', { | 72 ['order_profiling != 0', { |
67 'target_conditions' : [ | 73 'target_conditions' : [ |
68 ['_toolset=="target"', { | 74 ['_toolset=="target"', { |
69 'cflags!': [ '-finstrument-functions' ], | 75 'cflags!': [ '-finstrument-functions' ], |
70 }], | 76 }], |
71 ], | 77 ], |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 'enc/picture_psnr.c', | 140 'enc/picture_psnr.c', |
135 'enc/picture_rescale.c', | 141 'enc/picture_rescale.c', |
136 'enc/picture_tools.c', | 142 'enc/picture_tools.c', |
137 'enc/quant.c', | 143 'enc/quant.c', |
138 'enc/syntax.c', | 144 'enc/syntax.c', |
139 'enc/token.c', | 145 'enc/token.c', |
140 'enc/tree.c', | 146 'enc/tree.c', |
141 'enc/vp8l.c', | 147 'enc/vp8l.c', |
142 'enc/webpenc.c', | 148 'enc/webpenc.c', |
143 ], | 149 ], |
| 150 'dependencies' : [ |
| 151 'libwebp_utils', |
| 152 ], |
144 }, | 153 }, |
145 { | 154 { |
146 'target_name': 'libwebp_utils', | 155 'target_name': 'libwebp_utils', |
147 'type': 'static_library', | 156 'type': 'static_library', |
148 'include_dirs': ['.'], | 157 'include_dirs': ['.'], |
149 'sources': [ | 158 'sources': [ |
150 'utils/bit_reader.c', | 159 'utils/bit_reader.c', |
151 'utils/bit_writer.c', | 160 'utils/bit_writer.c', |
152 'utils/color_cache.c', | 161 'utils/color_cache.c', |
153 'utils/filters.c', | 162 'utils/filters.c', |
154 'utils/huffman.c', | 163 'utils/huffman.c', |
155 'utils/huffman_encode.c', | 164 'utils/huffman_encode.c', |
156 'utils/quant_levels.c', | 165 'utils/quant_levels.c', |
157 'utils/quant_levels_dec.c', | 166 'utils/quant_levels_dec.c', |
158 'utils/random.c', | 167 'utils/random.c', |
159 'utils/rescaler.c', | 168 'utils/rescaler.c', |
160 'utils/thread.c', | 169 'utils/thread.c', |
161 'utils/utils.c', | 170 'utils/utils.c', |
162 ], | 171 ], |
| 172 'variables': { |
| 173 'clang_warning_flags': [ |
| 174 '-Wno-incompatible-pointer-types', |
| 175 ] |
| 176 }, |
| 177 'direct_dependent_settings': { |
| 178 'variables': { |
| 179 'clang_warning_flags': [ |
| 180 '-Wno-incompatible-pointer-types', |
| 181 ] |
| 182 }, |
| 183 }, |
163 }, | 184 }, |
164 { | 185 { |
165 'target_name': 'libwebp', | 186 'target_name': 'libwebp', |
166 'type': 'none', | 187 'type': 'none', |
167 'dependencies' : [ | 188 'dependencies' : [ |
168 'libwebp_dec', | 189 'libwebp_dec', |
169 'libwebp_demux', | 190 'libwebp_demux', |
170 'libwebp_dsp', | 191 'libwebp_dsp', |
171 'libwebp_dsp_neon', | 192 'libwebp_dsp_neon', |
172 'libwebp_enc', | 193 'libwebp_enc', |
173 'libwebp_utils', | 194 'libwebp_utils', |
174 ], | 195 ], |
175 'direct_dependent_settings': { | 196 'direct_dependent_settings': { |
176 'include_dirs': ['.'], | 197 'include_dirs': ['.'], |
177 }, | 198 }, |
178 'conditions': [ | 199 'conditions': [ |
179 ['OS!="win"', {'product_name': 'webp'}], | 200 ['OS!="win"', {'product_name': 'webp'}], |
180 ], | 201 ], |
181 }, | 202 }, |
182 ], | 203 ], |
183 } | 204 } |
OLD | NEW |