aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/freetype.gyp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-11-10 15:00:52 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-11-10 15:00:52 +0000
commitb76b34e04f2e8cb7cb390c0c65713f60d74a2cbb (patch)
treeaed56310817a31bbc8b37031d28874956fc8e4c9 /gyp/freetype.gyp
parent7107fa789a5999e3f8f7cf7c9c4208c2c443d2af (diff)
add initial gyp to build freetype lib (problems with cflags not showing up in xcode)
git-svn-id: http://skia.googlecode.com/svn/trunk@2655 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp/freetype.gyp')
-rw-r--r--gyp/freetype.gyp69
1 files changed, 69 insertions, 0 deletions
diff --git a/gyp/freetype.gyp b/gyp/freetype.gyp
new file mode 100644
index 0000000000..e86a338935
--- /dev/null
+++ b/gyp/freetype.gyp
@@ -0,0 +1,69 @@
+{
+# 'includes': [
+# 'common.gypi',
+# ],
+ 'targets': [
+ {
+ 'target_name': 'skfreetype',
+ 'type': 'static_library',
+ 'sources': [
+ '../third_party/freetype/src/base/ftbbox.c',
+ '../third_party/freetype/src/base/ftbitmap.c',
+ '../third_party/freetype/src/base/ftglyph.c',
+ '../third_party/freetype/src/base/ftlcdfil.c',
+ '../third_party/freetype/src/base/ftstroke.c',
+ '../third_party/freetype/src/base/ftxf86.c',
+ '../third_party/freetype/src/base/ftbase.c',
+ '../third_party/freetype/src/base/ftsystem.c',
+ '../third_party/freetype/src/base/ftinit.c',
+ '../third_party/freetype/src/base/ftgasp.c',
+ '../third_party/freetype/src/base/ftfstype.c',
+ '../third_party/freetype/src/raster/raster.c',
+ '../third_party/freetype/src/sfnt/sfnt.c',
+ '../third_party/freetype/src/smooth/smooth.c',
+ '../third_party/freetype/src/autofit/autofit.c',
+ '../third_party/freetype/src/truetype/truetype.c',
+ '../third_party/freetype/src/cff/cff.c',
+ '../third_party/freetype/src/psnames/psnames.c',
+ '../third_party/freetype/src/pshinter/pshinter.c',
+
+# added for linker
+ '../third_party/freetype/src/lzw/ftlzw.c',
+ '../third_party/freetype/src/gzip/ftgzip.c',
+ '../third_party/freetype/src/cid/type1cid.c',
+ '../third_party/freetype/src/bdf/bdf.c',
+ '../third_party/freetype/src/psaux/psaux.c',
+ '../third_party/freetype/src/pcf/pcf.c',
+ '../third_party/freetype/src/pfr/pfr.c',
+ '../third_party/freetype/src/type1/type1.c',
+ '../third_party/freetype/src/type42/type42.c',
+ '../third_party/freetype/src/winfonts/winfnt.c',
+ ],
+ 'include_dirs': [
+ '../third_party/freetype/internal',
+ '../third_party/freetype/builds',
+ '../third_party/freetype/include',
+ '../third_party/freetype',
+ ],
+ 'cflags': [
+ '-W',
+ '-Wall',
+ '-fPIC',
+ '-DPIC',
+ '-DDARWIN_NO_CARBON',
+ '-DFT2_BUILD_LIBRARY',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '../third_party/freetype/include', # For ft2build.h
+ ],
+ },
+ },
+ ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2: