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

Issue 1437823005: [sql] uClibc doesn't provide malloc_usable_size(). (Closed)

Created:
5 years, 1 month ago by Scott Hess - ex-Googler
Modified:
5 years, 1 month ago
Reviewers:
smcgruer2
CC:
chromium-reviews
Base URL:
http://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sql] uClibc doesn't provide malloc_usable_size(). For a normal SQLite build using uClibc, autoconf would generate a config.h which SQLite would use. Chromium's build system doesn't make it easy to use different versions of a file depending on platform. Use SQLite's config.h support to build a hybrid which allows additional preprocessor detection. BUG=489784 Committed: https://crrev.com/f52071c0c0b28fc67315dc4d22b8119c10059f55 Cr-Commit-Position: refs/heads/master@{#361175}

Patch Set 1 #

Total comments: 2

Patch Set 2 : features.h #

Patch Set 3 : Comment features.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -14 lines) Patch
M third_party/sqlite/BUILD.gn View 2 chunks +4 lines, -8 lines 0 comments Download
A third_party/sqlite/amalgamation/config.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
M third_party/sqlite/sqlite.gyp View 2 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
smcgruer2
https://codereview.chromium.org/1437823005/diff/1/third_party/sqlite/amalgamation/config.h File third_party/sqlite/amalgamation/config.h (right): https://codereview.chromium.org/1437823005/diff/1/third_party/sqlite/amalgamation/config.h#newcode1 third_party/sqlite/amalgamation/config.h:1: /* On Windows and OSX, SQLite uses preprocessor macros ...
5 years, 1 month ago (2015-11-20 14:46:17 UTC) #2
Scott Hess - ex-Googler
features.h
5 years, 1 month ago (2015-11-20 18:05:22 UTC) #3
Scott Hess - ex-Googler
Great! Could you give this patch try? https://codereview.chromium.org/1437823005/diff/1/third_party/sqlite/amalgamation/config.h File third_party/sqlite/amalgamation/config.h (right): https://codereview.chromium.org/1437823005/diff/1/third_party/sqlite/amalgamation/config.h#newcode1 third_party/sqlite/amalgamation/config.h:1: /* On ...
5 years, 1 month ago (2015-11-20 18:06:05 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1437823005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1437823005/20001
5 years, 1 month ago (2015-11-20 18:07:32 UTC) #6
Scott Hess - ex-Googler
Comment features.h
5 years, 1 month ago (2015-11-20 18:43:05 UTC) #7
Scott Hess - ex-Googler
Hmm. I don't see Chromium using features.h, instead build_config.h has this: #elif defined(__linux__) #define OS_LINUX ...
5 years, 1 month ago (2015-11-20 18:43:24 UTC) #8
smcgruer2
At least on my machine I see: $ grep -r features.h /usr/include/unistd.h #include <features.h> $ ...
5 years, 1 month ago (2015-11-20 19:37:24 UTC) #9
smcgruer2
lgtm
5 years, 1 month ago (2015-11-20 19:43:36 UTC) #10
Scott Hess - ex-Googler
On 2015/11/20 19:37:24, smcgruer wrote: > At least on my machine I see: > > ...
5 years, 1 month ago (2015-11-23 19:07:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1437823005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1437823005/40001
5 years, 1 month ago (2015-11-23 19:09:10 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-23 20:39:36 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-11-23 20:40:38 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f52071c0c0b28fc67315dc4d22b8119c10059f55
Cr-Commit-Position: refs/heads/master@{#361175}

Powered by Google App Engine
This is Rietveld 408576698