summaryrefslogtreecommitdiffstats
path: root/config/external/lgpllibs
diff options
context:
space:
mode:
Diffstat (limited to 'config/external/lgpllibs')
-rw-r--r--config/external/lgpllibs/lgpllibs.def10
-rw-r--r--config/external/lgpllibs/moz.build18
2 files changed, 28 insertions, 0 deletions
diff --git a/config/external/lgpllibs/lgpllibs.def b/config/external/lgpllibs/lgpllibs.def
new file mode 100644
index 000000000..359d97e71
--- /dev/null
+++ b/config/external/lgpllibs/lgpllibs.def
@@ -0,0 +1,10 @@
+; 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/.
+
+LIBRARY lgpllibs.dll
+
+EXPORTS
+ av_rdft_init
+ av_rdft_calc
+ av_rdft_end
diff --git a/config/external/lgpllibs/moz.build b/config/external/lgpllibs/moz.build
new file mode 100644
index 000000000..fad4bfb46
--- /dev/null
+++ b/config/external/lgpllibs/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 lgpllibs library stores symbols from third-party LGPL licensed libraries,
+# such as libav and libsoundtouch. It fulfills the requirement of dynamically
+# linking these symbols into gecko.
+#
+# Any library added here should also be reflected in the about:license page.
+
+GeckoSharedLibrary('lgpllibs', linkage=None)
+SHARED_LIBRARY_NAME = 'lgpllibs'
+
+if CONFIG['MOZ_LIBAV_FFT']:
+ DIRS += ['/media/libav']
+ DEFFILE = SRCDIR + '/lgpllibs.def'