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