[canvaskit] Remove DAA and SAA from gpu build
Bug: skia:
Change-Id: If7f5eaf19fd268613ac883b268b424ca84b9be00
Reviewed-on: https://skia-review.googlesource.com/c/162660
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
diff --git a/src/core/SkScan_DAAPath.cpp b/src/core/SkScan_DAAPath.cpp
index a324d75..8f21902 100644
--- a/src/core/SkScan_DAAPath.cpp
+++ b/src/core/SkScan_DAAPath.cpp
@@ -24,6 +24,13 @@
#include "SkTemplates.h"
#include "SkUTF.h"
+#if defined(SK_DISABLE_DAA)
+void SkScan::DAAFillPath(const SkPath& path, SkBlitter* blitter, const SkIRect& ir,
+ const SkIRect& clipBounds, bool forceRLE, SkDAARecord* record) {
+ SkDEBUGFAIL("DAA Disabled");
+ return;
+}
+#else
///////////////////////////////////////////////////////////////////////////////
/*
@@ -384,3 +391,4 @@
}
}
}
+#endif //defined(SK_DISABLE_DAA)