From 6ce482aed42630d451e07228b57de8ccced0601d Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Tue, 27 Mar 2018 10:57:43 -0400 Subject: Remove include/svg from public.bzl includes. It's strange to include it since public.bzl currently excludes all of the source files that define the symbols declared in the headers in this directory. This also fixes the two files which needed to put some of these includes behind the SK_XML macro. The public.bzl never defines the SK_XML macro, so there is no need to ever have the include/svg directory on the include path, even for DM. Change-Id: I6cc18908aa16cfc914ed9b7ab174d03a0a242aa4 Reviewed-on: https://skia-review.googlesource.com/116547 Commit-Queue: Ben Wagner Reviewed-by: Mike Klein --- dm/DMSrcSink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dm/DMSrcSink.cpp') diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp index 8650a5dd2a..45977c0586 100644 --- a/dm/DMSrcSink.cpp +++ b/dm/DMSrcSink.cpp @@ -47,7 +47,6 @@ #include "SkRandom.h" #include "SkRecordDraw.h" #include "SkRecorder.h" -#include "SkSVGCanvas.h" #include "SkStream.h" #include "SkSurfaceCharacterization.h" #include "SkSwizzler.h" @@ -66,6 +65,7 @@ #endif #if defined(SK_XML) + #include "SkSVGCanvas.h" #include "SkSVGDOM.h" #include "SkXMLWriter.h" #endif -- cgit v1.2.3