aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar Derek Sollenberger <djsollen@google.com>2017-01-05 09:50:22 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-05 15:20:21 +0000
commitc65386ae55555819e321b77fd5a2b25dfcf94c3d (patch)
tree6ad13bbb786b1d7be16948f1cef4c404501d65b7 /dm/DM.cpp
parentd4e75e24a7f8722e0c1903cd39e418f82d18090a (diff)
Remove DMSrcSinkAndroid.
This code involves Skia having knowledge of HWUI internals and causes problems with various build systems. It is also not currently being used and is therefore expendable. Change-Id: I7b6a37fa4c9afcefbc6a957b49e7735da872ff14 Reviewed-on: https://skia-review.googlesource.com/6597 Commit-Queue: Derek Sollenberger <djsollen@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 021b411ffe..7774d5e81e 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -7,7 +7,6 @@
#include "DMJsonWriter.h"
#include "DMSrcSink.h"
-#include "DMSrcSinkAndroid.h"
#include "ProcStats.h"
#include "Resources.h"
#include "SkBBHFactory.h"
@@ -859,10 +858,6 @@ static Sink* create_sink(const SkCommandLineConfig* config) {
#define SINK(t, sink, ...) if (config->getBackend().equals(t)) { return new sink(__VA_ARGS__); }
-#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
- SINK("hwui", HWUISink);
-#endif
-
if (FLAGS_cpu) {
auto srgbColorSpace = SkColorSpace::MakeNamed(SkColorSpace::kSRGB_Named);
auto srgbLinearColorSpace = SkColorSpace::MakeNamed(SkColorSpace::kSRGBLinear_Named);
@@ -908,10 +903,6 @@ static Sink* create_via(const SkString& tag, Sink* wrapped) {
VIA("upright", ViaUpright, m, wrapped);
}
-#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
- VIA("androidsdk", ViaAndroidSDK, wrapped);
-#endif
-
#undef VIA
return nullptr;
}