Remove verylargebitmap gm on Android
authorborenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 7 Aug 2012 14:46:05 +0000 (14:46 +0000)
committerborenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 7 Aug 2012 14:46:05 +0000 (14:46 +0000)
We can't allocate that much memory on Android
Review URL: https://codereview.appspot.com/6460054

git-svn-id: http://skia.googlecode.com/svn/trunk@4973 2bbb7eff-a529-9590-31e7-b0007b416f81

gm/verylargebitmap.cpp

index 970ec65..b0fdf27 100644 (file)
@@ -82,6 +82,8 @@ private:
 
 //////////////////////////////////////////////////////////////////////////////
 
+// This GM allocates more memory than Android devices are capable of fulfilling.
+#ifndef SK_BUILD_FOR_ANDROID
 static skiagm::GM* MyFactory(void*) { return new VeryLargeBitmapGM; }
 static skiagm::GMRegistry reg(MyFactory);
-
+#endif