Bug 1842773 - Part 5: Add ArrayBuffer.prototype.{maxByteLength,resizable} getters...
[gecko.git] / dom / media / gmp / moz.build
bloba2b1be5ed8928915ddf71470c5888e79dd775458
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"
9 XPIDL_SOURCES += [
10     "mozIGeckoMediaPluginChromeService.idl",
11     "mozIGeckoMediaPluginService.idl",
14 EXPORTS += [
15     "ChromiumCDMCallback.h",
16     "ChromiumCDMParent.h",
17     "ChromiumCDMProxy.h",
18     "DecryptJob.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",
31     "GMPCallbackBase.h",
32     "GMPChild.h",
33     "GMPContentChild.h",
34     "GMPContentParent.h",
35     "GMPCrashHelper.h",
36     "GMPCrashHelperHolder.h",
37     "GMPLoader.h",
38     "GMPMessageUtils.h",
39     "GMPNativeTypes.h",
40     "GMPParent.h",
41     "GMPPlatform.h",
42     "GMPProcessChild.h",
43     "GMPProcessParent.h",
44     "GMPSanitizedExports.h",
45     "GMPService.h",
46     "GMPServiceChild.h",
47     "GMPServiceParent.h",
48     "GMPSharedMemManager.h",
49     "GMPStorage.h",
50     "GMPStorageChild.h",
51     "GMPStorageParent.h",
52     "GMPTimerChild.h",
53     "GMPTimerParent.h",
54     "GMPUtils.h",
55     "GMPVideoDecoderChild.h",
56     "GMPVideoDecoderParent.h",
57     "GMPVideoDecoderProxy.h",
58     "GMPVideoEncodedFrameImpl.h",
59     "GMPVideoEncoderChild.h",
60     "GMPVideoEncoderParent.h",
61     "GMPVideoEncoderProxy.h",
62     "GMPVideoHost.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",
71 UNIFIED_SOURCES += [
72     "CDMStorageIdProvider.cpp",
73     "ChromiumCDMAdapter.cpp",
74     "ChromiumCDMCallbackProxy.cpp",
75     "ChromiumCDMChild.cpp",
76     "ChromiumCDMParent.cpp",
77     "ChromiumCDMProxy.cpp",
78     "DecryptJob.cpp",
79     "GMPChild.cpp",
80     "GMPContentChild.cpp",
81     "GMPContentParent.cpp",
82     "GMPCrashHelperHolder.cpp",
83     "GMPDiskStorage.cpp",
84     "GMPLoader.cpp",
85     "GMPMemoryStorage.cpp",
86     "GMPParent.cpp",
87     "GMPPlatform.cpp",
88     "GMPProcessChild.cpp",
89     "GMPProcessParent.cpp",
90     "GMPService.cpp",
91     "GMPServiceChild.cpp",
92     "GMPServiceParent.cpp",
93     "GMPSharedMemManager.cpp",
94     "GMPStorageChild.cpp",
95     "GMPStorageParent.cpp",
96     "GMPTimerChild.cpp",
97     "GMPTimerParent.cpp",
98     "GMPUtils.cpp",
99     "GMPVideoDecoderChild.cpp",
100     "GMPVideoDecoderParent.cpp",
101     "GMPVideoEncodedFrameImpl.cpp",
102     "GMPVideoEncoderChild.cpp",
103     "GMPVideoEncoderParent.cpp",
104     "GMPVideoHost.cpp",
105     "GMPVideoi420FrameImpl.cpp",
106     "GMPVideoPlaneImpl.cpp",
109 DIRS += [
110     "rlz",
111     "widevine-adapter",
114 IPDL_SOURCES += [
115     "GMPTypes.ipdlh",
116     "PChromiumCDM.ipdl",
117     "PGMPService.ipdl",
118     "PGMPStorage.ipdl",
119     "PGMPTimer.ipdl",
120     "PGMPVideoDecoder.ipdl",
121     "PGMPVideoEncoder.ipdl",
124 PREPROCESSED_IPDL_SOURCES += [
125     "PGMP.ipdl",
126     "PGMPContent.ipdl",
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
136     LOCAL_INCLUDES += [
137         "/security/sandbox/chromium",
138         "/security/sandbox/chromium-shim",
139     ]
142 FINAL_LIBRARY = "xul"
143 # dom/media/webrtc/transport so we work with --disable-webrtc
144 LOCAL_INCLUDES += [
145     "/dom/media/webrtc/transport",
146     "/xpcom/base",
147     "/xpcom/build",
148     "/xpcom/threads",