moz.build (1691B)
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 with Files("*"): 8 BUG_COMPONENT = ("Core", "Audio/Video: Web Codecs") 9 10 MOCHITEST_MANIFESTS += ["test/mochitest.toml"] 11 CRASHTEST_MANIFESTS += ["crashtests/crashtests.list"] 12 13 # For mozilla/layers/ImageBridgeChild.h 14 LOCAL_INCLUDES += [ 15 "!/ipc/ipdl/_ipdlheaders", 16 "/ipc/chromium/src/", 17 ] 18 19 EXPORTS.mozilla += [ 20 "DecoderAgent.h", 21 ] 22 23 EXPORTS.mozilla.dom += [ 24 "AudioData.h", 25 "AudioDecoder.h", 26 "AudioEncoder.h", 27 "DecoderTemplate.h", 28 "DecoderTypes.h", 29 "EncodedAudioChunk.h", 30 "EncodedVideoChunk.h", 31 "EncoderAgent.h", 32 "EncoderTemplate.h", 33 "EncoderTypes.h", 34 "ImageDecoder.h", 35 "ImageTrack.h", 36 "ImageTrackList.h", 37 "VideoColorSpace.h", 38 "VideoDecoder.h", 39 "VideoEncoder.h", 40 "VideoFrame.h", 41 "WebCodecsUtils.h", 42 ] 43 44 UNIFIED_SOURCES += [ 45 "AudioData.cpp", 46 "AudioDecoder.cpp", 47 "AudioEncoder.cpp", 48 "DecoderAgent.cpp", 49 "DecoderTemplate.cpp", 50 "EncodedAudioChunk.cpp", 51 "EncodedVideoChunk.cpp", 52 "EncoderAgent.cpp", 53 "EncoderTemplate.cpp", 54 "ImageDecoder.cpp", 55 "ImageDecoderReadRequest.cpp", 56 "ImageTrack.cpp", 57 "ImageTrackList.cpp", 58 "VideoColorSpace.cpp", 59 "VideoDecoder.cpp", 60 "VideoEncoder.cpp", 61 "VideoFrame.cpp", 62 "WebCodecsUtils.cpp", 63 ] 64 65 if CONFIG["MOZ_WAYLAND"]: 66 CXXFLAGS += CONFIG["MOZ_WAYLAND_CFLAGS"] 67 CFLAGS += CONFIG["MOZ_WAYLAND_CFLAGS"] 68 69 FINAL_LIBRARY = "xul"