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

Side by Side Diff: gyp/freetype.gyp

Issue 1002493002: Clean up poppler code. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: header too Created 5 years, 9 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 | « gyp/dm.gyp ('k') | gyp/poppler.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_freetype_static', 8 [ 'skia_freetype_static',
9 { 9 {
10 'dependencies': [ 10 'dependencies': [
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 }, 74 },
75 { 75 {
76 'target_name': 'freetype_static', 76 'target_name': 'freetype_static',
77 'type': 'static_library', 77 'type': 'static_library',
78 'standalone_static_library': 1, 78 'standalone_static_library': 1,
79 'dependencies': [ 79 'dependencies': [
80 # we are dependent upon PNG for color emoji glyphs 80 # we are dependent upon PNG for color emoji glyphs
81 'libpng.gyp:libpng', 81 'libpng.gyp:libpng',
82 ], 82 ],
83 'includes': [ 83 'includes': [
84 # common freetype sources needed for both the base Skia build and the 84 # TODO: merge this back in here?
85 # libpoppler build for testing only
86 'freetype.gypi', 85 'freetype.gypi',
87 ], 86 ],
88 'include_dirs': [ 87 'include_dirs': [
89 '../third_party/freetype/include_overrides', 88 '../third_party/freetype/include_overrides',
90 ], 89 ],
91 'direct_dependent_settings': { 90 'direct_dependent_settings': {
92 'include_dirs': [ 91 'include_dirs': [
93 '../third_party/freetype/include_overrides', 92 '../third_party/freetype/include_overrides',
94 ], 93 ],
95 }, 94 },
96 'conditions': [ 95 'conditions': [
97 [ 'skia_os == "android"', { 96 [ 'skia_os == "android"', {
98 # These flags are used by the Android OS. They are probably overkill 97 # These flags are used by the Android OS. They are probably overkill
99 # for Skia, but we add them for consistency. 98 # for Skia, but we add them for consistency.
100 'cflags': [ 99 'cflags': [
101 '-W', 100 '-W',
102 '-Wall', 101 '-Wall',
103 '-fPIC', 102 '-fPIC',
104 '-DPIC', 103 '-DPIC',
105 '-DDARWIN_NO_CARBON', 104 '-DDARWIN_NO_CARBON',
106 '-DFT2_BUILD_LIBRARY', 105 '-DFT2_BUILD_LIBRARY',
107 '-O2', 106 '-O2',
108 ], 107 ],
109 }], 108 }],
110 ], 109 ],
111 }, 110 },
112 {
113 'target_name': 'freetype_poppler',
114 'type': 'static_library',
115 'standalone_static_library': 1,
116 'includes': [
117 'freetype.gypi',
118 ],
119 'sources': [
120 # additional components used by poppler
121 '../third_party/externals/freetype/src/base/ftbdf.c',
122 '../third_party/externals/freetype/src/base/ftpfr.c',
123
124 '../third_party/externals/freetype/src/bdf/bdf.c',
125 '../third_party/externals/freetype/src/cid/type1cid.c',
126 '../third_party/externals/freetype/src/pcf/pcf.c',
127 '../third_party/externals/freetype/src/pfr/pfr.c',
128 '../third_party/externals/freetype/src/psaux/psaux.c',
129 '../third_party/externals/freetype/src/type1/type1.c',
130 '../third_party/externals/freetype/src/type42/type42.c',
131 '../third_party/externals/freetype/src/winfonts/winfnt.c',
132
133 '../third_party/externals/freetype/src/gzip/ftgzip.c',
134 '../third_party/externals/freetype/src/lzw/ftlzw.c',
135 ],
136 },
137 ], 111 ],
138 } 112 }
OLDNEW
« no previous file with comments | « gyp/dm.gyp ('k') | gyp/poppler.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698