content/media/directshow/moz.build

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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/.
     7 EXPORTS += [
     8     'AudioSinkFilter.h',
     9     'AudioSinkInputPin.h',
    10     'DirectShowDecoder.h',
    11     'DirectShowReader.h',
    12     'DirectShowUtils.h',
    13 ]
    15 UNIFIED_SOURCES += [
    16     'AudioSinkInputPin.cpp',
    17     'DirectShowDecoder.cpp',
    18     'DirectShowReader.cpp',
    19     'DirectShowUtils.cpp',
    20     'SampleSink.cpp',
    21     'SourceFilter.cpp',
    22 ]
    24 SOURCES += [
    25     'AudioSinkFilter.cpp',
    26 ]
    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     ]]
    38 FAIL_ON_WARNINGS = True
    40 FINAL_LIBRARY = 'gklayout'
    41 LOCAL_INCLUDES += [
    42     '/media/webrtc/trunk/webrtc/modules/video_capture/windows',
    43 ]

mercurial