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