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

Unified Diff: third_party/brotli/brotli.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/brotli/BUILD.gn ('k') | third_party/libusb/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/brotli/brotli.gyp
diff --git a/third_party/brotli/brotli.gyp b/third_party/brotli/brotli.gyp
index 9c47b1fa607e08e20045370189a1fb85972bcbc0..38c472976dc5c87d327a826acf5f2f00c2ca5ee3 100644
--- a/third_party/brotli/brotli.gyp
+++ b/third_party/brotli/brotli.gyp
@@ -29,6 +29,14 @@
'dec/transform.h',
'dec/types.h',
],
+ 'variables': {
+ 'clang_warning_flags': [
+ # IncrementalCopyFastPath in decode.c can be unused.
+ # (The file looks very different upstream, this is probably no longer
+ # needed after rolling brotli the next time.)
+ '-Wno-unused-function',
+ ],
+ },
'conditions': [
['os_posix==1 and (target_arch=="arm" or target_arch=="armv7" or target_arch=="arm64")', {
'cflags!': ['-Os'],
« no previous file with comments | « third_party/brotli/BUILD.gn ('k') | third_party/libusb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698