Index: gyp/pdf.gyp |
diff --git a/gyp/pdf.gyp b/gyp/pdf.gyp |
index e14990946c8d208480c43703df5f7b57f81ef4fe..76b23bb3a7fb0f3e2e70d4577ce9b2013eb2444d 100644 |
--- a/gyp/pdf.gyp |
+++ b/gyp/pdf.gyp |
@@ -14,6 +14,7 @@ |
'pdf.gypi', |
], |
'include_dirs': [ |
+ '../include/pdf', |
'../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h |
'../src/pdf', |
'../src/utils', # needed to get SkBitSet.h |
@@ -35,10 +36,15 @@ |
} |
], |
], |
+ # 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': { |
'defines': [ |
'SK_SUPPORT_PDF', |
], |
+ 'include_dirs': [ |
+ '../include/pdf', |
+ ], |
}, |
}, |
], |