1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/protocol/rtsp/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,72 @@ 1.4 +# vim: set filetype=python: 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +EXPORTS.mozilla.net += [ 1.10 + 'controller/RtspController.h', 1.11 + 'controller/RtspControllerChild.h', 1.12 + 'controller/RtspControllerParent.h', 1.13 + 'controller/RtspMetaData.h', 1.14 + 'rtsp/RTSPSource.h', 1.15 + 'RtspChannelChild.h', 1.16 + 'RtspChannelParent.h', 1.17 + 'RtspHandler.h', 1.18 +] 1.19 + 1.20 +# These files cannot be built in unified mode because they force NSPR logging. 1.21 +SOURCES += [ 1.22 + 'controller/RtspController.cpp', 1.23 + 'controller/RtspControllerChild.cpp', 1.24 + 'controller/RtspControllerParent.cpp', 1.25 + 'controller/RtspMetaData.cpp', 1.26 + 'RtspChannelChild.cpp', 1.27 + 'RtspChannelParent.cpp', 1.28 + 'RtspHandler.cpp', 1.29 +] 1.30 + 1.31 +# Android sources 1.32 +SOURCES += [ 1.33 + 'rtsp/AAMRAssembler.cpp', 1.34 + 'rtsp/AAVCAssembler.cpp', 1.35 + 'rtsp/AH263Assembler.cpp', 1.36 + 'rtsp/AMPEG4AudioAssembler.cpp', 1.37 + 'rtsp/AMPEG4ElementaryAssembler.cpp', 1.38 + 'rtsp/APacketSource.cpp', 1.39 + 'rtsp/ARawAudioAssembler.cpp', 1.40 + 'rtsp/ARTPAssembler.cpp', 1.41 + 'rtsp/ARTPConnection.cpp', 1.42 + 'rtsp/ARTPSource.cpp', 1.43 + 'rtsp/ARTPWriter.cpp', 1.44 + 'rtsp/ARTSPConnection.cpp', 1.45 + 'rtsp/ASessionDescription.cpp', 1.46 + 'rtsp/RTSPSource.cpp', 1.47 +] 1.48 + 1.49 +FAIL_ON_WARNINGS = True 1.50 + 1.51 +MSVC_ENABLE_PGO = True 1.52 + 1.53 +include('/ipc/chromium/chromium-config.mozbuild') 1.54 + 1.55 +FINAL_LIBRARY = 'necko' 1.56 + 1.57 +DEFINES['IMPL_NS_NET'] = True 1.58 +DEFINES['FORCE_PR_LOG'] = True 1.59 + 1.60 +LOCAL_INCLUDES += [ 1.61 + '../../base/src', 1.62 + '/content/base/src', 1.63 + 'controller', 1.64 + 'rtsp', 1.65 +] 1.66 + 1.67 +for var in ('IMPL_NS_NET', 'FORCE_PR_LOG'): 1.68 + DEFINES[var] = True 1.69 + 1.70 +if CONFIG['ANDROID_VERSION'] == '15': 1.71 + CXXFLAGS += ['-I%s/frameworks/base/media/libstagefright/mpeg2ts' % CONFIG['ANDROID_SOURCE']] 1.72 +else: 1.73 + CXXFLAGS += ['-I%s/frameworks/av/media/libstagefright/mpeg2ts' % CONFIG['ANDROID_SOURCE']] 1.74 + 1.75 +CXXFLAGS += ['-Wno-multichar']