aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SVGDeviceTest.cpp
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-01-30 11:35:47 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-30 18:57:45 +0000
commitff2742eba814c906686b72abd2d1b3e6b720d784 (patch)
tree003deaada9147da9ede9959cbf2b3a00972ec21a /tests/SVGDeviceTest.cpp
parent495e0f079ced1d2d23368de263f50232eca1ab4a (diff)
SkQP: slim deps. Also skia_enable_fontmgr_empty
Change-Id: I24ee2fb3a4a4ca03a60ee2f1a90e022825eee409 Reviewed-on: https://skia-review.googlesource.com/101820 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'tests/SVGDeviceTest.cpp')
-rw-r--r--tests/SVGDeviceTest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/SVGDeviceTest.cpp b/tests/SVGDeviceTest.cpp
index 715dbc7c15..7044559d83 100644
--- a/tests/SVGDeviceTest.cpp
+++ b/tests/SVGDeviceTest.cpp
@@ -5,6 +5,10 @@
* found in the LICENSE file.
*/
+#include "SkTypes.h"
+
+#ifdef SK_XML
+
#include "SkCanvas.h"
#include "SkData.h"
#include "SkDOM.h"
@@ -144,3 +148,5 @@ DEF_TEST(SVGDevice_whitespace_pos, reporter) {
test_whitespace_pos(reporter, tests[i].tst_in, tests[i].tst_out);
}
}
+
+#endif