summaryrefslogtreecommitdiff
path: root/gfx/ots/src
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/ots/src')
-rw-r--r--gfx/ots/src/moz.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/gfx/ots/src/moz.build b/gfx/ots/src/moz.build
index 150773db9c..909a2092e8 100644
--- a/gfx/ots/src/moz.build
+++ b/gfx/ots/src/moz.build
@@ -56,6 +56,9 @@ SOURCES += [
'vvar.cc',
]
+if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
+ NO_VISIBILITY_FLAGS = True
+
# We allow warnings for third-party code that can be updated from upstream.
ALLOW_COMPILER_WARNINGS = True
@@ -66,6 +69,10 @@ DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"'
DEFINES['OTS_GRAPHITE'] = 1
DEFINES['OTS_VARIATIONS'] = 1
+if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
+ DEFINES['OTS_DLL'] = True
+ DEFINES['OTS_DLL_EXPORTS'] = True
+
USE_LIBS += [
'brotli',
'woff2',