diff options
Diffstat (limited to 'dom/media/webcodecs/moz.build')
-rw-r--r-- | dom/media/webcodecs/moz.build | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dom/media/webcodecs/moz.build b/dom/media/webcodecs/moz.build new file mode 100644 index 0000000000..267a822286 --- /dev/null +++ b/dom/media/webcodecs/moz.build @@ -0,0 +1,54 @@ +# -*- 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/. + +with Files("*"): + BUG_COMPONENT = ("Core", "Audio/Video: Web Codecs") + +MOCHITEST_MANIFESTS += ["test/mochitest.toml"] +CRASHTEST_MANIFESTS += ["crashtests/crashtests.list"] + +# For mozilla/layers/ImageBridgeChild.h +LOCAL_INCLUDES += [ + "!/ipc/ipdl/_ipdlheaders", + "/ipc/chromium/src/", +] + +EXPORTS.mozilla += [ + "DecoderAgent.h", +] + +EXPORTS.mozilla.dom += [ + "DecoderTemplate.h", + "DecoderTypes.h", + "EncodedVideoChunk.h", + "EncoderAgent.h", + "EncoderTemplate.h", + "EncoderTypes.h", + "VideoColorSpace.h", + "VideoDecoder.h", + "VideoEncoder.h", + "VideoFrame.h", + "WebCodecsUtils.h", +] + +UNIFIED_SOURCES += [ + "DecoderAgent.cpp", + "DecoderTemplate.cpp", + "EncodedVideoChunk.cpp", + "EncoderAgent.cpp", + "EncoderTemplate.cpp", + "VideoColorSpace.cpp", + "VideoDecoder.cpp", + "VideoEncoder.cpp", + "VideoFrame.cpp", + "WebCodecsUtils.cpp", +] + +if CONFIG["MOZ_WAYLAND"]: + CXXFLAGS += CONFIG["MOZ_WAYLAND_CFLAGS"] + CFLAGS += CONFIG["MOZ_WAYLAND_CFLAGS"] + +FINAL_LIBRARY = "xul" |