diff options
Diffstat (limited to 'chromium/third_party/skia/gyp/pdf.gyp')
-rw-r--r-- | chromium/third_party/skia/gyp/pdf.gyp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/chromium/third_party/skia/gyp/pdf.gyp b/chromium/third_party/skia/gyp/pdf.gyp index 8281732056f..e5923e74835 100644 --- a/chromium/third_party/skia/gyp/pdf.gyp +++ b/chromium/third_party/skia/gyp/pdf.gyp @@ -1,3 +1,4 @@ +# This file builds the PDF backend. { 'targets': [ { @@ -7,7 +8,7 @@ 'standalone_static_library': 1, 'dependencies': [ 'skia_lib.gyp:skia_lib', - 'zlib.gyp:zlib', + 'skflate.gyp:skflate', ], 'includes': [ 'pdf.gypi', @@ -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': { |