Skip to content

Commit

Permalink
[sqlite] Remove recover.c from amalgamation.
Browse files Browse the repository at this point in the history
Build recover.c as a separate object file from SQLite core.  Preparing
for building it with system SQLite for systems which don't use
Chromium's SQLite.

BUG=584407

Review URL: https://codereview.chromium.org/1748183004

Cr-Commit-Position: refs/heads/master@{#379954}
  • Loading branch information
dshess authored and Commit bot committed Mar 8, 2016
1 parent 0919f34 commit ce1818c
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 2,548 deletions.
1 change: 1 addition & 0 deletions sql/recovery.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "sql/connection.h"
#include "sql/statement.h"
#include "third_party/sqlite/sqlite3.h"
#include "third_party/sqlite/src/src/recover.h"

namespace sql {

Expand Down
3 changes: 3 additions & 0 deletions third_party/sqlite/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ if (!use_system_sqlite) {
"amalgamation/config.h",
"amalgamation/sqlite3.c",
"amalgamation/sqlite3.h",
"src/src/recover.c",
"src/src/recover.h",
"src/src/recover_varint.c",
]

cflags = []
Expand Down
Loading

0 comments on commit ce1818c

Please sign in to comment.