summaryrefslogtreecommitdiffstats
path: root/skia/skia.gyp
diff options
context:
space:
mode:
authorwangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-07 09:23:34 +0000
committerwangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-07 09:23:34 +0000
commit8897ea11fb9d7992a45b2115c1e702f451ccb0aa (patch)
tree7d22bb0f35d52998cfc51bcc33a4a60ac50e047d /skia/skia.gyp
parent8173de4fe10850339eacd30fc2411f90c9aab2cf (diff)
downloadchromium_src-8897ea11fb9d7992a45b2115c1e702f451ccb0aa.zip
chromium_src-8897ea11fb9d7992a45b2115c1e702f451ccb0aa.tar.gz
chromium_src-8897ea11fb9d7992a45b2115c1e702f451ccb0aa.tar.bz2
Let text be thinner on Android
Set proper definitions to choose proper gamma for Android. BUG=180101 TBR=tomhudson,reed,bungeman Review URL: https://chromiumcodereview.appspot.com/12579004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/skia.gyp')
-rw-r--r--skia/skia.gyp9
1 files changed, 8 insertions, 1 deletions
diff --git a/skia/skia.gyp b/skia/skia.gyp
index dd77ea6..340e64e0 100644
--- a/skia/skia.gyp
+++ b/skia/skia.gyp
@@ -279,7 +279,14 @@
'SK_GAMMA_CONTRAST=0.2',
],
}],
- ['OS == "android" or OS == "win"', {
+ ['OS == "android"', {
+ 'defines': [
+ 'SK_GAMMA_APPLY_TO_A8',
+ 'SK_GAMMA_EXPONENT=1.4',
+ 'SK_GAMMA_CONTRAST=0.0',
+ ],
+ }],
+ ['OS == "win"', {
'defines': [
'SK_GAMMA_SRGB',
'SK_GAMMA_CONTRAST=0.5',