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

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: 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 | « gyp/common.gypi ('k') | 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..acac2b2cb6e61fc266b1b33a8e7dc99b5419ac06 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -596,6 +596,13 @@
},
],
+ # All platforms use SRGB except Android who define a fixed gamma exponent
+ [ 'skia_os != "android"', {
scroggo 2014/04/10 16:44:19 Don't our builders build android with skia_os == '
scroggo 2014/04/10 16:59:37 Ah yes, I did.
+ 'defines': [
+ 'SK_GAMMA_SRGB',
+ ],
+ }],
+
# We can POD-style initialization of static mutexes to avoid generating
# static initializers if we're using a pthread-compatible thread interface.
[ 'skia_os != "win"', {
« no previous file with comments | « gyp/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698