DescriptionSupport 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 #
Messages
Total messages: 5 (0 generated)
|