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

Unified Diff: gyp/common_conditions.gypi

Issue 19374006: make OpenCL optional for skpdiff (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: this-> 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
« no previous file with comments | « experimental/skpdiff/skpdiff_util.cpp ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/common_conditions.gypi
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index 2faf67d446425c2ea78b60b56904c0a829965cf9..a39756be1221cf3f00388f6327a1b172d2a56d0a 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -17,7 +17,17 @@
],
},
],
-
+ [ 'skia_opencl == 1',
+ {
+ 'defines': [
+ 'SK_SUPPORT_OPENCL=1',
+ ],
+ }, {
+ 'defines': [
+ 'SK_SUPPORT_OPENCL=0',
+ ],
+ },
+ ],
[ 'skia_os == "win"',
{
'defines': [
« no previous file with comments | « experimental/skpdiff/skpdiff_util.cpp ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698