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/angle | |
parent | 0bb464bfc13e3a0239fd268de265fc332014b385 (diff) | |
download | UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.gz UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.lz UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.xz UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.zip |
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/angle')
-rwxr-xr-x | gfx/angle/moz.build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gfx/angle/moz.build b/gfx/angle/moz.build index 1dbfaf2ce..f12eb6ca5 100755 --- a/gfx/angle/moz.build +++ b/gfx/angle/moz.build @@ -172,6 +172,14 @@ EXPORTS.angle.KHR += [ 'include/KHR/khrplatform.h' ] LOCAL_INCLUDES += [ 'include', 'src', 'src/common/third_party/numerics' ] +if CONFIG['GKMEDIAS_SHARED_LIBRARY']: + NO_VISIBILITY_FLAGS = True + +# This tells ANGLE to build the translator with declspec(dllexport) on Windows +# which we need to get these symbols exported from gkmedias +DEFINES['COMPONENT_BUILD'] = True +DEFINES['ANGLE_TRANSLATOR_IMPLEMENTATION'] = True + # We allow warnings for third-party code that can be updated from upstream. ALLOW_COMPILER_WARNINGS = True |