Index: tools/fiddle/fiddle_main.h |
diff --git a/experimental/fiddle/fiddle_main.h b/tools/fiddle/fiddle_main.h |
similarity index 69% |
rename from experimental/fiddle/fiddle_main.h |
rename to tools/fiddle/fiddle_main.h |
index 6330384530cc813f0546bba3c202bb04270ad028..0f36ad7804459f6882b68cdc65b4078cc7f467e6 100644 |
--- a/experimental/fiddle/fiddle_main.h |
+++ b/tools/fiddle/fiddle_main.h |
@@ -7,7 +7,18 @@ |
#ifndef fiddle_main_DEFINED |
#define fiddle_main_DEFINED |
-#include "skia.h" |
+#ifdef FIDDLE_BUILD_TEST |
+ #include "GrContext.h" |
+ #include "SkCanvas.h" |
+ #include "SkDocument.h" |
+ #include "SkPictureRecorder.h" |
+ #include "SkStream.h" |
+ #include "SkSurface.h" |
+ #include "gl/GrGLAssembleInterface.h" |
+ #include "gl/GrGLInterface.h" |
+#else |
+ #include "skia.h" |
+#endif |
extern SkBitmap source; |
extern sk_sp<SkImage> image; |