Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: gyp/libwebp.gyp

Issue 1280073002: Update libwebp and resume testing scaled webp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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',
69 '../third_party/externals/libwebp/src/dsp/alpha_processing_sse2.c', 70 '../third_party/externals/libwebp/src/dsp/alpha_processing_sse2.c',
71 '../third_party/externals/libwebp/src/dsp/alpha_processing_sse41.c',
70 '../third_party/externals/libwebp/src/dsp/cpu.c', 72 '../third_party/externals/libwebp/src/dsp/cpu.c',
71 '../third_party/externals/libwebp/src/dsp/dec.c', 73 '../third_party/externals/libwebp/src/dsp/dec.c',
72 '../third_party/externals/libwebp/src/dsp/dec_clip_tables.c', 74 '../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',
73 '../third_party/externals/libwebp/src/dsp/dec_sse2.c', 77 '../third_party/externals/libwebp/src/dsp/dec_sse2.c',
78 '../third_party/externals/libwebp/src/dsp/dec_sse41.c',
74 '../third_party/externals/libwebp/src/dsp/enc.c', 79 '../third_party/externals/libwebp/src/dsp/enc.c',
75 '../third_party/externals/libwebp/src/dsp/enc_sse2.c', 80 '../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',
76 '../third_party/externals/libwebp/src/dsp/lossless.c', 84 '../third_party/externals/libwebp/src/dsp/lossless.c',
85 '../third_party/externals/libwebp/src/dsp/lossless_mips_dsp_r2.c',
77 '../third_party/externals/libwebp/src/dsp/lossless_sse2.c', 86 '../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',
78 '../third_party/externals/libwebp/src/dsp/upsampling.c', 90 '../third_party/externals/libwebp/src/dsp/upsampling.c',
91 '../third_party/externals/libwebp/src/dsp/upsampling_mips_dsp_r2.c',
79 '../third_party/externals/libwebp/src/dsp/upsampling_sse2.c', 92 '../third_party/externals/libwebp/src/dsp/upsampling_sse2.c',
80 '../third_party/externals/libwebp/src/dsp/yuv.c', 93 '../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',
81 '../third_party/externals/libwebp/src/dsp/yuv_sse2.c', 96 '../third_party/externals/libwebp/src/dsp/yuv_sse2.c',
82 ], 97 ],
83 'cflags': [ '-w' ], 98 'cflags': [ '-w' ],
84 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] }, 99 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] },
85 'conditions': [ 100 'conditions': [
86 ['skia_os == "android"', { 101 ['skia_os == "android"', {
87 'dependencies' : [ 102 'dependencies' : [
88 'android_deps.gyp:cpu_features', 103 'android_deps.gyp:cpu_features',
89 ], 104 ],
90 }], 105 }],
(...skipping 23 matching lines...) Expand all
114 'cflags!': [ 129 'cflags!': [
115 '-mfpu=vfpv3-d16', 130 '-mfpu=vfpv3-d16',
116 ], 131 ],
117 'cflags': [ '-w' ], 132 'cflags': [ '-w' ],
118 },{ # !(arm_version >= 7) 133 },{ # !(arm_version >= 7)
119 'type': 'none', 134 'type': 'none',
120 }], 135 }],
121 ], 136 ],
122 }, 137 },
123 { 138 {
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.c',
156 '../third_party/externals/libwebp/src/dsp/enc_avx2.c',
157 '../third_party/externals/libwebp/src/dsp/enc_mips32.c',
158 '../third_party/externals/libwebp/src/dsp/enc_mips_dsp_r2.c',
159 '../third_party/externals/libwebp/src/dsp/enc_neon.c',
160 '../third_party/externals/libwebp/src/dsp/enc_sse2.c',
161 '../third_party/externals/libwebp/src/dsp/enc_sse41.c',
162 '../third_party/externals/libwebp/src/dsp/lossless_enc.c',
163 '../third_party/externals/libwebp/src/dsp/lossless_enc_mips32.c',
164 '../third_party/externals/libwebp/src/dsp/lossless_enc_mips_dsp_r2.c ',
165 '../third_party/externals/libwebp/src/dsp/lossless_enc_neon.c',
166 '../third_party/externals/libwebp/src/dsp/lossless_enc_sse2.c',
167 '../third_party/externals/libwebp/src/dsp/lossless_enc_sse41.c',
168 ],
169 },
170 {
124 'target_name': 'libwebp_enc', 171 'target_name': 'libwebp_enc',
125 'type': 'static_library', 172 'type': 'static_library',
126 'includes': [ 173 'includes': [
127 'libwebp_skia.gypi', 174 'libwebp_skia.gypi',
128 ], 175 ],
129 'include_dirs': [ 176 'include_dirs': [
130 '../third_party/externals/libwebp', 177 '../third_party/externals/libwebp',
131 ], 178 ],
179 'dependencies' : [
180 'libwebp_dsp_enc',
181 ],
132 'sources': [ 182 'sources': [
133 '../third_party/externals/libwebp/src/enc/alpha.c', 183 '../third_party/externals/libwebp/src/enc/alpha.c',
134 '../third_party/externals/libwebp/src/enc/analysis.c', 184 '../third_party/externals/libwebp/src/enc/analysis.c',
135 '../third_party/externals/libwebp/src/enc/backward_references.c', 185 '../third_party/externals/libwebp/src/enc/backward_references.c',
136 '../third_party/externals/libwebp/src/enc/config.c', 186 '../third_party/externals/libwebp/src/enc/config.c',
137 '../third_party/externals/libwebp/src/enc/cost.c', 187 '../third_party/externals/libwebp/src/enc/cost.c',
138 '../third_party/externals/libwebp/src/enc/filter.c', 188 '../third_party/externals/libwebp/src/enc/filter.c',
139 '../third_party/externals/libwebp/src/enc/frame.c', 189 '../third_party/externals/libwebp/src/enc/frame.c',
140 '../third_party/externals/libwebp/src/enc/histogram.c', 190 '../third_party/externals/libwebp/src/enc/histogram.c',
141 '../third_party/externals/libwebp/src/enc/iterator.c', 191 '../third_party/externals/libwebp/src/enc/iterator.c',
192 '../third_party/externals/libwebp/src/enc/near_lossless.c',
142 '../third_party/externals/libwebp/src/enc/picture.c', 193 '../third_party/externals/libwebp/src/enc/picture.c',
143 '../third_party/externals/libwebp/src/enc/picture_csp.c', 194 '../third_party/externals/libwebp/src/enc/picture_csp.c',
195 '../third_party/externals/libwebp/src/enc/picture_psnr.c',
196 '../third_party/externals/libwebp/src/enc/picture_rescale.c',
197 '../third_party/externals/libwebp/src/enc/picture_tools.c',
144 '../third_party/externals/libwebp/src/enc/quant.c', 198 '../third_party/externals/libwebp/src/enc/quant.c',
145 '../third_party/externals/libwebp/src/enc/syntax.c', 199 '../third_party/externals/libwebp/src/enc/syntax.c',
146 '../third_party/externals/libwebp/src/enc/token.c', 200 '../third_party/externals/libwebp/src/enc/token.c',
147 '../third_party/externals/libwebp/src/enc/tree.c', 201 '../third_party/externals/libwebp/src/enc/tree.c',
148 '../third_party/externals/libwebp/src/enc/vp8l.c', 202 '../third_party/externals/libwebp/src/enc/vp8l.c',
149 '../third_party/externals/libwebp/src/enc/webpenc.c', 203 '../third_party/externals/libwebp/src/enc/webpenc.c',
150 ], 204 ],
151 'cflags': [ '-w' ], 205 'cflags': [ '-w' ],
152 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] }, 206 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] },
153 }, 207 },
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 ], 283 ],
230 }, 284 },
231 }, 285 },
232 ], 286 ],
233 ], 287 ],
234 } 288 }
235 ], 289 ],
236 }], 290 }],
237 ], 291 ],
238 } 292 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698