зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1064737 pt 1 - Enable WOFF2 support in OTS. r=jdaggett
This commit is contained in:
Родитель
3cc2e09e3d
Коммит
b8f41a1322
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче