Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: tools/skpdiff/SkCLImageDiffer.h

Issue 19671002: migrate skpdiff to tools (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: ports Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/skpdiff/SkCLImageDiffer.h
diff --git a/experimental/skpdiff/SkCLImageDiffer.h b/tools/skpdiff/SkCLImageDiffer.h
similarity index 97%
rename from experimental/skpdiff/SkCLImageDiffer.h
rename to tools/skpdiff/SkCLImageDiffer.h
index 50cf3897d21bf23683a363888c6fcd61e93cd1dc..032ee6f9908bd00980109a36993cc0bc8c9ea300 100644
--- a/experimental/skpdiff/SkCLImageDiffer.h
+++ b/tools/skpdiff/SkCLImageDiffer.h
@@ -8,7 +8,11 @@
#ifndef SkCLImageDiffer_DEFINED
#define SkCLImageDiffer_DEFINED
-#include <CL/cl.h>
+#if SK_BUILD_FOR_MAC
+# include <OpenCL/cl.h>
+#else
+# include <CL/cl.h>
+#endif
#include "SkTDArray.h"
#include "SkImageDiffer.h"

Powered by Google App Engine
This is Rietveld 408576698