From 0f66681ff1c7a2b22d89424ba69e3a5bb8c40b0b Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Thu, 22 Mar 2018 15:21:12 -0400 Subject: BUILD: build when !skia_use_expat Change-Id: I17a695c64be0e2081ad4937b23038b7ce88ae293 Reviewed-on: https://skia-review.googlesource.com/115988 Reviewed-by: Mike Klein Commit-Queue: Hal Canary --- samplecode/SampleCowboy.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'samplecode/SampleCowboy.cpp') diff --git a/samplecode/SampleCowboy.cpp b/samplecode/SampleCowboy.cpp index bd8f7c909b..f9b9d6e10f 100644 --- a/samplecode/SampleCowboy.cpp +++ b/samplecode/SampleCowboy.cpp @@ -5,6 +5,10 @@ * found in the LICENSE file. */ +#include "SkTypes.h" + +#ifdef SK_XML + #include "SampleCode.h" #include "Resources.h" #include "SkCanvas.h" @@ -143,3 +147,4 @@ private: DEF_SAMPLE( return new CowboyView(); ) +#endif // SK_XML -- cgit v1.2.3