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

Unified Diff: third_party/sqlite/BUILD.gn

Issue 1757653002: [sqlite] sql::Recovery working under USE_SYSTEM_SQLITE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zzzzsql_ios_recover_review1
Patch Set: copy_test_data_ios.gypi for test data. 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 | « sql/sql.gyp ('k') | third_party/sqlite/sqlite.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/BUILD.gn
diff --git a/third_party/sqlite/BUILD.gn b/third_party/sqlite/BUILD.gn
index 8400837db8c2d34243e75288573eb8b5f5a81ac4..c6fb95d2486846ed3aeea2f8a8fb8d707a48dada 100644
--- a/third_party/sqlite/BUILD.gn
+++ b/third_party/sqlite/BUILD.gn
@@ -223,6 +223,9 @@ if (use_system_sqlite) {
source_set("sqlite") {
public_configs = [ ":sqlite_config" ]
+ deps = [
+ ":sqlite_recover",
+ ]
if (is_ios) {
deps = [
":sqlite_regexp",
@@ -230,6 +233,15 @@ if (use_system_sqlite) {
}
}
+ source_set("sqlite_recover") {
+ sources = [
+ # TODO(shess): Move out of the SQLite source tree, perhaps to ext/.
+ "src/src/recover.c",
+ "src/src/recover.h",
+ "src/src/recover_varint.c",
+ ]
+ }
+
if (is_ios) {
source_set("sqlite_regexp") {
defines = [
« no previous file with comments | « sql/sql.gyp ('k') | third_party/sqlite/sqlite.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698