diff options
-rw-r--r-- | gyp/common_conditions.gypi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index 92fb819f08..3cf5a632bc 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': { |