diff options
Diffstat (limited to 'pdf.gyp')
-rw-r--r-- | pdf.gyp | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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': { |