remove bit rot test gyp
BUG=skia:2597
R=epoger@google.com
TBR=epoger
NOTRY=true
Author: caryclark@google.com
Review URL: https://codereview.chromium.org/296053016
git-svn-id: http://skia.googlecode.com/svn/trunk@14856 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/skpskgr_test.gyp b/gyp/skpskgr_test.gyp
deleted file mode 100755
index 5af0bfb..0000000
--- a/gyp/skpskgr_test.gyp
+++ /dev/null
@@ -1,40 +0,0 @@
-# GYP file to build unit tests.
-{
- 'includes': [
- 'apptype_console.gypi',
- ],
- 'targets': [
- {
- 'target_name': 'skpskgr_test',
- 'type': 'executable',
- 'suppress_wildcard': '1',
- 'include_dirs' : [
- '../src/core',
- '../src/effects',
- '../src/lazy',
- '../src/pathops',
- '../src/pdf',
- '../src/pipe/utils',
- '../src/utils',
- '../tools/',
- ],
- 'sources': [
- '../tests/SkpSkGrTest.cpp',
- '../tests/Test.cpp',
- '../tests/skia_test.cpp',
- '../tests/Test.h',
- ],
- 'dependencies': [
- 'skia_lib.gyp:skia_lib',
- 'flags.gyp:flags',
- ],
- 'conditions': [
- [ 'skia_gpu == 1', {
- 'include_dirs': [
- '../src/gpu',
- ],
- }],
- ],
- },
- ],
-}
diff --git a/tests/SkpSkGrTest.cpp b/tests/SkpSkGrTest.cpp
index 8ca75dc..c1883a9 100644
--- a/tests/SkpSkGrTest.cpp
+++ b/tests/SkpSkGrTest.cpp
@@ -48,7 +48,7 @@
{1, "http___accuweather_com_.skp"}, // Couldn't convert bitmap to texture.http___absoku072_com_
};
-static const size_t skipOverSkGrCount = 0; // SK_ARRAY_COUNT(skipOverSkGr);
+static const size_t skipOverSkGrCount = SK_ARRAY_COUNT(skipOverSkGr);
/////////////////////////////////////////
@@ -425,7 +425,7 @@
do {
dim.fX = (pWidth + scale - 1) / scale;
dim.fY = (pHeight + scale - 1) / scale;
- bool success = bitmap.allocN32Pixels(, dim.fX, dim.fY);
+ bool success = bitmap.allocN32Pixels(dim.fX, dim.fY);
if (success) {
break;
}