moz.build (2123B)
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 EXPORTS += [ 8 "DXVA2Manager.h", 9 "MFTDecoder.h", 10 "WMF.h", 11 "WMFAudioMFTManager.h", 12 "WMFDataEncoderUtils.h", 13 "WMFDecoderModule.h", 14 "WMFEncoderModule.h", 15 "WMFMediaDataDecoder.h", 16 "WMFMediaDataEncoder.h", 17 "WMFUtils.h", 18 "WMFVideoMFTManager.h", 19 ] 20 21 if CONFIG["MOZ_WMF_MEDIA_ENGINE"]: 22 EXPORTS += [ 23 "MFMediaEngineAudioStream.h", 24 "MFMediaEngineDecoderModule.h", 25 "MFMediaEngineExtra.h", 26 "MFMediaEngineStream.h", 27 "MFMediaEngineVideoStream.h", 28 "MFMediaSource.h", 29 ] 30 UNIFIED_SOURCES += [ 31 "MFMediaEngineAudioStream.cpp", 32 "MFMediaEngineDecoderModule.cpp", 33 "MFMediaEngineExtension.cpp", 34 "MFMediaEngineNotify.cpp", 35 "MFMediaEngineStream.cpp", 36 "MFMediaEngineVideoStream.cpp", 37 "MFMediaSource.cpp", 38 ] 39 40 if CONFIG["MOZ_WMF_CDM"]: 41 EXPORTS += [ 42 "MFCDMExtra.h", 43 "MFCDMProxy.h", 44 "MFCDMSession.h", 45 "MFContentProtectionManager.h", 46 "MFPMPHostWrapper.h", 47 ] 48 UNIFIED_SOURCES += [ 49 "MFCDMProxy.cpp", 50 "MFCDMSession.cpp", 51 "MFContentProtectionManager.cpp", 52 "MFPMPHostWrapper.cpp", 53 ] 54 55 UNIFIED_SOURCES += [ 56 "DXVA2Manager.cpp", 57 "MFTDecoder.cpp", 58 "MFTEncoder.cpp", 59 "WMFAudioMFTManager.cpp", 60 "WMFDataEncoderUtils.cpp", 61 "WMFDecoderModule.cpp", 62 "WMFEncoderModule.cpp", 63 "WMFMediaDataDecoder.cpp", 64 "WMFMediaDataEncoder.cpp", 65 "WMFVideoMFTManager.cpp", 66 ] 67 68 SOURCES += [ 69 "WMFUtils.cpp", 70 ] 71 72 LOCAL_INCLUDES += [ 73 "../../ipc/", 74 "/gfx/cairo/cairo/src", 75 "/media/libyuv/libyuv/include", 76 ] 77 78 TEST_DIRS += [ 79 "gtest", 80 ] 81 82 include("/ipc/chromium/chromium-config.mozbuild") 83 84 FINAL_LIBRARY = "xul" 85 86 # Add libFuzzer configuration directives 87 include("/tools/fuzzing/libfuzzer-config.mozbuild")