Index: base/process/memory_unittest.cc |
diff --git a/base/process/memory_unittest.cc b/base/process/memory_unittest.cc |
index 0be2d4400633ba75101423e4a452891ddb87d9aa..91344f272272dece33fc8ec1f9f178a15b36f99e 100644 |
--- a/base/process/memory_unittest.cc |
+++ b/base/process/memory_unittest.cc |
@@ -280,6 +280,7 @@ TEST_F(OutOfMemoryDeathTest, Memalign) { |
}, kOomRegex); |
} |
+#if defined(COMPONENT_BUILD) |
TEST_F(OutOfMemoryDeathTest, ViaSharedLibraries) { |
// This tests that the run-time symbol resolution is overriding malloc for |
// shared libraries as well as for our code. |
@@ -288,6 +289,7 @@ TEST_F(OutOfMemoryDeathTest, ViaSharedLibraries) { |
value_ = MallocWrapper(test_size_); |
}, kOomRegex); |
} |
+#endif |
#endif // OS_LINUX |
// Android doesn't implement posix_memalign(). |