moz.build (824B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 # The gkcodecs library contains code from third-party libraries implementing 8 # encoding an decoding for particular audio and video codecs. 9 # 10 # They are compiled in a separate shared library to be able to be available 11 # both from libxul (when decoding using the codec integration layer Gecko 12 # provides) and from ffmpeg (when decoding and encoding through ffmpeg). 13 14 GeckoSharedLibrary("gkcodecs") 15 SHARED_LIBRARY_NAME = "gkcodecs" 16 SYMBOLS_FILE = "gkcodecs.symbols" 17 if CONFIG["MOZ_SYSTEM_LIBVPX"]: 18 DEFINES["MOZ_SYSTEM_LIBVPX"] = True