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

Unified Diff: third_party/sqlite/sqlite.gyp

Issue 1785443004: [sqlite] sql::Recovery working under USE_SYSTEM_SQLITE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment out unused constants. Created 4 years, 9 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/sqlite/src/src/recover.c » ('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 fca9006038583565fd6246a5c38b777bf351b405..01da115d07c607dfbf0c4a2a4b110e378b7cd71f 100644
--- a/third_party/sqlite/sqlite.gyp
+++ b/third_party/sqlite/sqlite.gyp
@@ -67,6 +67,7 @@
'conditions': [
['OS == "ios"', {
'dependencies': [
+ 'sqlite_recover',
'sqlite_regexp',
],
'link_settings': {
@@ -243,6 +244,18 @@
['OS == "ios"', {
'targets': [
{
+ # 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',
+ ],
+ },
+ {
'target_name': 'sqlite_regexp',
'type': 'static_library',
'dependencies': [
« no previous file with comments | « third_party/sqlite/BUILD.gn ('k') | third_party/sqlite/src/src/recover.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698