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

Side by Side Diff: gyp/freetype.gyp

Issue 154053002: Reland "Gyp file changes for the android framework." (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix android build. 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 | « gyp/core.gyp ('k') | gyp/images.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
9 'direct_dependent_settings': { 9 'direct_dependent_settings': {
10 'include_dirs' : [ 10 'include_dirs' : [
(...skipping 19 matching lines...) Expand all
30 'freetype_static' 30 'freetype_static'
31 ], 31 ],
32 'direct_dependent_settings': { 32 'direct_dependent_settings': {
33 'defines': [ 33 'defines': [
34 # Both Android and NaCl provide at least FreeType 2.4.0 34 # Both Android and NaCl provide at least FreeType 2.4.0
35 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', 35 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400',
36 'SK_CAN_USE_DLOPEN=0', 36 'SK_CAN_USE_DLOPEN=0',
37 ], 37 ],
38 }, 38 },
39 }], 39 }],
40 [ 'skia_android_framework', {
41 'include_dirs': [
42 'external/expat/lib',
43 'external/freetype/include',
44 ],
45 'libraries': [
46 '-lft2',
47 ],
48 # Remove these, and use the system's freetype instead.
49 'dependencies!': [
50 'freetype_static',
51 ],
52 'export_dependent_settings!': [
53 'freetype_static',
54 ]
55 }],
40 ], 56 ],
41 }, 57 },
42 { 58 {
43 'target_name': 'freetype_static', 59 'target_name': 'freetype_static',
44 'type': 'static_library', 60 'type': 'static_library',
45 'standalone_static_library': 1, 61 'standalone_static_library': 1,
46 'dependencies': [ 62 'dependencies': [
47 # we are dependent upon PNG for color emoji glyphs 63 # we are dependent upon PNG for color emoji glyphs
48 'images.gyp:images' 64 'images.gyp:images'
49 ], 65 ],
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 '../third_party/externals/freetype/src/type1/type1.c', 112 '../third_party/externals/freetype/src/type1/type1.c',
97 '../third_party/externals/freetype/src/type42/type42.c', 113 '../third_party/externals/freetype/src/type42/type42.c',
98 '../third_party/externals/freetype/src/winfonts/winfnt.c', 114 '../third_party/externals/freetype/src/winfonts/winfnt.c',
99 115
100 '../third_party/externals/freetype/src/gzip/ftgzip.c', 116 '../third_party/externals/freetype/src/gzip/ftgzip.c',
101 '../third_party/externals/freetype/src/lzw/ftlzw.c', 117 '../third_party/externals/freetype/src/lzw/ftlzw.c',
102 ], 118 ],
103 }, 119 },
104 ], 120 ],
105 } 121 }
OLDNEW
« no previous file with comments | « gyp/core.gyp ('k') | gyp/images.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698