Bug 1874684 - Part 28: Return DateDuration from DifferenceISODateTime. r=mgaudet
[gecko.git] / media / wmf-clearkey / moz.build
blob74680a50e0dc65edcb249aef9a24a5a5a915b82c
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 DEFINES["CDM_IMPLEMENTATION"] = True
7 SOURCES += [
8     "dllmain.cpp",
9     "WMFClearKeyActivate.cpp",
10     "WMFClearKeyCDM.cpp",
11     "WMFClearKeyCDMAccess.cpp",
12     "WMFClearKeyCDMFactory.cpp",
13     "WMFClearKeyContentEnabler.cpp",
14     # TODO : enable decryptor in bug 1870722.
15     # "WMFClearKeyDecryptor.cpp",
16     "WMFClearKeyInputTrustAuthority.cpp",
17     "WMFClearKeyOutputPolicy.cpp",
18     "WMFClearKeySession.cpp",
19     "WMFClearKeyTrustedInput.cpp",
20     "WMFPMPServer.cpp",
23 OS_LIBS += [
24     "mf",
25     "mfplat",
26     "mfuuid",
27     "oleaut32",
28     "propsys",
29     "runtimeobject",
32 USE_LIBS += ["gecko-clearkey"]
34 DEFFILE = "WMFClearKey.def"
36 # Suppress warnings in platform headers, eg. wrl/module.h
37 if CONFIG["CC_TYPE"] == "clang-cl":
38     CXXFLAGS += [
39         "-Wno-missing-braces",
40         "-Wunused-result",
41     ]
43 GeckoSharedLibrary("wmfclearkey", linkage=None)