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

Unified Diff: third_party/sqlite/BUILD.gn

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 | « 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..3ed3b3fd6d4f76b66e19bda7499f67fcb8a4e0fb 100644
--- a/third_party/sqlite/BUILD.gn
+++ b/third_party/sqlite/BUILD.gn
@@ -224,6 +224,9 @@ if (use_system_sqlite) {
source_set("sqlite") {
public_configs = [ ":sqlite_config" ]
if (is_ios) {
+ public_deps = [
+ ":sqlite_recover",
+ ]
deps = [
":sqlite_regexp",
]
@@ -231,6 +234,15 @@ if (use_system_sqlite) {
}
if (is_ios) {
+ 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",
+ ]
+ }
+
source_set("sqlite_regexp") {
defines = [
# Necessary to statically compile the extension.
« 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