Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Unified Diff: gyp/pdf.gyp

Issue 154053002: Reland "Gyp file changes for the android framework." (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix android build. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/opts.gyp ('k') | gyp/zlib.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': {
« no previous file with comments | « gyp/opts.gyp ('k') | gyp/zlib.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698