aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DMSrcSink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dm/DMSrcSink.cpp')
-rw-r--r--dm/DMSrcSink.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp
index beb55d9461..55b54f520b 100644
--- a/dm/DMSrcSink.cpp
+++ b/dm/DMSrcSink.cpp
@@ -32,7 +32,6 @@
#include "SkMultiPictureDocumentPriv.h"
#include "SkMultiPictureDraw.h"
#include "SkNullCanvas.h"
-#include "Skotty.h"
#include "SkOSFile.h"
#include "SkOSPath.h"
#include "SkOpts.h"
@@ -61,6 +60,10 @@
#include <XpsObjectModel.h>
#endif
+#if !defined(SK_BUILD_FOR_GOOGLE3)
+ #include "Skotty.h"
+#endif
+
#if defined(SK_XML)
#include "SkSVGDOM.h"
#include "SkXMLWriter.h"
@@ -1313,6 +1316,7 @@ Name DDLSKPSrc::name() const { return SkOSPath::Basename(fPath.c_str()); }
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
+#if !defined(SK_BUILD_FOR_GOOGLE3)
SkottySrc::SkottySrc(Path path)
: fName(SkOSPath::Basename(path.c_str())) {
@@ -1389,6 +1393,7 @@ bool SkottySrc::veto(SinkFlags flags) const {
return !type_ok || flags.approach != SinkFlags::kDirect;
}
+#endif
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#if defined(SK_XML)