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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/opus/opus.gyp
diff --git a/third_party/opus/opus.gyp b/third_party/opus/opus.gyp
index 7747c972f2b1006966def6d986b83d2435c63dfa..326367ea33e09171c954fb70f901115cd91d8579 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': [
« 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