netwerk/protocol/rtsp/moz.build

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 # vim: set filetype=python:
michael@0 2 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5
michael@0 6 EXPORTS.mozilla.net += [
michael@0 7 'controller/RtspController.h',
michael@0 8 'controller/RtspControllerChild.h',
michael@0 9 'controller/RtspControllerParent.h',
michael@0 10 'controller/RtspMetaData.h',
michael@0 11 'rtsp/RTSPSource.h',
michael@0 12 'RtspChannelChild.h',
michael@0 13 'RtspChannelParent.h',
michael@0 14 'RtspHandler.h',
michael@0 15 ]
michael@0 16
michael@0 17 # These files cannot be built in unified mode because they force NSPR logging.
michael@0 18 SOURCES += [
michael@0 19 'controller/RtspController.cpp',
michael@0 20 'controller/RtspControllerChild.cpp',
michael@0 21 'controller/RtspControllerParent.cpp',
michael@0 22 'controller/RtspMetaData.cpp',
michael@0 23 'RtspChannelChild.cpp',
michael@0 24 'RtspChannelParent.cpp',
michael@0 25 'RtspHandler.cpp',
michael@0 26 ]
michael@0 27
michael@0 28 # Android sources
michael@0 29 SOURCES += [
michael@0 30 'rtsp/AAMRAssembler.cpp',
michael@0 31 'rtsp/AAVCAssembler.cpp',
michael@0 32 'rtsp/AH263Assembler.cpp',
michael@0 33 'rtsp/AMPEG4AudioAssembler.cpp',
michael@0 34 'rtsp/AMPEG4ElementaryAssembler.cpp',
michael@0 35 'rtsp/APacketSource.cpp',
michael@0 36 'rtsp/ARawAudioAssembler.cpp',
michael@0 37 'rtsp/ARTPAssembler.cpp',
michael@0 38 'rtsp/ARTPConnection.cpp',
michael@0 39 'rtsp/ARTPSource.cpp',
michael@0 40 'rtsp/ARTPWriter.cpp',
michael@0 41 'rtsp/ARTSPConnection.cpp',
michael@0 42 'rtsp/ASessionDescription.cpp',
michael@0 43 'rtsp/RTSPSource.cpp',
michael@0 44 ]
michael@0 45
michael@0 46 FAIL_ON_WARNINGS = True
michael@0 47
michael@0 48 MSVC_ENABLE_PGO = True
michael@0 49
michael@0 50 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 51
michael@0 52 FINAL_LIBRARY = 'necko'
michael@0 53
michael@0 54 DEFINES['IMPL_NS_NET'] = True
michael@0 55 DEFINES['FORCE_PR_LOG'] = True
michael@0 56
michael@0 57 LOCAL_INCLUDES += [
michael@0 58 '../../base/src',
michael@0 59 '/content/base/src',
michael@0 60 'controller',
michael@0 61 'rtsp',
michael@0 62 ]
michael@0 63
michael@0 64 for var in ('IMPL_NS_NET', 'FORCE_PR_LOG'):
michael@0 65 DEFINES[var] = True
michael@0 66
michael@0 67 if CONFIG['ANDROID_VERSION'] == '15':
michael@0 68 CXXFLAGS += ['-I%s/frameworks/base/media/libstagefright/mpeg2ts' % CONFIG['ANDROID_SOURCE']]
michael@0 69 else:
michael@0 70 CXXFLAGS += ['-I%s/frameworks/av/media/libstagefright/mpeg2ts' % CONFIG['ANDROID_SOURCE']]
michael@0 71
michael@0 72 CXXFLAGS += ['-Wno-multichar']

mercurial