summaryrefslogtreecommitdiffstats
path: root/third_party/opus
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-08 04:10:51 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-08 04:10:51 +0000
commit38349cac405f64f1cf4ee713e6d7e094db37a34e (patch)
tree13d3331e0acf8674f2140393ef7ef9a706711d21 /third_party/opus
parent088a37b057ffa3c38514a71bd8aaa4bf46324afd (diff)
downloadchromium_src-38349cac405f64f1cf4ee713e6d7e094db37a34e.zip
chromium_src-38349cac405f64f1cf4ee713e6d7e094db37a34e.tar.gz
chromium_src-38349cac405f64f1cf4ee713e6d7e094db37a34e.tar.bz2
Suppress opus #pragma warning on iOS & OS/X, too.
BUG=355440 Review URL: https://codereview.chromium.org/227413007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262302 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/opus')
-rw-r--r--third_party/opus/opus.gyp9
1 files changed, 7 insertions, 2 deletions
diff --git a/third_party/opus/opus.gyp b/third_party/opus/opus.gyp
index 7747c97..326367e 100644
--- a/third_party/opus/opus.gyp
+++ b/third_party/opus/opus.gyp
@@ -51,11 +51,16 @@
],
}],
[ 'os_posix==1 and OS!="android"', {
+ # Suppress a warning given by opus_decoder.c that tells us
+ # optimizations are turned off.
'cflags': [
- # Suppress a warning given by opus_decoder.c that tells us
- # optimizations are turned off.
'-Wno-#pragma-messages',
],
+ 'xcode_settings': {
+ 'WARNING_CFLAGS': [
+ '-Wno-#pragma-messages',
+ ],
+ },
}],
['use_opus_fixed_point==0', {
'include_dirs': [