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

Unified Diff: gyp/freetype.gyp

Issue 20220002: Add libpoppler PDF rasterizer (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Save alpha data to output PNG Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/fontconfig.gyp ('k') | gyp/gm.gyp » ('j') | src/utils/SkPDFRasterizer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/freetype.gyp
diff --git a/gyp/freetype.gyp b/gyp/freetype.gyp
index 91c92b7522e485af2c1261302691aa045cc2517b..689b22b1921d40f4b07402376de64463ab68b86a 100644
--- a/gyp/freetype.gyp
+++ b/gyp/freetype.gyp
@@ -81,21 +81,44 @@
'../third_party/externals/freetype/src/autofit/autofit.c', # auto hinting module
'../third_party/externals/freetype/src/pshinter/pshinter.c', # PS hinting module
'../third_party/externals/freetype/src/psnames/psnames.c', # PostScript glyph names support
+
+ # additional components used by poppler
+ '../third_party/externals/freetype/src/base/ftbdf.c',
+ '../third_party/externals/freetype/src/base/ftpfr.c',
+
+ '../third_party/externals/freetype/src/bdf/bdf.c',
+ '../third_party/externals/freetype/src/cid/type1cid.c',
+ '../third_party/externals/freetype/src/pcf/pcf.c',
+ '../third_party/externals/freetype/src/pfr/pfr.c',
+ '../third_party/externals/freetype/src/psaux/psaux.c',
+ '../third_party/externals/freetype/src/type1/type1.c',
+ '../third_party/externals/freetype/src/type42/type42.c',
+ '../third_party/externals/freetype/src/winfonts/winfnt.c',
+
+ '../third_party/externals/freetype/src/gzip/ftgzip.c',
+ '../third_party/externals/freetype/src/lzw/ftlzw.c',
],
'include_dirs': [
- '../third_party/freetype/include_overrides',
vandebo (ex-Chrome) 2013/08/15 16:12:56 Apparently this is the way that skia does local co
ducky 2013/08/15 21:38:14 Directory structure already consistent; for the ot
'../third_party/externals/freetype/internal',
'../third_party/externals/freetype/builds',
'../third_party/externals/freetype/include',
+ '../third_party/externals/freetype/include/freetype/config',
'../third_party/externals/freetype',
],
- 'cflags': [
- '-DFT2_BUILD_LIBRARY',
+ 'defines': [
+ 'FT2_BUILD_LIBRARY',
+ 'FT_CONFIG_CONFIG_H=<ftconfig.h>',
+ 'FT_CONFIG_MODULES_H=<ftmodule.h>',
],
'direct_dependent_settings': {
+ 'defines': [
+ 'FT_CONFIG_CONFIG_H=<ftconfig.h>',
+ 'FT_CONFIG_MODULES_H=<ftmodule.h>',
+ ],
'include_dirs': [
'../third_party/freetype/include_overrides',
'../third_party/externals/freetype/include',
+ '../third_party/externals/freetype/include/freetype/config',
vandebo (ex-Chrome) 2013/08/15 16:12:56 This is going to break color fonts. Ideally, we s
ducky 2013/08/15 21:38:14 Separated into another build target.
],
},
'conditions': [
« no previous file with comments | « gyp/fontconfig.gyp ('k') | gyp/gm.gyp » ('j') | src/utils/SkPDFRasterizer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698