content/media/directshow/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/media/directshow/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +EXPORTS += [
    1.11 +    'AudioSinkFilter.h',
    1.12 +    'AudioSinkInputPin.h',
    1.13 +    'DirectShowDecoder.h',
    1.14 +    'DirectShowReader.h',
    1.15 +    'DirectShowUtils.h',
    1.16 +]
    1.17 +
    1.18 +UNIFIED_SOURCES += [
    1.19 +    'AudioSinkInputPin.cpp',
    1.20 +    'DirectShowDecoder.cpp',
    1.21 +    'DirectShowReader.cpp',
    1.22 +    'DirectShowUtils.cpp',
    1.23 +    'SampleSink.cpp',
    1.24 +    'SourceFilter.cpp',
    1.25 +]
    1.26 +
    1.27 +SOURCES += [
    1.28 +    'AudioSinkFilter.cpp',
    1.29 +]
    1.30 +
    1.31 +# If WebRTC isn't being built, we need to compile the DirectShow base classes so that
    1.32 +# they're available at link time.
    1.33 +if not CONFIG['MOZ_WEBRTC']:
    1.34 +    SOURCES += [ '%s/%s' % (TOPSRCDIR, p) for p in [
    1.35 +        'media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp',
    1.36 +        'media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp',
    1.37 +        'media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp',
    1.38 +        'media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp',
    1.39 +    ]]
    1.40 +
    1.41 +FAIL_ON_WARNINGS = True
    1.42 +
    1.43 +FINAL_LIBRARY = 'gklayout'
    1.44 +LOCAL_INCLUDES += [
    1.45 +    '/media/webrtc/trunk/webrtc/modules/video_capture/windows',
    1.46 +]
    1.47 +

mercurial