| Index: tests/SkDOMTest.cpp
|
| diff --git a/tests/SkDOMTest.cpp b/tests/SkDOMTest.cpp
|
| index aca2c4870bb58943435a5a223aefd9f1c1b0470b..34bd8dd8b3e4a47ae2991b6adde29c732270cb77 100644
|
| --- a/tests/SkDOMTest.cpp
|
| +++ b/tests/SkDOMTest.cpp
|
| @@ -5,9 +5,12 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#include "SkDOM.h"
|
| #include "Test.h"
|
|
|
| +#if defined(SK_XML)
|
| +
|
| +#include "SkDOM.h"
|
| +
|
| DEF_TEST(SkDOM_test, r) {
|
| static const char gDoc[] =
|
| "<root a='1' b='2'>"
|
| @@ -37,3 +40,5 @@ DEF_TEST(SkDOM_test, r) {
|
| REPORTER_ASSERT(r, dom.getFirstChild(root, "elem1"));
|
| REPORTER_ASSERT(r, !dom.getFirstChild(root, "subelem1"));
|
| }
|
| +
|
| +#endif // SK_XML
|
|
|