Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 92fb819f08e37c74b30e06a7de8941032b8edd17..acac2b2cb6e61fc266b1b33a8e7dc99b5419ac06 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -596,6 +596,13 @@ |
}, |
], |
+ # All platforms use SRGB except Android who define a fixed gamma exponent |
+ [ 'skia_os != "android"', { |
scroggo
2014/04/10 16:44:19
Don't our builders build android with skia_os == '
scroggo
2014/04/10 16:59:37
Ah yes, I did.
|
+ 'defines': [ |
+ 'SK_GAMMA_SRGB', |
+ ], |
+ }], |
+ |
# We can POD-style initialization of static mutexes to avoid generating |
# static initializers if we're using a pthread-compatible thread interface. |
[ 'skia_os != "win"', { |