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

Unified Diff: third_party/snappy/snappy.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/snappy/BUILD.gn ('k') | third_party/sqlite/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/snappy/snappy.gyp
diff --git a/third_party/snappy/snappy.gyp b/third_party/snappy/snappy.gyp
index ac0186f5da70bc03d43438e516b2802fb1c142e5..f0292593c3bac561f9881fbe3d251759fd2c5405 100644
--- a/third_party/snappy/snappy.gyp
+++ b/third_party/snappy/snappy.gyp
@@ -31,6 +31,11 @@
],
},
'variables': {
+ 'clang_warning_flags': [
+ # ComputeTable is unused,
+ # https://code.google.com/p/snappy/issues/detail?id=96
+ '-Wno-unused-function',
+ ],
'clang_warning_flags_unset': [
# snappy-stubs-internal.h unapologetically has: using namespace std
# https://code.google.com/p/snappy/issues/detail?id=70
« no previous file with comments | « third_party/snappy/BUILD.gn ('k') | third_party/sqlite/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698