summaryrefslogtreecommitdiff
path: root/third_party/third_party.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/third_party.gyp')
-rw-r--r--third_party/third_party.gyp10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index 665de0a146..7fd1082454 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -5,6 +5,7 @@
{
'variables': {
'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in standalone builds.
+ 'pdf_use_skia%': 0,
},
'target_defaults': {
'defines': [
@@ -80,6 +81,15 @@
'freetype/src/truetype/truetype.c',
'freetype/src/type1/type1.c',
],
+ 'conditions': [
+ ['pdf_use_skia==1', {
+ 'sources': [
+ 'freetype/src/base/ftfntfmt.c',
+ 'freetype/src/base/ftfstype.c',
+ 'freetype/src/base/fttype1.c',
+ ],
+ }],
+ ],
'variables': {
'clang_warning_flags': [
# open_face_PS_from_sfnt_stream() and open_face_from_buffer() in