summaryrefslogtreecommitdiff
path: root/pdf.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'pdf.gyp')
-rw-r--r--pdf.gyp15
1 files changed, 15 insertions, 0 deletions
diff --git a/pdf.gyp b/pdf.gyp
index 8281732..145dc5b 100644
--- a/pdf.gyp
+++ b/pdf.gyp
@@ -1,3 +1,4 @@
+# This file builds the PDF backend.
{
'targets': [
{
@@ -23,6 +24,20 @@
'../src/doc/SkDocument_PDF.cpp', # Chromium does use this file
],
+ 'conditions': [
+ [ 'skia_android_framework', {
+ # Add SFTNLY support for PDF (which in turns depends on ICU)
+ 'include_dirs': [
+ 'external/sfntly/cpp/src',
+ ],
+ 'libraries': [
+ 'libsfntly.a',
+ '-licuuc',
+ '-licui18n',
+ ],
+ }
+ ],
+ ],
# 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': {