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 'variables': { | 6 'variables': { |
7 'skia_warnings_as_errors': 0, | 7 'skia_warnings_as_errors': 0, |
8 'conditions':[ | 8 'conditions':[ |
9 ['skia_android_framework == 1', { | 9 ['skia_android_framework == 1', { |
10 'use_system_libwebp': 1, | 10 'use_system_libwebp': 1, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 'target_name': 'libwebp_dsp', | 59 'target_name': 'libwebp_dsp', |
60 'type': 'static_library', | 60 'type': 'static_library', |
61 'includes': [ | 61 'includes': [ |
62 'libwebp_skia.gypi', | 62 'libwebp_skia.gypi', |
63 ], | 63 ], |
64 'include_dirs': [ | 64 'include_dirs': [ |
65 '../third_party/externals/libwebp', | 65 '../third_party/externals/libwebp', |
66 ], | 66 ], |
67 'sources': [ | 67 'sources': [ |
68 '../third_party/externals/libwebp/src/dsp/alpha_processing.c', | 68 '../third_party/externals/libwebp/src/dsp/alpha_processing.c', |
69 '../third_party/externals/libwebp/src/dsp/alpha_processing_mips_dsp_
r2.c', | |
70 '../third_party/externals/libwebp/src/dsp/alpha_processing_sse2.c', | 69 '../third_party/externals/libwebp/src/dsp/alpha_processing_sse2.c', |
71 '../third_party/externals/libwebp/src/dsp/alpha_processing_sse41.c', | |
72 '../third_party/externals/libwebp/src/dsp/cpu.c', | 70 '../third_party/externals/libwebp/src/dsp/cpu.c', |
73 '../third_party/externals/libwebp/src/dsp/dec.c', | 71 '../third_party/externals/libwebp/src/dsp/dec.c', |
74 '../third_party/externals/libwebp/src/dsp/dec_clip_tables.c', | 72 '../third_party/externals/libwebp/src/dsp/dec_clip_tables.c', |
75 '../third_party/externals/libwebp/src/dsp/dec_mips32.c', | |
76 '../third_party/externals/libwebp/src/dsp/dec_mips_dsp_r2.c', | |
77 '../third_party/externals/libwebp/src/dsp/dec_sse2.c', | 73 '../third_party/externals/libwebp/src/dsp/dec_sse2.c', |
78 '../third_party/externals/libwebp/src/dsp/dec_sse41.c', | |
79 '../third_party/externals/libwebp/src/dsp/enc.c', | 74 '../third_party/externals/libwebp/src/dsp/enc.c', |
80 '../third_party/externals/libwebp/src/dsp/enc_sse2.c', | 75 '../third_party/externals/libwebp/src/dsp/enc_sse2.c', |
81 '../third_party/externals/libwebp/src/dsp/filters.c', | |
82 '../third_party/externals/libwebp/src/dsp/filters_mips_dsp_r2.c', | |
83 '../third_party/externals/libwebp/src/dsp/filters_sse2.c', | |
84 '../third_party/externals/libwebp/src/dsp/lossless.c', | 76 '../third_party/externals/libwebp/src/dsp/lossless.c', |
85 '../third_party/externals/libwebp/src/dsp/lossless_mips_dsp_r2.c', | |
86 '../third_party/externals/libwebp/src/dsp/lossless_sse2.c', | 77 '../third_party/externals/libwebp/src/dsp/lossless_sse2.c', |
87 '../third_party/externals/libwebp/src/dsp/rescaler.c', | |
88 '../third_party/externals/libwebp/src/dsp/rescaler_mips32.c', | |
89 '../third_party/externals/libwebp/src/dsp/rescaler_mips_dsp_r2.c', | |
90 '../third_party/externals/libwebp/src/dsp/upsampling.c', | 78 '../third_party/externals/libwebp/src/dsp/upsampling.c', |
91 '../third_party/externals/libwebp/src/dsp/upsampling_mips_dsp_r2.c', | |
92 '../third_party/externals/libwebp/src/dsp/upsampling_sse2.c', | 79 '../third_party/externals/libwebp/src/dsp/upsampling_sse2.c', |
93 '../third_party/externals/libwebp/src/dsp/yuv.c', | 80 '../third_party/externals/libwebp/src/dsp/yuv.c', |
94 '../third_party/externals/libwebp/src/dsp/yuv_mips32.c', | |
95 '../third_party/externals/libwebp/src/dsp/yuv_mips_dsp_r2.c', | |
96 '../third_party/externals/libwebp/src/dsp/yuv_sse2.c', | 81 '../third_party/externals/libwebp/src/dsp/yuv_sse2.c', |
97 ], | 82 ], |
98 'cflags': [ '-w' ], | 83 'cflags': [ '-w' ], |
99 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] }, | 84 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] }, |
100 'conditions': [ | 85 'conditions': [ |
101 ['skia_os == "android"', { | 86 ['skia_os == "android"', { |
102 'dependencies' : [ | 87 'dependencies' : [ |
103 'android_deps.gyp:cpu_features', | 88 'android_deps.gyp:cpu_features', |
104 ], | 89 ], |
105 }], | 90 }], |
(...skipping 23 matching lines...) Expand all Loading... |
129 'cflags!': [ | 114 'cflags!': [ |
130 '-mfpu=vfpv3-d16', | 115 '-mfpu=vfpv3-d16', |
131 ], | 116 ], |
132 'cflags': [ '-w' ], | 117 'cflags': [ '-w' ], |
133 },{ # !(arm_version >= 7) | 118 },{ # !(arm_version >= 7) |
134 'type': 'none', | 119 'type': 'none', |
135 }], | 120 }], |
136 ], | 121 ], |
137 }, | 122 }, |
138 { | 123 { |
139 'target_name': 'libwebp_dsp_enc', | |
140 'type': 'static_library', | |
141 'includes': [ | |
142 'libwebp_skia.gypi', | |
143 ], | |
144 'include_dirs': [ | |
145 '../third_party/externals/libwebp', | |
146 ], | |
147 'sources': [ | |
148 '../third_party/externals/libwebp/src/dsp/argb.c', | |
149 '../third_party/externals/libwebp/src/dsp/argb_mips_dsp_r2.c', | |
150 '../third_party/externals/libwebp/src/dsp/argb_sse2.c', | |
151 '../third_party/externals/libwebp/src/dsp/cost.c', | |
152 '../third_party/externals/libwebp/src/dsp/cost_mips32.c', | |
153 '../third_party/externals/libwebp/src/dsp/cost_mips_dsp_r2.c', | |
154 '../third_party/externals/libwebp/src/dsp/cost_sse2.c', | |
155 '../third_party/externals/libwebp/src/dsp/enc_avx2.c', | |
156 '../third_party/externals/libwebp/src/dsp/enc_mips32.c', | |
157 '../third_party/externals/libwebp/src/dsp/enc_mips_dsp_r2.c', | |
158 '../third_party/externals/libwebp/src/dsp/enc_sse41.c', | |
159 '../third_party/externals/libwebp/src/dsp/lossless_enc.c', | |
160 '../third_party/externals/libwebp/src/dsp/lossless_enc_mips32.c', | |
161 '../third_party/externals/libwebp/src/dsp/lossless_enc_mips_dsp_r2.c
', | |
162 '../third_party/externals/libwebp/src/dsp/lossless_enc_neon.c', | |
163 '../third_party/externals/libwebp/src/dsp/lossless_enc_sse2.c', | |
164 '../third_party/externals/libwebp/src/dsp/lossless_enc_sse41.c', | |
165 ], | |
166 }, | |
167 { | |
168 'target_name': 'libwebp_enc', | 124 'target_name': 'libwebp_enc', |
169 'type': 'static_library', | 125 'type': 'static_library', |
170 'includes': [ | 126 'includes': [ |
171 'libwebp_skia.gypi', | 127 'libwebp_skia.gypi', |
172 ], | 128 ], |
173 'include_dirs': [ | 129 'include_dirs': [ |
174 '../third_party/externals/libwebp', | 130 '../third_party/externals/libwebp', |
175 ], | 131 ], |
176 'dependencies' : [ | |
177 'libwebp_dsp_enc', | |
178 ], | |
179 'sources': [ | 132 'sources': [ |
180 '../third_party/externals/libwebp/src/enc/alpha.c', | 133 '../third_party/externals/libwebp/src/enc/alpha.c', |
181 '../third_party/externals/libwebp/src/enc/analysis.c', | 134 '../third_party/externals/libwebp/src/enc/analysis.c', |
182 '../third_party/externals/libwebp/src/enc/backward_references.c', | 135 '../third_party/externals/libwebp/src/enc/backward_references.c', |
183 '../third_party/externals/libwebp/src/enc/config.c', | 136 '../third_party/externals/libwebp/src/enc/config.c', |
184 '../third_party/externals/libwebp/src/enc/cost.c', | 137 '../third_party/externals/libwebp/src/enc/cost.c', |
185 '../third_party/externals/libwebp/src/enc/filter.c', | 138 '../third_party/externals/libwebp/src/enc/filter.c', |
186 '../third_party/externals/libwebp/src/enc/frame.c', | 139 '../third_party/externals/libwebp/src/enc/frame.c', |
187 '../third_party/externals/libwebp/src/enc/histogram.c', | 140 '../third_party/externals/libwebp/src/enc/histogram.c', |
188 '../third_party/externals/libwebp/src/enc/iterator.c', | 141 '../third_party/externals/libwebp/src/enc/iterator.c', |
189 '../third_party/externals/libwebp/src/enc/near_lossless.c', | |
190 '../third_party/externals/libwebp/src/enc/picture.c', | 142 '../third_party/externals/libwebp/src/enc/picture.c', |
191 '../third_party/externals/libwebp/src/enc/picture_csp.c', | 143 '../third_party/externals/libwebp/src/enc/picture_csp.c', |
192 '../third_party/externals/libwebp/src/enc/picture_psnr.c', | |
193 '../third_party/externals/libwebp/src/enc/picture_rescale.c', | |
194 '../third_party/externals/libwebp/src/enc/picture_tools.c', | |
195 '../third_party/externals/libwebp/src/enc/quant.c', | 144 '../third_party/externals/libwebp/src/enc/quant.c', |
196 '../third_party/externals/libwebp/src/enc/syntax.c', | 145 '../third_party/externals/libwebp/src/enc/syntax.c', |
197 '../third_party/externals/libwebp/src/enc/token.c', | 146 '../third_party/externals/libwebp/src/enc/token.c', |
198 '../third_party/externals/libwebp/src/enc/tree.c', | 147 '../third_party/externals/libwebp/src/enc/tree.c', |
199 '../third_party/externals/libwebp/src/enc/vp8l.c', | 148 '../third_party/externals/libwebp/src/enc/vp8l.c', |
200 '../third_party/externals/libwebp/src/enc/webpenc.c', | 149 '../third_party/externals/libwebp/src/enc/webpenc.c', |
201 ], | 150 ], |
202 'cflags': [ '-w' ], | 151 'cflags': [ '-w' ], |
203 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] }, | 152 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] }, |
204 }, | 153 }, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 ], | 229 ], |
281 }, | 230 }, |
282 }, | 231 }, |
283 ], | 232 ], |
284 ], | 233 ], |
285 } | 234 } |
286 ], | 235 ], |
287 }], | 236 }], |
288 ], | 237 ], |
289 } | 238 } |
OLD | NEW |