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

Side by Side Diff: third_party/libwebp/libwebp.gyp

Issue 1226583002: clang/win: Build chromium code without -Wno-incompatible-pointer-types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clang-logical-op-parentheses
Patch Set: rebase Created 5 years, 5 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 '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
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',
fbarchard 2015/07/10 19:26:42 pulling in utilities as a dependency seems like ov
Sam McNally 2015/07/13 08:00:25 demux.c includes utils/utils.h so it should depend
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
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 # See https://code.google.com/p/webp/issues/detail?id=253.
175 '-Wno-incompatible-pointer-types',
176 ]
177 },
178 'direct_dependent_settings': {
179 'variables': {
180 'clang_warning_flags': [
181 # See https://code.google.com/p/webp/issues/detail?id=253.
182 '-Wno-incompatible-pointer-types',
183 ]
184 },
185 },
163 }, 186 },
164 { 187 {
165 'target_name': 'libwebp', 188 'target_name': 'libwebp',
166 'type': 'none', 189 'type': 'none',
167 'dependencies' : [ 190 'dependencies' : [
168 'libwebp_dec', 191 'libwebp_dec',
169 'libwebp_demux', 192 'libwebp_demux',
170 'libwebp_dsp', 193 'libwebp_dsp',
171 'libwebp_dsp_neon', 194 'libwebp_dsp_neon',
172 'libwebp_enc', 195 'libwebp_enc',
173 'libwebp_utils', 196 'libwebp_utils',
174 ], 197 ],
175 'direct_dependent_settings': { 198 'direct_dependent_settings': {
176 'include_dirs': ['.'], 199 'include_dirs': ['.'],
177 }, 200 },
178 'conditions': [ 201 'conditions': [
179 ['OS!="win"', {'product_name': 'webp'}], 202 ['OS!="win"', {'product_name': 'webp'}],
180 ], 203 ],
181 }, 204 },
182 ], 205 ],
183 } 206 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698