diff options
author | 2018-03-22 15:21:12 -0400 | |
---|---|---|
committer | 2018-03-22 20:28:45 +0000 | |
commit | 0f66681ff1c7a2b22d89424ba69e3a5bb8c40b0b (patch) | |
tree | 3cedddf6ce3e8d53739eae227008fff5dd29e413 /samplecode | |
parent | 43e64c7ba8ebdb1105561d9c648665a2ae9b5ddd (diff) |
BUILD: build when !skia_use_expat
Change-Id: I17a695c64be0e2081ad4937b23038b7ce88ae293
Reviewed-on: https://skia-review.googlesource.com/115988
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'samplecode')
-rw-r--r-- | samplecode/SampleCowboy.cpp | 5 | ||||
-rw-r--r-- | samplecode/SampleSVGFile.cpp | 5 |
2 files changed, 10 insertions, 0 deletions
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 diff --git a/samplecode/SampleSVGFile.cpp b/samplecode/SampleSVGFile.cpp index 0be7944f8e..e03d9ff6cb 100644 --- a/samplecode/SampleSVGFile.cpp +++ b/samplecode/SampleSVGFile.cpp @@ -5,6 +5,10 @@ * found in the LICENSE file. */ +#include "SkTypes.h" + +#ifdef SK_XML + #include "SampleCode.h" #include "SkCanvas.h" #include "SkDOM.h" @@ -78,3 +82,4 @@ SampleView* CreateSampleSVGFileView(const SkString& filename); SampleView* CreateSampleSVGFileView(const SkString& filename) { return new SVGFileView(filename); } +#endif // SK_XML |