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

Unified Diff: Source/wtf/PartitionAllocTest.cpp

Issue 186863002: Build blink_platform_unittests and wtf_unittests on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 | « Source/platform/blink_platform_tests.gyp ('k') | Source/wtf/wtf_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/PartitionAllocTest.cpp
diff --git a/Source/wtf/PartitionAllocTest.cpp b/Source/wtf/PartitionAllocTest.cpp
index 531fcd4f70a4547e4d6ee1ace34097ab26b30527..7f14f3cc7e2915fee3b2d1d93d946d09be3a1d9a 100644
--- a/Source/wtf/PartitionAllocTest.cpp
+++ b/Source/wtf/PartitionAllocTest.cpp
@@ -1064,6 +1064,8 @@ TEST(WTF_PartitionAlloc, LostFreePagesBug)
TestShutdown();
}
+#if !OS(ANDROID)
+
// Make sure that malloc(-1) dies.
// In the past, we had an integer overflow that would alias malloc(-1) to
// malloc(0), which is not good.
@@ -1131,6 +1133,8 @@ TEST(WTF_PartitionAllocDeathTest, GuardPages)
TestShutdown();
}
+#endif // !OS(ANDROID)
+
// Tests that the countLeadingZeros() functions work to our satisfaction.
// It doesn't seem worth the overhead of a whole new file for these tests, so
// we'll put them here since partitionAllocGeneric will depend heavily on these
« no previous file with comments | « Source/platform/blink_platform_tests.gyp ('k') | Source/wtf/wtf_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698