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

Unified Diff: gyp/pdf.gyp

Issue 1134683006: SkPDF: Add Sfntly to DEPS, gyp, SkUserConfig (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-05-18 (Monday) 13:33:42 EDT Created 5 years, 7 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/icu.gyp ('k') | gyp/sfntly.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 fe574508a63286066c86ee49415c082817ed2ccd..270cce5e02485e6dbe5852c2e170c8a2719326a2 100644
--- a/gyp/pdf.gyp
+++ b/gyp/pdf.gyp
@@ -10,6 +10,7 @@
'product_name': 'skia_pdf',
'type': 'static_library',
'standalone_static_library': 1,
+ 'variables': { 'skia_pdf_use_sfntly%': 1, },
'dependencies': [
'skia_lib.gyp:skia_lib',
'skflate.gyp:skflate',
@@ -26,6 +27,10 @@
'pdf.gypi', # Makes the gypi appear in IDEs (but does not modify the build).
],
'conditions': [
+ [ 'skia_pdf_use_sfntly and not skia_android_framework and \
+ skia_os in ["win", "android", "linux", "chromeos", "mac"]',
+ { 'dependencies': [ 'sfntly.gyp:sfntly' ] }
+ ],
[ 'skia_android_framework', {
# Add SFTNLY support for PDF (which in turns depends on ICU)
'include_dirs': [
« no previous file with comments | « gyp/icu.gyp ('k') | gyp/sfntly.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698