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

Unified Diff: base/process/memory_unittest.cc

Issue 2363283002: Use 'local-exec' for threadlocal_heap_ in tcmalloc. (Closed)
Patch Set: Try static_library for cast_graphics Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/BUILD.gn ('k') | base/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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().
« no previous file with comments | « base/BUILD.gn ('k') | base/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698