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

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

Issue 227413007: Suppress opus #pragma warning on iOS & OS/X, too. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« 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 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['(OS=="android" or chromeos==1) and target_arch=="arm"', { 8 ['(OS=="android" or chromeos==1) and target_arch=="arm"', {
9 'use_opus_fixed_point%': 1, 9 'use_opus_fixed_point%': 1,
10 'use_opus_arm_optimization%': 1, 10 'use_opus_arm_optimization%': 1,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 'defines': [ 44 'defines': [
45 'USE_ALLOCA', 45 'USE_ALLOCA',
46 'inline=__inline', 46 'inline=__inline',
47 ], 47 ],
48 'msvs_disabled_warnings': [ 48 'msvs_disabled_warnings': [
49 4305, # Disable truncation warning in celt/pitch.c . 49 4305, # Disable truncation warning in celt/pitch.c .
50 4334, # Disable 32-bit shift warning in src/opus_encoder.c . 50 4334, # Disable 32-bit shift warning in src/opus_encoder.c .
51 ], 51 ],
52 }], 52 }],
53 [ 'os_posix==1 and OS!="android"', { 53 [ 'os_posix==1 and OS!="android"', {
54 # Suppress a warning given by opus_decoder.c that tells us
55 # optimizations are turned off.
54 'cflags': [ 56 'cflags': [
55 # Suppress a warning given by opus_decoder.c that tells us
56 # optimizations are turned off.
57 '-Wno-#pragma-messages', 57 '-Wno-#pragma-messages',
58 ], 58 ],
59 'xcode_settings': {
60 'WARNING_CFLAGS': [
61 '-Wno-#pragma-messages',
62 ],
63 },
59 }], 64 }],
60 ['use_opus_fixed_point==0', { 65 ['use_opus_fixed_point==0', {
61 'include_dirs': [ 66 'include_dirs': [
62 'src/silk/float', 67 'src/silk/float',
63 ], 68 ],
64 'sources/': [ 69 'sources/': [
65 ['exclude', '/fixed/[^/]*_FIX.(h|c)$'], 70 ['exclude', '/fixed/[^/]*_FIX.(h|c)$'],
66 ], 71 ],
67 }, { 72 }, {
68 'defines': [ 73 'defines': [
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 'sources': [ 121 'sources': [
117 'src/src/opus_demo.c', 122 'src/src/opus_demo.c',
118 ], 123 ],
119 'include_dirs': [ 124 'include_dirs': [
120 'src/celt', 125 'src/celt',
121 'src/silk', 126 'src/silk',
122 ], 127 ],
123 }, # target opus_demo 128 }, # target opus_demo
124 ] 129 ]
125 } 130 }
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