diff options
author | Derek Sollenberger <djsollen@google.com> | 2017-01-05 09:50:22 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-05 15:20:21 +0000 |
commit | c65386ae55555819e321b77fd5a2b25dfcf94c3d (patch) | |
tree | 6ad13bbb786b1d7be16948f1cef4c404501d65b7 /dm/DM.cpp | |
parent | d4e75e24a7f8722e0c1903cd39e418f82d18090a (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.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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; } |