Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 92fb819f08e37c74b30e06a7de8941032b8edd17..3cf5a632bc034dc4193092e0e2174512574fbd82 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -552,6 +552,14 @@ |
'defines': [ |
'SK_BUILD_FOR_ANDROID', |
'SK_FONTHOST_DOES_NOT_USE_FONTMGR', |
+ |
+ # Android Text Tuning |
+ 'SK_GAMMA_EXPONENT=1.4', |
+ 'SK_GAMMA_CONTRAST=0.0', |
+ ], |
+ # Android defines a fixed gamma exponent instead of using SRGB |
+ 'defines!': [ |
+ 'SK_GAMMA_SRGB', |
], |
'configurations': { |
'Debug': { |