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

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

Issue 2184993002: Remove warning suppression for Wexpansion-to-defined violation for Opus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « third_party/opus/BUILD.gn ('k') | 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 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['target_arch=="arm" or target_arch=="arm64"', { 8 ['target_arch=="arm" or target_arch=="arm64"', {
9 'use_opus_fixed_point%': 1, 9 'use_opus_fixed_point%': 1,
10 }, { 10 }, {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 ], 52 ],
53 }, 53 },
54 'targets': [ 54 'targets': [
55 { 55 {
56 'target_name': 'opus', 56 'target_name': 'opus',
57 'type': 'static_library', 57 'type': 'static_library',
58 'defines': [ 58 'defines': [
59 'OPUS_BUILD', 59 'OPUS_BUILD',
60 'OPUS_EXPORT=', 60 'OPUS_EXPORT=',
61 ], 61 ],
62 'variables': {
63 'clang_warning_flags': [
64 # TODO(thakis): Remove once silk/macros.h has been fixed
65 '-Wno-expansion-to-defined',
66 ],
67 },
68 'include_dirs': [ 62 'include_dirs': [
69 'src/celt', 63 'src/celt',
70 'src/include', 64 'src/include',
71 'src/silk', 65 'src/silk',
72 ], 66 ],
73 'direct_dependent_settings': { 67 'direct_dependent_settings': {
74 'include_dirs': [ 68 'include_dirs': [
75 'src/include', 69 'src/include',
76 ], 70 ],
77 }, 71 },
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 'type': 'executable', 237 'type': 'executable',
244 'dependencies': [ 238 'dependencies': [
245 'opus' 239 'opus'
246 ], 240 ],
247 'sources': [ 241 'sources': [
248 'src/tests/test_opus_padding.c', 242 'src/tests/test_opus_padding.c',
249 ], 243 ],
250 }, # target test_opus_padding 244 }, # target test_opus_padding
251 ] 245 ]
252 } 246 }
OLDNEW
« no previous file with comments | « third_party/opus/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698