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

Unified Diff: gyp/pdf.gyp

Issue 2273343002: SkPDF: Stop `#include PREPROCESSOR_DEFINE` pattern (Closed)
Patch Set: fix gyp/pdf.gyp syntax error Created 4 years, 4 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/common_conditions.gypi ('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 aa8d6bfa79201a5e450341809001c17d0e4da3df..be3ac4d12a838165aeb32037cc0f427b898c1c57 100644
--- a/gyp/pdf.gyp
+++ b/gyp/pdf.gyp
@@ -38,13 +38,15 @@
'conditions': [
[ 'skia_pdf_use_sfntly and not skia_android_framework and \
skia_os in ["win", "android", "linux", "mac"]',
- { 'dependencies': [ 'sfntly.gyp:sfntly' ] }
+ {
+ 'dependencies': [ 'sfntly.gyp:sfntly' ],
+ 'defines': [ 'SK_PDF_USE_SFNTLY' ],
+ }
],
[ 'skia_android_framework', {
# Add SFTNLY support for PDF (which in turns depends on ICU)
- 'include_dirs': [
- 'external/sfntly/cpp/src',
- ],
+ 'include_dirs': [ 'external/sfntly/cpp/src' ],
+ 'defines': [ 'SK_PDF_USE_SFNTLY' ],
'libraries': [
'libsfntly.a',
'-licuuc',
« no previous file with comments | « gyp/common_conditions.gypi ('k') | gyp/sfntly.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698