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

Issue 3519002: Allow building with system-provided sqlite. Last change (tm). (Closed)

Created:
10 years, 2 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Allow building with system-provided sqlite. Last change (tm). This is upstreaming a Gentoo Linux patch. This patch prevents having multiple conflicting copies of sqlite3Preload at link time, and also fixes a dependency problem that could result in a header mismatch. The gyp file change ensures that we propagate the USE_SYSTEM_SQLITE preprocessor symbol to all targets that need it. BUG=22208 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61489

Patch Set 1 #

Total comments: 4

Patch Set 2 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/chrome.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/sqlite/sqlite3.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Paweł Hajdan Jr.
The stubs.cc is needed to ensure we only have one copy of sqlite3Preload. What we ...
10 years, 2 months ago (2010-10-01 13:21:37 UTC) #1
Evan Martin
On 2010/10/01 13:21:37, Paweł Hajdan Jr. wrote: > The stubs.cc is needed to ensure we ...
10 years, 2 months ago (2010-10-01 16:46:50 UTC) #2
Evan Martin
(not sure why previous message didn't include review comemts) http://codereview.chromium.org/3519002/diff/1/2 File chrome/chrome.gyp (right): http://codereview.chromium.org/3519002/diff/1/2#newcode1021 chrome/chrome.gyp:1021: ...
10 years, 2 months ago (2010-10-01 16:47:10 UTC) #3
Scott Hess - ex-Googler
http://codereview.chromium.org/3519002/diff/1/5 File third_party/sqlite/stubs.cc (right): http://codereview.chromium.org/3519002/diff/1/5#newcode3 third_party/sqlite/stubs.cc:3: int sqlite3Preload(sqlite3 *db) { On 2010/10/01 16:47:10, Evan Martin ...
10 years, 2 months ago (2010-10-01 17:08:30 UTC) #4
Paweł Hajdan Jr.
I've tested it on my Gentoo VM, and just adding "static" works great. PTAL. http://codereview.chromium.org/3519002/diff/1/2 ...
10 years, 2 months ago (2010-10-04 14:07:37 UTC) #5
Evan Martin
LGTM, with the description of what you're doing (the first message in this thread) included ...
10 years, 2 months ago (2010-10-04 16:11:06 UTC) #6
Paweł Hajdan Jr.
Done. On Mon, Oct 4, 2010 at 18:11, <evan@chromium.org> wrote: > LGTM, with the description ...
10 years, 2 months ago (2010-10-04 16:29:57 UTC) #7
Evan Martin
LGTM++
10 years, 2 months ago (2010-10-04 17:05:15 UTC) #8
Scott Hess - ex-Googler
10 years, 2 months ago (2010-10-04 17:09:54 UTC) #9
lgtm.

Powered by Google App Engine
This is Rietveld 408576698