2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:19 +04: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/.
|
|
|
|
|
2013-05-17 14:50:58 +04:00
|
|
|
PARALLEL_DIRS += ['encoder']
|
|
|
|
|
2013-06-21 07:14:42 +04:00
|
|
|
PARALLEL_DIRS += ['mediasource']
|
|
|
|
|
2013-02-26 00:47:19 +04:00
|
|
|
PARALLEL_DIRS += ['webaudio']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_RAW']:
|
|
|
|
PARALLEL_DIRS += ['raw']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_OGG']:
|
|
|
|
PARALLEL_DIRS += ['ogg']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WAVE']:
|
|
|
|
PARALLEL_DIRS += ['wave']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WEBM']:
|
|
|
|
PARALLEL_DIRS += ['webm']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_GSTREAMER']:
|
|
|
|
PARALLEL_DIRS += ['gstreamer']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_DASH']:
|
|
|
|
PARALLEL_DIRS += ['dash']
|
|
|
|
|
2013-08-13 08:49:25 +04:00
|
|
|
if CONFIG['MOZ_DIRECTSHOW']:
|
|
|
|
PARALLEL_DIRS += ['directshow']
|
|
|
|
|
2013-02-26 00:47:19 +04:00
|
|
|
if CONFIG['MOZ_MEDIA_PLUGINS']:
|
|
|
|
PARALLEL_DIRS += ['plugins']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WMF']:
|
|
|
|
PARALLEL_DIRS += ['wmf']
|
|
|
|
|
|
|
|
PARALLEL_DIRS += ['webrtc']
|
|
|
|
|
2013-05-03 01:21:22 +04:00
|
|
|
if CONFIG['MOZ_OMX_DECODER']:
|
2013-02-26 00:47:19 +04:00
|
|
|
PARALLEL_DIRS += ['omx']
|
2013-06-10 16:22:05 +04:00
|
|
|
PARALLEL_DIRS += ['omx/mediaresourcemanager']
|
2013-02-26 00:47:19 +04:00
|
|
|
|
2013-08-20 20:24:04 +04:00
|
|
|
PARALLEL_DIRS += ['webspeech']
|
2013-03-28 01:08:17 +04:00
|
|
|
|
2013-02-26 00:47:19 +04:00
|
|
|
TEST_DIRS += ['test']
|
|
|
|
|
2013-03-19 22:47:00 +04:00
|
|
|
MODULE = 'content'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'AbstractMediaDecoder.h',
|
|
|
|
'AudioAvailableEventManager.h',
|
|
|
|
'AudioChannelFormat.h',
|
|
|
|
'AudioEventTimeline.h',
|
|
|
|
'AudioNodeEngine.h',
|
2013-07-24 15:29:39 +04:00
|
|
|
'AudioNodeExternalInputStream.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'AudioNodeStream.h',
|
|
|
|
'AudioSampleFormat.h',
|
|
|
|
'AudioSegment.h',
|
|
|
|
'AudioStream.h',
|
2013-09-04 07:08:11 +04:00
|
|
|
'BufferDecoder.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'BufferMediaResource.h',
|
|
|
|
'DOMMediaStream.h',
|
|
|
|
'DecoderTraits.h',
|
2013-07-05 05:50:25 +04:00
|
|
|
'EncodedBufferCache.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'FileBlockCache.h',
|
2013-09-09 01:47:29 +04:00
|
|
|
'MP3FrameParser.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'MediaCache.h',
|
|
|
|
'MediaDecoder.h',
|
|
|
|
'MediaDecoderOwner.h',
|
|
|
|
'MediaDecoderReader.h',
|
|
|
|
'MediaDecoderStateMachine.h',
|
|
|
|
'MediaMetadataManager.h',
|
2013-07-05 05:50:25 +04:00
|
|
|
'MediaRecorder.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'MediaResource.h',
|
|
|
|
'MediaSegment.h',
|
|
|
|
'MediaStreamGraph.h',
|
|
|
|
'SharedBuffer.h',
|
|
|
|
'StreamBuffer.h',
|
|
|
|
'TimeVarying.h',
|
2013-05-21 23:17:47 +04:00
|
|
|
'TrackUnionStream.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'VideoFrameContainer.h',
|
|
|
|
'VideoSegment.h',
|
|
|
|
'VideoUtils.h',
|
|
|
|
'VorbisUtils.h',
|
|
|
|
]
|
|
|
|
|
2013-03-27 05:32:51 +04:00
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'AudioStreamTrack.h',
|
|
|
|
'MediaStreamTrack.h',
|
2013-05-21 20:14:00 +04:00
|
|
|
'TextTrack.h',
|
|
|
|
'TextTrackCue.h',
|
|
|
|
'TextTrackCueList.h',
|
|
|
|
'TextTrackList.h',
|
2013-06-21 07:14:18 +04:00
|
|
|
'VideoPlaybackQuality.h',
|
2013-03-27 05:32:51 +04:00
|
|
|
'VideoStreamTrack.h',
|
|
|
|
]
|
2013-04-24 01:54:15 +04:00
|
|
|
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'AudioAvailableEventManager.cpp',
|
|
|
|
'AudioChannelFormat.cpp',
|
|
|
|
'AudioNodeEngine.cpp',
|
2013-07-24 15:29:39 +04:00
|
|
|
'AudioNodeExternalInputStream.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'AudioNodeStream.cpp',
|
|
|
|
'AudioSegment.cpp',
|
|
|
|
'AudioStream.cpp',
|
|
|
|
'AudioStreamTrack.cpp',
|
2013-09-04 07:08:11 +04:00
|
|
|
'BufferDecoder.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'DOMMediaStream.cpp',
|
|
|
|
'DecoderTraits.cpp',
|
2013-07-05 05:50:25 +04:00
|
|
|
'EncodedBufferCache.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'FileBlockCache.cpp',
|
2013-09-09 01:47:29 +04:00
|
|
|
'MP3FrameParser.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'MediaCache.cpp',
|
|
|
|
'MediaDecoder.cpp',
|
|
|
|
'MediaDecoderReader.cpp',
|
|
|
|
'MediaDecoderStateMachine.cpp',
|
2013-07-05 05:50:25 +04:00
|
|
|
'MediaRecorder.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'MediaResource.cpp',
|
|
|
|
'MediaStreamGraph.cpp',
|
|
|
|
'MediaStreamTrack.cpp',
|
|
|
|
'StreamBuffer.cpp',
|
|
|
|
'TextTrack.cpp',
|
|
|
|
'TextTrackCue.cpp',
|
|
|
|
'TextTrackCueList.cpp',
|
|
|
|
'TextTrackList.cpp',
|
|
|
|
'VideoFrameContainer.cpp',
|
2013-06-21 07:14:18 +04:00
|
|
|
'VideoPlaybackQuality.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'VideoSegment.cpp',
|
|
|
|
'VideoStreamTrack.cpp',
|
|
|
|
'VideoUtils.cpp',
|
2013-06-10 19:30:00 +04:00
|
|
|
'WebVTTLoadListener.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-08-13 11:39:42 +04:00
|
|
|
|
2013-08-22 10:55:59 +04:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-13 11:39:42 +04:00
|
|
|
if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['BUILD_ARM_NEON']:
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'AudioNodeEngineNEON.cpp',
|
|
|
|
]
|
2013-08-22 10:55:59 +04:00
|
|
|
|
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|
2013-08-22 10:56:01 +04:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-08-15 17:02:09 +04:00
|
|
|
LIBRARY_NAME = 'gkconmedia_s'
|
|
|
|
|