| Index: src/pdf/SkPDFFont.cpp
|
| diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp
|
| index 9cbada836403dbde8307f77f054d3b38e3e08d44..0d6f3187995594ad523a31b9f59d4b3f2cf3e32d 100644
|
| --- a/src/pdf/SkPDFFont.cpp
|
| +++ b/src/pdf/SkPDFFont.cpp
|
| @@ -25,9 +25,11 @@
|
| #include "SkUtils.h"
|
|
|
| #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.
|
| + #if !defined (SK_BUILD_FOR_ANDROID)
|
| + // #including #defines doesn't work 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
|
| #elif defined (SK_SFNTLY_SUBSETTER)
|
| #include SK_SFNTLY_SUBSETTER
|
| #endif
|
|
|