Index: third_party/sqlite/sqlite.gyp |
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp |
index 098a5f51db72bf1ded5e9cb44bea49fc74d67991..220d014f435c3765b6b90129b23e957f44360d22 100644 |
--- a/third_party/sqlite/sqlite.gyp |
+++ b/third_party/sqlite/sqlite.gyp |
@@ -98,6 +98,10 @@ |
], |
}, |
+ 'dependencies': [ |
+ 'sqlite_recover', |
+ ], |
+ |
'conditions': [ |
['OS == "ios"', { |
'dependencies': [ |
@@ -215,6 +219,17 @@ |
# crbug.com/422251 |
'../../build/android/disable_gcc_lto.gypi', |
], |
+ }, { |
+ # Virtual table used by sql::Recovery to recover corrupt databases, for |
+ # use with USE_SYSTEM_SQLITE. |
+ 'target_name': 'sqlite_recover', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ # TODO(shess): Move out of the SQLite source tree, perhaps to ext/. |
+ 'src/src/recover_varint.c', |
+ 'src/src/recover.c', |
+ 'src/src/recover.h', |
+ ], |
}, |
], |
'conditions': [ |