Index: gyp/pdf.gyp |
diff --git a/gyp/pdf.gyp b/gyp/pdf.gyp |
index 8281732056f25e6fe51dbb806b9cf4fc0c671279..145dc5b72217ad85cbda64ce3f3e60e849695313 100644 |
--- a/gyp/pdf.gyp |
+++ b/gyp/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': { |