summaryrefslogtreecommitdiff
path: root/gfx/ots/src/moz.build
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-14 10:07:01 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-14 10:07:01 +0100
commit0f8691a48869932cd3de5195f5211c25e4691b21 (patch)
tree829675d64c457be0b447dfbcf9534cc22f83d392 /gfx/ots/src/moz.build
parent36975f3865948f3faa959fe386e58b22783bd379 (diff)
downloaduxp-0f8691a48869932cd3de5195f5211c25e4691b21.tar.gz
Issue #1288 - Part 4: Update the OpenType Sanitizer component to 8.0.0
Diffstat (limited to 'gfx/ots/src/moz.build')
-rw-r--r--gfx/ots/src/moz.build47
1 files changed, 32 insertions, 15 deletions
diff --git a/gfx/ots/src/moz.build b/gfx/ots/src/moz.build
index f8e60d5f89..962a86a5b9 100644
--- a/gfx/ots/src/moz.build
+++ b/gfx/ots/src/moz.build
@@ -9,41 +9,52 @@ EXPORTS += [
'../include/ots-memory-stream.h',
]
-SOURCES += [
- # don't unify sources that use a (file-specific) DROP_THIS_TABLE macro
- 'gasp.cc',
- 'gdef.cc',
- 'gpos.cc',
- 'gsub.cc',
- 'hdmx.cc',
- 'kern.cc',
- 'ltsh.cc',
- 'math.cc',
- 'vdmx.cc',
- 'vorg.cc',
-]
-
UNIFIED_SOURCES += [
+ 'avar.cc',
'cff.cc',
- 'cff_type2_charstring.cc',
+ 'cff_charstring.cc',
'cmap.cc',
+ 'cvar.cc',
'cvt.cc',
+ 'feat.cc',
'fpgm.cc',
+ 'fvar.cc',
+ 'gasp.cc',
+ 'gdef.cc',
+ 'glat.cc',
+ 'gloc.cc',
'glyf.cc',
+ 'gpos.cc',
+ 'gsub.cc',
+ 'gvar.cc',
+ 'hdmx.cc',
'head.cc',
'hhea.cc',
'hmtx.cc',
+ 'hvar.cc',
+ 'kern.cc',
'layout.cc',
'loca.cc',
+ 'ltsh.cc',
+ 'math.cc',
'maxp.cc',
'metrics.cc',
+ 'mvar.cc',
'name.cc',
'os2.cc',
'ots.cc',
'post.cc',
'prep.cc',
+ 'sile.cc',
+ 'silf.cc',
+ 'sill.cc',
+ 'stat.cc',
+ 'variations.cc',
+ 'vdmx.cc',
'vhea.cc',
'vmtx.cc',
+ 'vorg.cc',
+ 'vvar.cc',
]
# We allow warnings for third-party code that can be updated from upstream.
@@ -53,8 +64,14 @@ FINAL_LIBRARY = 'gkmedias'
DEFINES['PACKAGE_VERSION'] = '"moz"'
DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"'
+DEFINES['OTS_GRAPHITE'] = 1
+DEFINES['OTS_VARIATIONS'] = 1
USE_LIBS += [
'brotli',
'woff2',
]
+
+LOCAL_INCLUDES += [
+ '/modules/woff2/src',
+]