summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-01-02 13:35:39 +0000
committerMoonchild <moonchild@palemoon.org>2021-01-02 13:35:39 +0000
commitbabeb5c556de6f9686f5cd47133d0c40c07bfc2e (patch)
tree146dd48634e5d44746acdd49dc142e413349054d /config
parent0bb464bfc13e3a0239fd268de265fc332014b385 (diff)
downloaduxp-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 'config')
-rw-r--r--config/moz.build3
-rw-r--r--config/system-headers16
2 files changed, 19 insertions, 0 deletions
diff --git a/config/moz.build b/config/moz.build
index fccf5cbcdc..3e95e46d2e 100644
--- a/config/moz.build
+++ b/config/moz.build
@@ -28,6 +28,9 @@ if CONFIG['HOST_OS_ARCH'] != 'WINNT':
# while the program here is in C.
HostProgram('nsinstall_real', c_only=True)
+if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
+ DEFINES['GKMEDIAS_SHARED_LIBRARY'] = True
+
PYTHON_UNIT_TESTS += [
'tests/test_mozbuild_reading.py',
'tests/unit-expandlibs.py',
diff --git a/config/system-headers b/config/system-headers
index 0156444284..76c79c9151 100644
--- a/config/system-headers
+++ b/config/system-headers
@@ -1287,6 +1287,22 @@ QtSparql/qsparqlresult.h
#if MOZ_TREE_PIXMAN!=1
pixman.h
#endif
+#ifdef GKMEDIAS_SHARED_LIBRARY
+vpx/vpx_codec.h
+vpx/vpx_decoder.h
+vpx/vpx_encoder.h
+vpx/vp8cx.h
+vpx/vp8dx.h
+vpx_mem/vpx_mem.h
+vorbis/codec.h
+theora/theoradec.h
+tremor/ivorbiscodec.h
+speex/speex_resampler.h
+ogg/ogg.h
+ogg/os_types.h
+nestegg/nestegg.h
+cubeb/cubeb.h
+#endif
gst/gst.h
gst/app/gstappsink.h
gst/app/gstappsrc.h