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

Side by Side Diff: skia/skia.gyp

Issue 10913299: Define SK_SUPPORT_HINTING_SCALE_FACTOR by default (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'skia', 8 'target_name': 'skia',
9 'type': '<(component)', 9 'type': '<(component)',
10 'variables': { 10 'variables': {
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 # SkGraphics::Init(). 235 # SkGraphics::Init().
236 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', 236 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0',
237 237
238 # Temporarily disable the Skia fix in 238 # Temporarily disable the Skia fix in
239 # http://code.google.com/p/skia/source/detail?r=3037 ; enabling that 239 # http://code.google.com/p/skia/source/detail?r=3037 ; enabling that
240 # fix will require substantial rebaselining. 240 # fix will require substantial rebaselining.
241 'SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX', 241 'SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX',
242 242
243 # Temporarily ignore fix to antialias coverage, until we can rebaseline 243 # Temporarily ignore fix to antialias coverage, until we can rebaseline
244 'SK_USE_LEGACY_AA_COVERAGE', 244 'SK_USE_LEGACY_AA_COVERAGE',
245
246 # Temporarily use SkPaint to keep a scale factor needed for correct
247 # font rendering in high DPI mode.
248 # See https://codereview.appspot.com/6495089/
249 'SK_SUPPORT_HINTING_SCALE_FACTOR',
245 ], 250 ],
246 'sources!': [ 251 'sources!': [
247 '../third_party/skia/include/core/SkTypes.h', 252 '../third_party/skia/include/core/SkTypes.h',
248 ], 253 ],
249 'conditions': [ 254 'conditions': [
250 ['skia_support_gpu != 0', { 255 ['skia_support_gpu != 0', {
251 'includes': [ 256 'includes': [
252 '../third_party/skia/gyp/gpu.gypi', 257 '../third_party/skia/gyp/gpu.gypi',
253 ], 258 ],
254 'sources': [ 259 'sources': [
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 '../third_party/skia/include/pipe', 565 '../third_party/skia/include/pipe',
561 '../third_party/skia/include/ports', 566 '../third_party/skia/include/ports',
562 '../third_party/skia/include/utils', 567 '../third_party/skia/include/utils',
563 'ext', 568 'ext',
564 ], 569 ],
565 'defines': [ 570 'defines': [
566 'SK_BUILD_NO_IMAGE_ENCODE', 571 'SK_BUILD_NO_IMAGE_ENCODE',
567 'SK_DEFERRED_CANVAS_USES_GPIPE=1', 572 'SK_DEFERRED_CANVAS_USES_GPIPE=1',
568 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', 573 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"',
569 'GR_AGGRESSIVE_SHADER_OPTS=1', 574 'GR_AGGRESSIVE_SHADER_OPTS=1',
575 'SK_SUPPORT_HINTING_SCALE_FACTOR',
570 ], 576 ],
571 'conditions': [ 577 'conditions': [
572 ['OS=="android"', { 578 ['OS=="android"', {
573 'dependencies!': [ 579 'dependencies!': [
574 'skia_opts', 580 'skia_opts',
575 '../third_party/zlib/zlib.gyp:zlib', 581 '../third_party/zlib/zlib.gyp:zlib',
576 ], 582 ],
577 'defines': [ 583 'defines': [
578 # Don't use non-NDK available stuff. 584 # Don't use non-NDK available stuff.
579 'SK_BUILD_FOR_ANDROID_NDK', 585 'SK_BUILD_FOR_ANDROID_NDK',
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 'sources': [ 841 'sources': [
836 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', 842 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp',
837 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', 843 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
838 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', 844 '../third_party/skia/src/opts/SkUtils_opts_none.cpp',
839 ], 845 ],
840 }, 846 },
841 ], 847 ],
842 }], 848 }],
843 ], 849 ],
844 } 850 }
OLDNEW
« 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