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
9 "WMFClearKeyActivate.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",
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":
39 "-Wno-missing-braces",
43 GeckoSharedLibrary("wmfclearkey", linkage=None)