diff options
author | 2014-04-11 13:09:21 +0000 | |
---|---|---|
committer | 2014-04-11 13:09:21 +0000 | |
commit | 968757e17dafee5dc32fb54d5f10c23307aaaca2 (patch) | |
tree | e36147dbd19062d5674374e4443b0af17ebdcb5f /gyp | |
parent | e424c1d8a615d9d638d74d38dc795ecdf8d4ca31 (diff) |
Disable SK_GAMMA_SRGB on android builds.
R=bungeman@google.com, scroggo@google.com
Review URL: https://codereview.chromium.org/229133003
git-svn-id: http://skia.googlecode.com/svn/trunk@14148 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-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': { |