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

Side by Side Diff: gyp/freetype.gyp

Issue 152513007: Build Skia for a bare-bones embedded Linux system. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: comment 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
OLDNEW
1 # Target for building freetype. 1 # Target for building freetype.
2 { 2 {
3 'targets': [ 3 'targets': [
4 { 4 {
5 'target_name': 'freetype', 5 'target_name': 'freetype',
6 'type': 'none', 6 'type': 'none',
7 'conditions': [ 7 'conditions': [
8 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { 8 [ 'skia_freetype_dynamic and not skia_freetype_static',
borenet 2014/02/18 22:15:36 This stuff is all specific to OS in that list. I'
hal.canary 2014/02/19 15:21:03 done
9 'direct_dependent_settings': { 9 {
10 'include_dirs' : [ 10 'direct_dependent_settings': {
11 '/usr/include/freetype2', 11 'include_dirs' : [
12 ], 12 '/usr/include/freetype2',
13 'link_settings': {
14 'libraries': [
15 '-lfreetype',
16 ], 13 ],
17 'defines': [ 14 'link_settings': {
18 #The font host requires at least FreeType 2.3.0 at runtime. 15 'libraries': [
19 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020300',\ 16 '-lfreetype',
20 'SK_CAN_USE_DLOPEN=1', 17 ],
21 ], 18 'defines': [
22 } 19 #The font host requires at least FreeType 2.3.0 at runtime.
23 }, 20 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020300',
24 }], 21 'SK_CAN_USE_DLOPEN=1',
25 [ 'skia_os in ["android", "nacl"]', { 22 ],
23 }
24 },
25 }
26 ],
27 [ 'skia_freetype_static', {
26 'dependencies': [ 28 'dependencies': [
27 'freetype_static' 29 'freetype_static'
28 ], 30 ],
29 'export_dependent_settings': [ 31 'export_dependent_settings': [
30 'freetype_static' 32 'freetype_static'
31 ], 33 ],
32 'direct_dependent_settings': { 34 'direct_dependent_settings': {
33 'defines': [ 35 'defines': [
34 # Both Android and NaCl provide at least FreeType 2.4.0 36 # Both Android and NaCl provide at least FreeType 2.4.0
35 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', 37 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400',
(...skipping 18 matching lines...) Expand all
54 ] 56 ]
55 }], 57 }],
56 ], 58 ],
57 }, 59 },
58 { 60 {
59 'target_name': 'freetype_static', 61 'target_name': 'freetype_static',
60 'type': 'static_library', 62 'type': 'static_library',
61 'standalone_static_library': 1, 63 'standalone_static_library': 1,
62 'dependencies': [ 64 'dependencies': [
63 # we are dependent upon PNG for color emoji glyphs 65 # we are dependent upon PNG for color emoji glyphs
64 'images.gyp:images' 66 'libpng.gyp:libpng',
65 ], 67 ],
66 'includes': [ 68 'includes': [
67 # common freetype sources needed for both the base Skia build and the 69 # common freetype sources needed for both the base Skia build and the
68 # libpoppler build for testing only 70 # libpoppler build for testing only
69 'freetype.gypi', 71 'freetype.gypi',
70 ], 72 ],
71 'include_dirs': [ 73 'include_dirs': [
72 '../third_party/freetype/include_overrides', 74 '../third_party/freetype/include_overrides',
73 ], 75 ],
74 'direct_dependent_settings': { 76 'direct_dependent_settings': {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 '../third_party/externals/freetype/src/type1/type1.c', 114 '../third_party/externals/freetype/src/type1/type1.c',
113 '../third_party/externals/freetype/src/type42/type42.c', 115 '../third_party/externals/freetype/src/type42/type42.c',
114 '../third_party/externals/freetype/src/winfonts/winfnt.c', 116 '../third_party/externals/freetype/src/winfonts/winfnt.c',
115 117
116 '../third_party/externals/freetype/src/gzip/ftgzip.c', 118 '../third_party/externals/freetype/src/gzip/ftgzip.c',
117 '../third_party/externals/freetype/src/lzw/ftlzw.c', 119 '../third_party/externals/freetype/src/lzw/ftlzw.c',
118 ], 120 ],
119 }, 121 },
120 ], 122 ],
121 } 123 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698