moz.build (981B)
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: Playback") 9 10 EXPORTS.mozilla.dom += [ 11 "HTMLAudioElement.h", 12 "HTMLMediaElement.h", 13 "HTMLVideoElement.h", 14 "MediaError.h", 15 "PlayPromise.h", 16 "TimeRanges.h", 17 ] 18 19 UNIFIED_SOURCES += [ 20 "HTMLAudioElement.cpp", 21 "HTMLMediaElement.cpp", 22 "HTMLVideoElement.cpp", 23 "MediaError.cpp", 24 "PlayPromise.cpp", 25 "TimeRanges.cpp", 26 ] 27 28 if CONFIG["MOZ_ANDROID_HLS_SUPPORT"]: 29 DEFINES["MOZ_ANDROID_HLS_SUPPORT"] = True 30 31 include("/ipc/chromium/chromium-config.mozbuild") 32 33 LOCAL_INCLUDES += [ 34 "/dom/base", 35 "/dom/media", 36 "/third_party/abseil-cpp", 37 "/third_party/libwebrtc", 38 ] 39 40 FINAL_LIBRARY = "xul"