content/media/directshow/moz.build

branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
equal deleted inserted replaced
-1:000000000000 0:83b7f5e107c5
1 # -*- Mode: python; c-basic-offset: 4; 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 'AudioSinkFilter.h',
9 'AudioSinkInputPin.h',
10 'DirectShowDecoder.h',
11 'DirectShowReader.h',
12 'DirectShowUtils.h',
13 ]
14
15 UNIFIED_SOURCES += [
16 'AudioSinkInputPin.cpp',
17 'DirectShowDecoder.cpp',
18 'DirectShowReader.cpp',
19 'DirectShowUtils.cpp',
20 'SampleSink.cpp',
21 'SourceFilter.cpp',
22 ]
23
24 SOURCES += [
25 'AudioSinkFilter.cpp',
26 ]
27
28 # If WebRTC isn't being built, we need to compile the DirectShow base classes so that
29 # they're available at link time.
30 if not CONFIG['MOZ_WEBRTC']:
31 SOURCES += [ '%s/%s' % (TOPSRCDIR, p) for p in [
32 'media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp',
33 'media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp',
34 'media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp',
35 'media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp',
36 ]]
37
38 FAIL_ON_WARNINGS = True
39
40 FINAL_LIBRARY = 'gklayout'
41 LOCAL_INCLUDES += [
42 '/media/webrtc/trunk/webrtc/modules/video_capture/windows',
43 ]
44

mercurial