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

Side by Side Diff: gyp/common.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | gyp/common_conditions.gypi » ('j') | gyp/common_conditions.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2011 The Android Open Source Project 1 # Copyright 2011 The Android Open Source Project
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 # This file is automatically included by gyp_skia when building any target. 6 # This file is automatically included by gyp_skia when building any target.
7 7
8 { 8 {
9 'includes': [ 9 'includes': [
10 'common_variables.gypi', 10 'common_variables.gypi',
11 ], 11 ],
12 12
13 'target_defaults': { 13 'target_defaults': {
14 'defines': [ 14 'defines': [
15 'SK_GAMMA_SRGB',
16 'SK_GAMMA_APPLY_TO_A8', 15 'SK_GAMMA_APPLY_TO_A8',
17 'SK_SCALAR_TO_FLOAT_EXCLUDED', # temporary to allow Chrome to call SkFloa tToScalar 16 'SK_SCALAR_TO_FLOAT_EXCLUDED', # temporary to allow Chrome to call SkFloa tToScalar
18 ], 17 ],
19 18
20 # Validate the 'skia_os' setting against 'OS', because only certain 19 # Validate the 'skia_os' setting against 'OS', because only certain
21 # combinations work. You should only override 'skia_os' for certain 20 # combinations work. You should only override 'skia_os' for certain
22 # situations, like building for iOS on a Mac. 21 # situations, like building for iOS on a Mac.
23 'variables': { 22 'variables': {
24 'conditions': [ 23 'conditions': [
25 [ 'skia_os != OS and not ((skia_os == "ios" and OS == "mac") or \ 24 [ 'skia_os != OS and not ((skia_os == "ios" and OS == "mac") or \
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 'inherit_from': ['Release'], 107 'inherit_from': ['Release'],
109 'defines': [ 108 'defines': [
110 'SK_DEVELOPER=1', 109 'SK_DEVELOPER=1',
111 ], 110 ],
112 }, 111 },
113 }, 112 },
114 }], 113 }],
115 ], 114 ],
116 }, # end 'target_defaults' 115 }, # end 'target_defaults'
117 } 116 }
OLDNEW
« no previous file with comments | « no previous file | gyp/common_conditions.gypi » ('j') | gyp/common_conditions.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698