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

Issue 69953025: Support use_glib==0 on Linux in base (Closed)

Created:
7 years, 1 month ago by spang
Modified:
7 years, 1 month ago
Reviewers:
brettw
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Support use_glib==0 on Linux in base This makes base build on Linux when use_glib is set to 0. The only glib bits we are currently using in that configuration are g_get_home_dir() and g_try_malloc(). Use of g_get_home_dir() is not essential. Without glib, we can just rely on the $HOME environment variable always. Use of g_try_malloc() is just a way to cause a large memory allocation from a shared library. We can achieve the same effect using asprintf(). BUG=318315, 318413, 170408 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236162

Patch Set 1 #

Patch Set 2 : remove dead EXPECT_EQ from OutOfMemoryDeathTest.ViaSharedLibraries #

Patch Set 3 : bring back EXPECT_EQ as it suppresses unused result warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -10 lines) Patch
M base/file_util_posix.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/process/memory_unittest.cc View 1 2 3 chunks +6 lines, -7 lines 0 comments Download
M base/process/process_util_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M build/common.gypi View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
spang
7 years, 1 month ago (2013-11-14 18:51:26 UTC) #1
Mostyn Bramley-Moore
Looks OK to me (it's almost identical to a local patch we have been using).
7 years, 1 month ago (2013-11-14 20:12:01 UTC) #2
brettw
lgtm
7 years, 1 month ago (2013-11-19 23:04:35 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/spang@chromium.org/69953025/70001
7 years, 1 month ago (2013-11-19 23:45:58 UTC) #4
commit-bot: I haz the power
7 years, 1 month ago (2013-11-20 05:33:48 UTC) #5
Message was sent while issue was closed.
Change committed as 236162

Powered by Google App Engine
This is Rietveld 408576698