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

Side by Side Diff: skia/skia_library.gypi

Issue 26528002: Add SK_CROP_RECT_IS_INT to Chrome's Skia build, in order to avoid build-breakage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | 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 5
6 # This gypi file contains the Skia library. 6 # This gypi file contains the Skia library.
7 # In component mode (shared_lib) it is folded into a single shared library with 7 # In component mode (shared_lib) it is folded into a single shared library with
8 # the Chrome-specific enhancements but in all other cases it is a separate lib. 8 # the Chrome-specific enhancements but in all other cases it is a separate lib.
9 { 9 {
10 'dependencies': [ 10 'dependencies': [
(...skipping 23 matching lines...) Expand all
34 'skia_src_path': '../third_party/skia/src', 34 'skia_src_path': '../third_party/skia/src',
35 'skia_include_path': '../third_party/skia/include', 35 'skia_include_path': '../third_party/skia/include',
36 36
37 # This list will contain all defines that also need to be exported to 37 # This list will contain all defines that also need to be exported to
38 # dependent components. 38 # dependent components.
39 'skia_export_defines': [ 39 'skia_export_defines': [
40 'SK_ENABLE_INST_COUNT=0', 40 'SK_ENABLE_INST_COUNT=0',
41 'SK_SUPPORT_GPU=<(skia_support_gpu)', 41 'SK_SUPPORT_GPU=<(skia_support_gpu)',
42 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', 42 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"',
43 'SK_ENABLE_LEGACY_API_ALIASING=1', 43 'SK_ENABLE_LEGACY_API_ALIASING=1',
44 'SK_CROP_RECT_IS_INT=1',
44 ], 45 ],
45 46
46 'default_font_cache_limit': '(20*1024*1024)', 47 'default_font_cache_limit': '(20*1024*1024)',
47 48
48 'conditions': [ 49 'conditions': [
49 ['OS== "android"', { 50 ['OS== "android"', {
50 # Android devices are typically more memory constrained, so 51 # Android devices are typically more memory constrained, so
51 # default to a smaller glyph cache (it may be overriden at runtime 52 # default to a smaller glyph cache (it may be overriden at runtime
52 # when the renderer starts up, depending on the actual device memory). 53 # when the renderer starts up, depending on the actual device memory).
53 'default_font_cache_limit': '(1*1024*1024)', 54 'default_font_cache_limit': '(1*1024*1024)',
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 '../third_party/skia/include/pathops', 452 '../third_party/skia/include/pathops',
452 '../third_party/skia/include/pipe', 453 '../third_party/skia/include/pipe',
453 '../third_party/skia/include/ports', 454 '../third_party/skia/include/ports',
454 '../third_party/skia/include/utils', 455 '../third_party/skia/include/utils',
455 ], 456 ],
456 'defines': [ 457 'defines': [
457 '<@(skia_export_defines)', 458 '<@(skia_export_defines)',
458 ], 459 ],
459 }, 460 },
460 } 461 }
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