tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

moz.build (1056B)


      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/.
      4 
      5 DEFINES["CDM_IMPLEMENTATION"] = True
      6 
      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",
     21 ]
     22 
     23 OS_LIBS += [
     24     "mf",
     25     "mfplat",
     26     "mfuuid",
     27     "oleaut32",
     28     "propsys",
     29     "runtimeobject",
     30 ]
     31 
     32 USE_LIBS += ["gecko-clearkey"]
     33 
     34 DEFFILE = "WMFClearKey.def"
     35 
     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     ]
     42 
     43 GeckoSharedLibrary("wmfclearkey")