2013-09-23 10:12:11 +00:00
|
|
|
# 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.mozilla.net += [
|
|
|
|
'controller/RtspController.h',
|
|
|
|
'controller/RtspControllerChild.h',
|
|
|
|
'controller/RtspControllerParent.h',
|
|
|
|
'controller/RtspMetaData.h',
|
|
|
|
'rtsp/RTSPSource.h',
|
2014-04-02 08:32:26 +00:00
|
|
|
'RtspChannelChild.h',
|
2014-04-03 11:08:34 +00:00
|
|
|
'RtspChannelParent.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'RtspHandler.h',
|
2013-09-23 10:12:11 +00:00
|
|
|
]
|
|
|
|
|
2014-10-08 20:19:14 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-09-23 10:12:11 +00:00
|
|
|
'controller/RtspController.cpp',
|
|
|
|
'controller/RtspControllerChild.cpp',
|
|
|
|
'controller/RtspControllerParent.cpp',
|
|
|
|
'controller/RtspMetaData.cpp',
|
2014-04-02 08:32:26 +00:00
|
|
|
'RtspChannelChild.cpp',
|
2014-04-03 11:08:34 +00:00
|
|
|
'RtspChannelParent.cpp',
|
2013-11-18 07:29:11 +00:00
|
|
|
'RtspHandler.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
# Android sources
|
|
|
|
SOURCES += [
|
2013-09-23 10:12:11 +00:00
|
|
|
'rtsp/AAMRAssembler.cpp',
|
|
|
|
'rtsp/AAVCAssembler.cpp',
|
|
|
|
'rtsp/AH263Assembler.cpp',
|
|
|
|
'rtsp/AMPEG4AudioAssembler.cpp',
|
|
|
|
'rtsp/AMPEG4ElementaryAssembler.cpp',
|
|
|
|
'rtsp/APacketSource.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'rtsp/ARawAudioAssembler.cpp',
|
2013-09-23 10:12:11 +00:00
|
|
|
'rtsp/ARTPAssembler.cpp',
|
|
|
|
'rtsp/ARTPConnection.cpp',
|
|
|
|
'rtsp/ARTPSource.cpp',
|
|
|
|
'rtsp/ARTPWriter.cpp',
|
|
|
|
'rtsp/ARTSPConnection.cpp',
|
|
|
|
'rtsp/ASessionDescription.cpp',
|
|
|
|
'rtsp/RTSPSource.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
2013-11-19 02:47:14 +00:00
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-27 13:55:07 +00:00
|
|
|
|
2013-11-28 14:25:39 +00:00
|
|
|
DEFINES['IMPL_NS_NET'] = True
|
|
|
|
DEFINES['FORCE_PR_LOG'] = True
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../../base/src',
|
|
|
|
'/content/base/src',
|
|
|
|
'controller',
|
|
|
|
'rtsp',
|
|
|
|
]
|
|
|
|
|
2013-11-27 13:55:07 +00:00
|
|
|
for var in ('IMPL_NS_NET', 'FORCE_PR_LOG'):
|
|
|
|
DEFINES[var] = True
|
2014-03-04 02:58:37 +00:00
|
|
|
|
|
|
|
if CONFIG['ANDROID_VERSION'] == '15':
|
|
|
|
CXXFLAGS += ['-I%s/frameworks/base/media/libstagefright/mpeg2ts' % CONFIG['ANDROID_SOURCE']]
|
|
|
|
else:
|
|
|
|
CXXFLAGS += ['-I%s/frameworks/av/media/libstagefright/mpeg2ts' % CONFIG['ANDROID_SOURCE']]
|
|
|
|
|
|
|
|
CXXFLAGS += ['-Wno-multichar']
|