Index: tests/MatrixTest.cpp |
diff --git a/tests/MatrixTest.cpp b/tests/MatrixTest.cpp |
index 57e79576b0e1405034961ecebdf5db43ae3cb3a2..edeb649a66ce07f518ca8d4287fcf93e7c777e5b 100644 |
--- a/tests/MatrixTest.cpp |
+++ b/tests/MatrixTest.cpp |
@@ -664,8 +664,14 @@ static void test_matrix_homogeneous(skiatest::Reporter* reporter) { |
const float kRotation1 = -50.f; |
const float kScale0 = 5000.f; |
+#if defined(GOOGLE3) |
+ // Stack frame size is limited in GOOGLE3. |
+ const int kTripleCount = 100; |
+ const int kMatrixCount = 100; |
+#else |
const int kTripleCount = 1000; |
const int kMatrixCount = 1000; |
+#endif |
SkRandom rand; |
SkScalar randTriples[3*kTripleCount]; |