moz.build (752B)
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/. 6 7 FINAL_TARGET = "dist/bin/gmp-fake/1.0" 8 9 FINAL_TARGET_FILES += [ 10 "manifest.json", 11 ] 12 13 SOURCES += [ 14 "cdm-fake.cpp", 15 "cdm-test-decryptor.cpp", 16 "cdm-test-storage.cpp", 17 ] 18 19 DEFINES["CDM_IMPLEMENTATION"] = True 20 21 SharedLibrary("fake") 22 23 if CONFIG["OS_ARCH"] == "WINNT": 24 OS_LIBS += [ 25 "ole32", 26 "user32", 27 ] 28 29 USE_STATIC_MSVCRT = True 30 NoVisibilityFlags() 31 # Don't use STL wrappers; this isn't Gecko code 32 DisableStlWrapping() 33 NO_PGO = True