gyp/sfntly: set SK_SFNTLY_SUBSETTER uniformly

When Skia is built into the Android framework,
SK_SFNTLY_SUBSETTER="sample/chromium/font_subsetter.h".
This sets the same value for Skia's test framework

I will eventually move away from the
   #include PREPROCESSOR_DEFINE
trick, which does not work everywhere.

No public API changes.
TBR=reed@google.com

Review-Url: https://codereview.chromium.org/2274223002
This commit is contained in:
halcanary 2016-08-24 12:28:38 -07:00 committed by Commit bot
parent c095df55e8
commit e37aa89c5c
2 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,9 @@
'sfntly_src_path': '../third_party/externals/sfntly/cpp/src',
},
'direct_dependent_settings': {
'include_dirs': [ '<(sfntly_src_path)/sample/chromium', ],
'include_dirs': [ '<(sfntly_src_path)', ],
'defines': [
'SK_SFNTLY_SUBSETTER="font_subsetter.h"',
'SK_SFNTLY_SUBSETTER="sample/chromium/font_subsetter.h"',
],
},
'sources': [

View File

@ -95,7 +95,7 @@
/* Define this to provide font subsetter in PDF generation.
*/
//#define SK_SFNTLY_SUBSETTER "sfntly/subsetter/font_subsetter.h"
//#define SK_SFNTLY_SUBSETTER "sample/chromium/font_subsetter.h"
/* Define this to set the upper limit for text to support LCD. Values that
are very large increase the cost in the font cache and draw slower, without