'standalone_static_library': 1,
'variables': {
'skia_pdf_use_sfntly%': 1,
- 'skia_pdf_less_compression%': 0, # enable for debugging only
},
'dependencies': [
'skia_lib.gyp:skia_lib',
skia_os in ["win", "android", "linux", "mac"]',
{ 'dependencies': [ 'sfntly.gyp:sfntly' ] }
],
- [ 'skia_pdf_less_compression',
- {'defines': ['SK_PDF_LESS_COMPRESSION'] }
- ],
[ 'skia_android_framework', {
# Add SFTNLY support for PDF (which in turns depends on ICU)
'include_dirs': [
expected.writeText("\nendstream");
sk_sp<SkData> expectedResultData2(expected.copyToData());
SkString result = emit_to_string(*stream);
+ #ifndef SK_PDF_LESS_COMPRESSION
assert_eql(reporter,
result,
(const char*)expectedResultData2->data(),
expectedResultData2->size());
+ #endif
}
}