Fix android build
git-svn-id: http://skia.googlecode.com/svn/trunk@3484 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index 6175eee..349b0e0 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -24,11 +24,11 @@
'target_name': 'skdiff',
'type': 'executable',
'sources': [
- '../src/effects/SkEffects_none.cpp',
'../tools/skdiff_main.cpp',
],
'dependencies': [
'core.gyp:core',
+ 'effects.gyp:effects',
'images.gyp:images',
'ports.gyp:ports',
'utils.gyp:utils',
@@ -38,11 +38,11 @@
'target_name': 'skhello',
'type': 'executable',
'sources': [
- '../src/effects/SkEffects_none.cpp',
'../tools/skhello.cpp',
],
'dependencies': [
'core.gyp:core',
+ 'effects.gyp:effects',
'images.gyp:images',
'ports.gyp:ports',
'utils.gyp:utils',
@@ -52,11 +52,11 @@
'target_name': 'skimage',
'type': 'executable',
'sources': [
- '../src/effects/SkEffects_none.cpp',
'../tools/skimage_main.cpp',
],
'dependencies': [
'core.gyp:core',
+ 'effects.gyp:effects',
'images.gyp:images',
'ports.gyp:ports',
'utils.gyp:utils',
diff --git a/src/effects/SkEffects_none.cpp b/src/effects/SkEffects_none.cpp
deleted file mode 100644
index 519fcf7..0000000
--- a/src/effects/SkEffects_none.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright 2011 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "SkTypes.h"
-
-#if !SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
-
-#include "../../include/effects/SkEffects.h"
-
-void SkEffects::Init() {
-}
-
-#endif