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

Unified Diff: third_party/opus/opus.gyp

Issue 507753002: Fix clang warnings in GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/opus/BUILD.gn ('k') | 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 43b85481287d11740042b7608cba4d77d0d67fe0..e6c4bcf1b6650754bf901a22b820bde8e64c597c 100644
--- a/third_party/opus/opus.gyp
+++ b/third_party/opus/opus.gyp
@@ -59,6 +59,11 @@
4334, # Disable 32-bit shift warning in src/opus_encoder.c .
],
}],
+ ['os_posix==1', {
+ 'link_settings': {
+ 'libraries': [ '-lm' ],
+ },
+ }],
['os_posix==1 and OS!="android"', {
# Suppress a warning given by opus_decoder.c that tells us
# optimizations are turned off.
@@ -134,6 +139,9 @@
'-llog',
],
},
+ }],
+ ['clang==1', {
+ 'cflags': [ '-Wno-absolute-value' ],
}]
],
'sources': [
« 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