diff options
Diffstat (limited to 'dom/media/webrtc/libwebrtcglue/moz.build')
-rw-r--r-- | dom/media/webrtc/libwebrtcglue/moz.build | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dom/media/webrtc/libwebrtcglue/moz.build b/dom/media/webrtc/libwebrtcglue/moz.build new file mode 100644 index 0000000000..9ba8c5d40e --- /dev/null +++ b/dom/media/webrtc/libwebrtcglue/moz.build @@ -0,0 +1,37 @@ +# -*- 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/. +include("/dom/media/webrtc/third_party_build/webrtc.mozbuild") + +LOCAL_INCLUDES += [ + "!/ipc/ipdl/_ipdlheaders", + "/dom/media/gmp", # for GMPLog.h, + "/dom/media/webrtc", + "/ipc/chromium/src", + "/media/libyuv/libyuv/include", + "/media/webrtc", + "/third_party/libwebrtc", + "/third_party/libwebrtc/webrtc", +] + +UNIFIED_SOURCES += [ + "AudioConduit.cpp", + "GmpVideoCodec.cpp", + "MediaDataCodec.cpp", + "RtpSourceObserver.cpp", + "VideoConduit.cpp", + "VideoStreamFactory.cpp", + "WebrtcGmpVideoCodec.cpp", + "WebrtcMediaDataDecoderCodec.cpp", + "WebrtcMediaDataEncoderCodec.cpp", +] + +if CONFIG["OS_TARGET"] == "Android": + UNIFIED_SOURCES += [ + "MediaCodecVideoCodec.cpp", + "WebrtcMediaCodecVP8VideoCodec.cpp", + ] + +FINAL_LIBRARY = "xul" |