Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2373)

Unified Diff: gyp/common_conditions.gypi

Issue 229133003: Disable SK_GAMMA_SRGB on android builds. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: correct android gamma Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698