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

Side by Side Diff: skia/skia_common.gypi

Issue 164253004: Roll Skia DEPS to r13441 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add SK_HIGH_QUALITY_IS_LANCZOS flag Created 6 years, 10 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 | « DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This gypi file handles the removal of platform-specific files from the 5 # This gypi file handles the removal of platform-specific files from the
6 # Skia build. 6 # Skia build.
7 { 7 {
8 'include_dirs': [ 8 'include_dirs': [
9 '..', 9 '..',
10 'config', 10 'config',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 }], 58 }],
59 [ 'use_cairo == 0', { 59 [ 'use_cairo == 0', {
60 'sources/': [ ['exclude', '_cairo\\.(cc|cpp)$'] ], 60 'sources/': [ ['exclude', '_cairo\\.(cc|cpp)$'] ],
61 }], 61 }],
62 62
63 #Settings for text blitting, chosen to approximate the system browser. 63 #Settings for text blitting, chosen to approximate the system browser.
64 [ 'OS == "linux"', { 64 [ 'OS == "linux"', {
65 'defines': [ 65 'defines': [
66 'SK_GAMMA_EXPONENT=1.2', 66 'SK_GAMMA_EXPONENT=1.2',
67 'SK_GAMMA_CONTRAST=0.2', 67 'SK_GAMMA_CONTRAST=0.2',
68 'SK_HIGH_QUALITY_IS_LANCZOS',
68 ], 69 ],
69 }], 70 }],
70 ['OS == "android"', { 71 ['OS == "android"', {
71 'defines': [ 72 'defines': [
72 'SK_GAMMA_APPLY_TO_A8', 73 'SK_GAMMA_APPLY_TO_A8',
73 'SK_GAMMA_EXPONENT=1.4', 74 'SK_GAMMA_EXPONENT=1.4',
74 'SK_GAMMA_CONTRAST=0.0', 75 'SK_GAMMA_CONTRAST=0.0',
75 ], 76 ],
76 }], 77 }],
77 ['OS == "win"', { 78 ['OS == "win"', {
78 'defines': [ 79 'defines': [
79 'SK_GAMMA_SRGB', 80 'SK_GAMMA_SRGB',
80 'SK_GAMMA_CONTRAST=0.5', 81 'SK_GAMMA_CONTRAST=0.5',
82 'SK_HIGH_QUALITY_IS_LANCZOS',
81 ], 83 ],
82 }], 84 }],
83 ['OS == "mac"', { 85 ['OS == "mac"', {
84 'defines': [ 86 'defines': [
85 'SK_GAMMA_SRGB', 87 'SK_GAMMA_SRGB',
86 'SK_GAMMA_CONTRAST=0.0', 88 'SK_GAMMA_CONTRAST=0.0',
89 'SK_HIGH_QUALITY_IS_LANCZOS',
87 ], 90 ],
88 }], 91 }],
89 92
90 # For POSIX platforms, prefer the Mutex implementation provided by Skia 93 # For POSIX platforms, prefer the Mutex implementation provided by Skia
91 # since it does not generate static initializers. 94 # since it does not generate static initializers.
92 [ 'os_posix == 1', { 95 [ 'os_posix == 1', {
93 'defines+': [ 96 'defines+': [
94 'SK_USE_POSIX_THREADS', 97 'SK_USE_POSIX_THREADS',
95 ], 98 ],
96 'direct_dependent_settings': { 99 'direct_dependent_settings': {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 # re-export if they include Skia headers in their public headers. 206 # re-export if they include Skia headers in their public headers.
204 'all_dependent_settings': { 207 'all_dependent_settings': {
205 'include_dirs': [ 208 'include_dirs': [
206 '..', 209 '..',
207 'config', 210 'config',
208 ], 211 ],
209 }, 212 },
210 213
211 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], 214 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800],
212 } 215 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698