summaryrefslogtreecommitdiff
path: root/pdf.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'pdf.gyp')
-rw-r--r--pdf.gyp41
1 files changed, 41 insertions, 0 deletions
diff --git a/pdf.gyp b/pdf.gyp
new file mode 100644
index 0000000..ce4c59f
--- /dev/null
+++ b/pdf.gyp
@@ -0,0 +1,41 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'pdf',
+ 'product_name': 'skia_pdf',
+ 'type': 'static_library',
+ 'standalone_static_library': 1,
+ 'dependencies': [
+ 'skia_lib.gyp:skia_lib',
+ 'zlib.gyp:zlib',
+ ],
+ 'includes': [
+ 'pdf.gypi',
+ ],
+ 'include_dirs': [
+ '../include/pdf',
+ '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
+ '../src/utils', # needed to get SkBitSet.h
+ ],
+ 'sources': [
+ 'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the build).
+ ],
+ # This section makes all targets that depend on this target
+ # #define SK_SUPPORT_PDF and have access to the pdf header files.
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'SK_SUPPORT_PDF',
+ ],
+ 'include_dirs': [
+ '../include/pdf',
+ ],
+ },
+ },
+ ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2: