summaryrefslogtreecommitdiffstats
path: root/config/external/gkcodecs/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'config/external/gkcodecs/moz.build')
-rw-r--r--config/external/gkcodecs/moz.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/external/gkcodecs/moz.build b/config/external/gkcodecs/moz.build
new file mode 100644
index 0000000000..040f6809de
--- /dev/null
+++ b/config/external/gkcodecs/moz.build
@@ -0,0 +1,18 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# The gkcodecs library contains code from third-party libraries implementing
+# encoding an decoding for particular audio and video codecs.
+#
+# They are compiled in a separate shared library to be able to be available
+# both from libxul (when decoding using the codec integration layer Gecko
+# provides) and from ffmpeg (when decoding and encoding through ffmpeg).
+
+GeckoSharedLibrary("gkcodecs", linkage=None)
+SHARED_LIBRARY_NAME = "gkcodecs"
+SYMBOLS_FILE = "gkcodecs.symbols"
+if CONFIG["MOZ_SYSTEM_LIBVPX"]:
+ DEFINES["MOZ_SYSTEM_LIBVPX"] = True