From c65386ae55555819e321b77fd5a2b25dfcf94c3d Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Thu, 5 Jan 2017 09:50:22 -0500 Subject: 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 Reviewed-by: Leon Scroggins --- dm/DM.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'dm/DM.cpp') 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; } -- cgit v1.2.3