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

Side by Side Diff: libvpx.gyp

Issue 419973008: Update clang warnings after r287092. (Closed) Base URL: http://src.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'variables': { 5 'variables': {
6 'libvpx_build_vp9%': 1, 6 'libvpx_build_vp9%': 1,
7 'libvpx_source%': 'source/libvpx', 7 'libvpx_source%': 'source/libvpx',
8 'conditions': [ 8 'conditions': [
9 ['os_posix==1', { 9 ['os_posix==1', {
10 'asm_obj_extension': 'o', 10 'asm_obj_extension': 'o',
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 # really useful defines that come with a gcc invocation. In this 92 # really useful defines that come with a gcc invocation. In this
93 # case, we rely on __ANDROID__ to set 'rand' to 'lrand48'. 93 # case, we rely on __ANDROID__ to set 'rand' to 'lrand48'.
94 # Previously we used the builtin _rand but that's gone away. 94 # Previously we used the builtin _rand but that's gone away.
95 'conditions': [ 95 'conditions': [
96 ['OS=="android"', { 96 ['OS=="android"', {
97 'yasm_flags': [ 97 'yasm_flags': [
98 '-D', '__ANDROID__', 98 '-D', '__ANDROID__',
99 ], 99 ],
100 }], 100 }],
101 ], 101 ],
102 'clang_warning_flags': [
103 # libvpx heavily relies on implicit enum casting.
104 '-Wno-conversion',
105 # libvpx does `if ((a == b))` in some places.
106 '-Wno-parentheses-equality',
107 ],
102 }, 108 },
103 'dependencies': [ 109 'dependencies': [
104 'gen_asm_offsets_vp8', 110 'gen_asm_offsets_vp8',
105 ], 111 ],
106 'includes': [ 112 'includes': [
107 '../yasm/yasm_compile.gypi' 113 '../yasm/yasm_compile.gypi'
108 ], 114 ],
109 'include_dirs': [ 115 'include_dirs': [
110 'source/config/<(OS_CATEGORY)/<(target_arch_full)', 116 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
111 'source/config', 117 'source/config',
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 #'libvpx_intrinsics_sse3', 166 #'libvpx_intrinsics_sse3',
161 'libvpx_intrinsics_ssse3', 167 'libvpx_intrinsics_ssse3',
162 'libvpx_intrinsics_sse4_1', 168 'libvpx_intrinsics_sse4_1',
163 # Currently no avx intrinsic functions 169 # Currently no avx intrinsic functions
164 #'libvpx_intrinsics_avx', 170 #'libvpx_intrinsics_avx',
165 #'libvpx_intrinsics_avx2', 171 #'libvpx_intrinsics_avx2',
166 ], 172 ],
167 }], 173 }],
168 ], 174 ],
169 }], 175 }],
170 ['clang == 1', {
171 'xcode_settings': {
172 'WARNING_CFLAGS': [
173 # libvpx heavily relies on implicit enum casting.
174 '-Wno-conversion',
175 # libvpx does `if ((a == b))` in some places.
176 '-Wno-parentheses-equality',
177 ],
178 },
179 'cflags': [
180 '-Wno-conversion',
181 '-Wno-parentheses-equality',
182 ],
183 }],
184 ], 176 ],
185 }, 177 },
186 ], 178 ],
187 }, 179 },
188 ], 180 ],
189 # 'libvpx' target for mips builds. 181 # 'libvpx' target for mips builds.
190 [ 'target_arch=="mipsel" ', { 182 [ 'target_arch=="mipsel" ', {
191 'targets': [ 183 'targets': [
192 { 184 {
193 # This libvpx target contains both encoder and decoder. 185 # This libvpx target contains both encoder and decoder.
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 # Need this otherwise gyp won't run the rule on them. 569 # Need this otherwise gyp won't run the rule on them.
578 'sources': [ 570 'sources': [
579 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', 571 '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o',
580 ], 572 ],
581 }], 573 }],
582 ], 574 ],
583 'includes': ['obj_int_extract.gypi'], 575 'includes': ['obj_int_extract.gypi'],
584 }, 576 },
585 ], 577 ],
586 } 578 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698