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

Side by Side Diff: gyp/freetype.gyp

Issue 1027373002: Font variations. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 5 years, 7 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 | « gm/fontscalerdistortable.cpp ('k') | include/core/SkTypeface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
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 # Target for building freetype. 5 # Target for building freetype.
6 { 6 {
7 'targets': [ 7 'targets': [
8 { 8 {
9 'target_name': 'freetype', 9 'target_name': 'freetype',
10 'type': 'none', 10 'type': 'none',
11 'conditions': [ 11 'conditions': [
12 [ 'skia_freetype_static', 12 [ 'skia_freetype_static',
13 { 13 {
14 'dependencies': [ 14 'dependencies': [
15 'freetype_static' 15 'freetype_static'
16 ], 16 ],
17 'export_dependent_settings': [ 17 'export_dependent_settings': [
18 'freetype_static' 18 'freetype_static'
19 ], 19 ],
20 'conditions': [ 20 'conditions': [
21 [ 'skia_os == "android"', 21 [ 'skia_os == "android"',
22 { 22 {
23 'direct_dependent_settings': { 23 'direct_dependent_settings': {
24 'defines': [ 24 'defines': [
25 # Android provides at least FreeType 2.4.0 25 # Android provides at least FreeType 2.4.0
26 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', 26 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400',
27 'SK_CAN_USE_DLOPEN=0', 27 'SK_CAN_USE_DLOPEN=0',
28 'SK_ANDROID_FREETYPE_HAS_MM=1',
28 ], 29 ],
29 } 30 }
30 } 31 }
31 ] 32 ]
32 ], 33 ],
33 }, { # (not skia_freetype_static) 34 }, { # (not skia_freetype_static)
34 # dynamic linking depends on the OS: 35 # dynamic linking depends on the OS:
35 'conditions': [ 36 'conditions': [
36 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos "]', 37 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos "]',
37 { 38 {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 '-DPIC', 108 '-DPIC',
108 '-DDARWIN_NO_CARBON', 109 '-DDARWIN_NO_CARBON',
109 '-DFT2_BUILD_LIBRARY', 110 '-DFT2_BUILD_LIBRARY',
110 '-O2', 111 '-O2',
111 ], 112 ],
112 }], 113 }],
113 ], 114 ],
114 }, 115 },
115 ], 116 ],
116 } 117 }
OLDNEW
« no previous file with comments | « gm/fontscalerdistortable.cpp ('k') | include/core/SkTypeface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698