Bug 1064737 pt 1 - Enable WOFF2 support in OTS. r=jdaggett

This commit is contained in:
Jonathan Kew 2014-10-04 10:05:14 +01:00
Родитель 3cc2e09e3d
Коммит b8f41a1322
3 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -241,7 +241,7 @@ class OTS_API OTSContext {
void DisableDebugOutput();
// Enable WOFF2 support(experimental).
void EnableWOFF2();
void OTS_API EnableWOFF2();
} // namespace ots

Просмотреть файл

@ -44,6 +44,7 @@ UNIFIED_SOURCES += [
'prep.cc',
'vhea.cc',
'vmtx.cc',
'woff2.cc',
]
MSVC_ENABLE_PGO = True
@ -61,5 +62,6 @@ if CONFIG['OS_TARGET'] == 'WINNT':
DEFINES['OTS_DLL'] = True
DEFINES['OTS_DLL_EXPORTS'] = True
# Disable WOFF2 support.
DEFINES['OTS_DISABLE_WOFF2'] = True;
USE_LIBS += [
'brotli',
]

Просмотреть файл

@ -11,7 +11,7 @@
#include <zlib.h>
#include "third_party/brotli/src/brotli/dec/decode.h"
#include "decode.h"
#include "opentype-sanitiser.h"
#include "ots-memory-stream.h"