Index: src/pdf/SkPDFFont.cpp |
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp |
index 3b35b56a9285ee7b011d89f3cc24493a3a71c328..426fbaf78ab2c37e07523102d361e9b23b02e20f 100644 |
--- a/src/pdf/SkPDFFont.cpp |
+++ b/src/pdf/SkPDFFont.cpp |
@@ -26,7 +26,13 @@ |
#include "SkUtils.h" |
#if defined (SK_SFNTLY_SUBSETTER) |
-#include SK_SFNTLY_SUBSETTER |
+ #include SK_SFNTLY_SUBSETTER |
+#endif |
+ |
+#if defined (GOOGLE3) |
+ // #including #defines doesn't work in with this build system. |
+ #include "typography/font/sfntly/src/sample/chromium/font_subsetter.h" |
+ #define SK_SFNTLY_SUBSETTER // For the benefit of #ifdefs below. |
#endif |
// PDF's notion of symbolic vs non-symbolic is related to the character set, not |