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

Unified Diff: third_party/usrsctp/usrsctp.gyp

Issue 1269293003: Explicitly pass -Wno-unused-function to the targets that need it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gnnnnnnnnnnn Created 5 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/usrsctp/BUILD.gn ('k') | third_party/yasm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/usrsctp/usrsctp.gyp
diff --git a/third_party/usrsctp/usrsctp.gyp b/third_party/usrsctp/usrsctp.gyp
index 4f82ff803abcb55adbe6cb65be0e1449f02eafac..b7a044e9e5cc1003b5f99438425583376734b238 100644
--- a/third_party/usrsctp/usrsctp.gyp
+++ b/third_party/usrsctp/usrsctp.gyp
@@ -120,6 +120,12 @@
'usrsctplib/user_uma.h',
'usrsctplib/usrsctp.h'
], # sources
+ 'variables': {
+ 'clang_warning_flags': [
+ # atomic_init in user_atomic.h is a static function in a header.
+ '-Wno-unused-function',
+ ],
+ },
'conditions': [
['OS=="linux" or OS=="android"', {
'defines': [
« no previous file with comments | « third_party/usrsctp/BUILD.gn ('k') | third_party/yasm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698