Back in the old days, shared libraries that linked against libxul/xpcom were common (binary components), but those days are long gone. Even when GeckoSharedLibrary was added, most uses were linkage=None. Nowadays, all of them are, it's time to admit that this should be the default. Differential Revision: https://phabricator.services.mozilla.com/D238899
19 lines
824 B
Python
19 lines
824 B
Python
# -*- 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")
|
|
SHARED_LIBRARY_NAME = "gkcodecs"
|
|
SYMBOLS_FILE = "gkcodecs.symbols"
|
|
if CONFIG["MOZ_SYSTEM_LIBVPX"]:
|
|
DEFINES["MOZ_SYSTEM_LIBVPX"] = True
|