diff options
author | Moonchild <moonchild@palemoon.org> | 2021-01-02 13:35:39 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-01-02 13:35:39 +0000 |
commit | babeb5c556de6f9686f5cd47133d0c40c07bfc2e (patch) | |
tree | 146dd48634e5d44746acdd49dc142e413349054d /gfx/ots | |
parent | 0bb464bfc13e3a0239fd268de265fc332014b385 (diff) | |
download | uxp-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.gz |
Issue #61 - Reinstate buildability with shared gkmedias dll
This fully works for splitting gkmedias.dll back out from xul with one exception
which is Skia throwing undefined externals when linking gkmedias.
Diffstat (limited to 'gfx/ots')
-rw-r--r-- | gfx/ots/src/moz.build | 7 |
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', |