Disable memory intensive drawBitmapRectToRect tests on Android
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 26 Sep 2012 15:28:04 +0000 (15:28 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 26 Sep 2012 15:28:04 +0000 (15:28 +0000)
http://codereview.appspot.com/6567052/

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

gm/bitmaprect.cpp

index 15d4520..02cd563 100644 (file)
@@ -227,13 +227,17 @@ static skiagm::GM* MyFactory1(void*) { return new DrawBitmapRect2(true); }
 
 static skiagm::GM* MyFactory2(void*) { return new DrawBitmapRect3(); }
 
+#ifndef SK_BUILD_FOR_ANDROID
 static skiagm::GM* MyFactory3(void*) { return new DrawBitmapRect4(false); }
 static skiagm::GM* MyFactory4(void*) { return new DrawBitmapRect4(true); }
+#endif
 
 static skiagm::GMRegistry reg0(MyFactory0);
 static skiagm::GMRegistry reg1(MyFactory1);
 
 static skiagm::GMRegistry reg2(MyFactory2);
 
+#ifndef SK_BUILD_FOR_ANDROID
 static skiagm::GMRegistry reg3(MyFactory3);
 static skiagm::GMRegistry reg4(MyFactory4);
+#endif