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

Unified Diff: third_party/sqlite/sqlite.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/sqlite/BUILD.gn ('k') | third_party/usrsctp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/sqlite.gyp
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp
index bb3a7f5526e01800d2eba97c21aeefe6ec3bf5cd..5fc4dc18ed49527b458d3770e064dc128f379675 100644
--- a/third_party/sqlite/sqlite.gyp
+++ b/third_party/sqlite/sqlite.gyp
@@ -117,6 +117,16 @@
'amalgamation/sqlite3.h',
'amalgamation/sqlite3.c',
],
+ 'variables': {
+ 'clang_warning_flags': [
+ # sqlite contains a few functions that are unused, at least on
+ # Windows with Chromium's sqlite patches applied
+ # (interiorCursorEOF fts3EvalDeferredPhrase
+ # fts3EvalSelectDeferred sqlite3Fts3InitHashTable
+ # sqlite3Fts3InitTok).
+ '-Wno-unused-function',
+ ],
+ },
'include_dirs': [
'amalgamation',
],
« no previous file with comments | « third_party/sqlite/BUILD.gn ('k') | third_party/usrsctp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698