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 XPIDL_MODULE = "content_geckomediaplugins"
10 "mozIGeckoMediaPluginChromeService.idl",
11 "mozIGeckoMediaPluginService.idl",
15 "ChromiumCDMCallback.h",
16 "ChromiumCDMParent.h",
19 "gmp-api/gmp-entrypoints.h",
20 "gmp-api/gmp-errors.h",
21 "gmp-api/gmp-platform.h",
22 "gmp-api/gmp-storage.h",
23 "gmp-api/gmp-video-codec.h",
24 "gmp-api/gmp-video-decode.h",
25 "gmp-api/gmp-video-encode.h",
26 "gmp-api/gmp-video-frame-encoded.h",
27 "gmp-api/gmp-video-frame-i420.h",
28 "gmp-api/gmp-video-frame.h",
29 "gmp-api/gmp-video-host.h",
30 "gmp-api/gmp-video-plane.h",
36 "GMPCrashHelperHolder.h",
44 "GMPSanitizedExports.h",
48 "GMPSharedMemManager.h",
55 "GMPVideoDecoderChild.h",
56 "GMPVideoDecoderParent.h",
57 "GMPVideoDecoderProxy.h",
58 "GMPVideoEncodedFrameImpl.h",
59 "GMPVideoEncoderChild.h",
60 "GMPVideoEncoderParent.h",
61 "GMPVideoEncoderProxy.h",
63 "GMPVideoi420FrameImpl.h",
64 "GMPVideoPlaneImpl.h",
65 "widevine-adapter/content_decryption_module.h",
66 "widevine-adapter/content_decryption_module_export.h",
67 "widevine-adapter/content_decryption_module_ext.h",
68 "widevine-adapter/content_decryption_module_proxy.h",
72 "CDMStorageIdProvider.cpp",
73 "ChromiumCDMAdapter.cpp",
74 "ChromiumCDMCallbackProxy.cpp",
75 "ChromiumCDMChild.cpp",
76 "ChromiumCDMParent.cpp",
77 "ChromiumCDMProxy.cpp",
80 "GMPContentChild.cpp",
81 "GMPContentParent.cpp",
82 "GMPCrashHelperHolder.cpp",
85 "GMPMemoryStorage.cpp",
88 "GMPProcessChild.cpp",
89 "GMPProcessParent.cpp",
91 "GMPServiceChild.cpp",
92 "GMPServiceParent.cpp",
93 "GMPSharedMemManager.cpp",
94 "GMPStorageChild.cpp",
95 "GMPStorageParent.cpp",
99 "GMPVideoDecoderChild.cpp",
100 "GMPVideoDecoderParent.cpp",
101 "GMPVideoEncodedFrameImpl.cpp",
102 "GMPVideoEncoderChild.cpp",
103 "GMPVideoEncoderParent.cpp",
105 "GMPVideoi420FrameImpl.cpp",
106 "GMPVideoPlaneImpl.cpp",
120 "PGMPVideoDecoder.ipdl",
121 "PGMPVideoEncoder.ipdl",
124 PREPROCESSED_IPDL_SOURCES += [
129 if CONFIG["OS_TARGET"] in ["WINNT", "Darwin"]:
130 DEFINES["SUPPORT_STORAGE_ID"] = 1
132 include("/ipc/chromium/chromium-config.mozbuild")
134 if CONFIG["MOZ_SANDBOX"]:
135 # For sandbox includes and the include dependencies those have
137 "/security/sandbox/chromium",
138 "/security/sandbox/chromium-shim",
142 FINAL_LIBRARY = "xul"
143 # dom/media/webrtc/transport so we work with --disable-webrtc
145 "/dom/media/webrtc/transport",