moz.build (1450B)
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 EXPORTS.mozilla.dom += [ 8 "KeySystemNames.h", 9 "MediaEncryptedEvent.h", 10 "MediaKeyError.h", 11 "MediaKeyMessageEvent.h", 12 "MediaKeys.h", 13 "MediaKeySession.h", 14 "MediaKeyStatusMap.h", 15 "MediaKeySystemAccess.h", 16 "MediaKeySystemAccessManager.h", 17 "MediaKeySystemAccessPermissionRequest.h", 18 ] 19 20 EXPORTS.mozilla += [ 21 "CDMCaps.h", 22 "CDMProxy.h", 23 "DecryptorProxyCallback.h", 24 "DetailedPromise.h", 25 "EMEUtils.h", 26 "KeySystemConfig.h", 27 ] 28 29 UNIFIED_SOURCES += [ 30 "CDMCaps.cpp", 31 "DetailedPromise.cpp", 32 "EMEUtils.cpp", 33 "KeySystemConfig.cpp", 34 "MediaEncryptedEvent.cpp", 35 "MediaKeyError.cpp", 36 "MediaKeyMessageEvent.cpp", 37 "MediaKeys.cpp", 38 "MediaKeySession.cpp", 39 "MediaKeyStatusMap.cpp", 40 "MediaKeySystemAccess.cpp", 41 "MediaKeySystemAccessManager.cpp", 42 "MediaKeySystemAccessPermissionRequest.cpp", 43 ] 44 45 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android": 46 DIRS += ["mediadrm"] 47 LOCAL_INCLUDES += ["/dom/media/platforms/android"] 48 49 if CONFIG["MOZ_WMF_CDM"]: 50 DIRS += ["mediafoundation"] 51 52 DIRS += ["clearkey"] 53 54 include("/ipc/chromium/chromium-config.mozbuild") 55 56 FINAL_LIBRARY = "xul"