aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/fonts/SkTestSVGTypeface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fonts/SkTestSVGTypeface.cpp')
-rw-r--r--tools/fonts/SkTestSVGTypeface.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/fonts/SkTestSVGTypeface.cpp b/tools/fonts/SkTestSVGTypeface.cpp
index 199c3b5df6..0ab59cfb28 100644
--- a/tools/fonts/SkTestSVGTypeface.cpp
+++ b/tools/fonts/SkTestSVGTypeface.cpp
@@ -5,6 +5,10 @@
* found in the LICENSE file.
*/
+#include "SkTestSVGTypeface.h"
+
+#ifdef SK_XML
+
#include "Resources.h"
#include "SkAdvancedTypefaceMetrics.h"
#include "SkBitmap.h"
@@ -35,7 +39,6 @@
#include "SkSize.h"
#include "SkStream.h"
#include "SkSurface.h"
-#include "SkTestSVGTypeface.h"
#include "SkTDArray.h"
#include "SkTemplates.h"
#include "SkUtils.h"
@@ -1296,3 +1299,4 @@ void SkTestSVGTypeface::exportTtxColr(SkWStream* out) const {
out->writeText("</ttFont>\n");
}
+#endif // SK_XML