aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer/SkottieSlide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/viewer/SkottieSlide.cpp')
-rw-r--r--tools/viewer/SkottieSlide.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/viewer/SkottieSlide.cpp b/tools/viewer/SkottieSlide.cpp
index 78cda5cbda..f009066182 100644
--- a/tools/viewer/SkottieSlide.cpp
+++ b/tools/viewer/SkottieSlide.cpp
@@ -7,6 +7,8 @@
#include "SkottieSlide.h"
+#if defined(SK_ENABLE_SKOTTIE)
+
#include "SkAnimTimer.h"
#include "SkCanvas.h"
#include "Skottie.h"
@@ -130,3 +132,5 @@ bool SkottieSlide::onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState st
return false;
}
+
+#endif // SK_ENABLE_SKOTTIE