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', |
], |