michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS += [ michael@0: 'AudioSinkFilter.h', michael@0: 'AudioSinkInputPin.h', michael@0: 'DirectShowDecoder.h', michael@0: 'DirectShowReader.h', michael@0: 'DirectShowUtils.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'AudioSinkInputPin.cpp', michael@0: 'DirectShowDecoder.cpp', michael@0: 'DirectShowReader.cpp', michael@0: 'DirectShowUtils.cpp', michael@0: 'SampleSink.cpp', michael@0: 'SourceFilter.cpp', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: 'AudioSinkFilter.cpp', michael@0: ] michael@0: michael@0: # If WebRTC isn't being built, we need to compile the DirectShow base classes so that michael@0: # they're available at link time. michael@0: if not CONFIG['MOZ_WEBRTC']: michael@0: SOURCES += [ '%s/%s' % (TOPSRCDIR, p) for p in [ michael@0: 'media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp', michael@0: 'media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp', michael@0: 'media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp', michael@0: 'media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp', michael@0: ]] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: FINAL_LIBRARY = 'gklayout' michael@0: LOCAL_INCLUDES += [ michael@0: '/media/webrtc/trunk/webrtc/modules/video_capture/windows', michael@0: ] michael@0: