Bug 1839170 - Refactor Snap pulling, Add Firefox Snap Core22 and GNOME 42 SDK symbols...
[gecko.git] / dom / media / eme / moz.build
blob76059a2790a70f50a06b113d34fdda2eaa4d949a
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/.
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",
20 EXPORTS.mozilla += [
21     "CDMCaps.h",
22     "CDMProxy.h",
23     "DecryptorProxyCallback.h",
24     "DetailedPromise.h",
25     "EMEUtils.h",
26     "KeySystemConfig.h",
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",
45 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
46     DIRS += ["mediadrm"]
47     LOCAL_INCLUDES += ["/dom/media/platforms/android"]
49 if CONFIG["MOZ_WMF_CDM"]:
50     DIRS += ["mediafoundation"]
52 include("/ipc/chromium/chromium-config.mozbuild")
54 FINAL_LIBRARY = "xul"