2013-11-20 13:04:32 -08:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
|
|
# 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 += [
|
2014-08-05 00:56:04 -07:00
|
|
|
'eme/EMEAACDecoder.h',
|
2014-07-29 23:53:34 -07:00
|
|
|
'eme/EMEDecoderModule.h',
|
2014-08-05 00:56:04 -07:00
|
|
|
'eme/EMEH264Decoder.h',
|
2013-11-20 13:04:33 -08:00
|
|
|
'MP4Decoder.h',
|
|
|
|
'MP4Reader.h',
|
|
|
|
'PlatformDecoderModule.h',
|
2013-11-20 13:04:32 -08:00
|
|
|
]
|
|
|
|
|
2014-05-12 21:18:31 -07:00
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'BlankDecoderModule.cpp',
|
2014-08-05 00:56:04 -07:00
|
|
|
'eme/EMEAACDecoder.cpp',
|
2014-07-29 23:53:34 -07:00
|
|
|
'eme/EMEDecoderModule.cpp',
|
2014-08-05 00:56:04 -07:00
|
|
|
'eme/EMEH264Decoder.cpp',
|
2014-05-21 19:42:39 -07:00
|
|
|
'PlatformDecoderModule.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
SOURCES += [
|
2013-11-20 13:04:33 -08:00
|
|
|
'MP4Decoder.cpp',
|
|
|
|
'MP4Reader.cpp',
|
2013-11-20 13:04:32 -08:00
|
|
|
]
|
|
|
|
|
2013-11-22 07:36:02 -08:00
|
|
|
if CONFIG['MOZ_WMF']:
|
2014-07-29 23:53:34 -07:00
|
|
|
DIRS += [ 'wmf' ];
|
2013-11-22 07:36:02 -08:00
|
|
|
|
2014-03-20 23:35:14 -07:00
|
|
|
if CONFIG['MOZ_FFMPEG']:
|
2014-07-29 23:53:34 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'ffmpeg/FFmpegRuntimeLinker.h',
|
|
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'ffmpeg/FFmpegLog.cpp',
|
|
|
|
'ffmpeg/FFmpegRuntimeLinker.cpp',
|
|
|
|
]
|
|
|
|
DIRS += [
|
|
|
|
'ffmpeg/libav53',
|
|
|
|
'ffmpeg/libav54',
|
|
|
|
'ffmpeg/libav55',
|
|
|
|
]
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'ffmpeg',
|
|
|
|
]
|
2014-03-20 23:35:14 -07:00
|
|
|
|
2014-07-24 13:47:00 -07:00
|
|
|
if CONFIG['MOZ_APPLEMEDIA']:
|
|
|
|
EXPORTS += [
|
|
|
|
'apple/AppleDecoderModule.h',
|
|
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
2014-07-24 16:30:00 -07:00
|
|
|
'apple/AppleATDecoder.cpp',
|
2014-07-24 13:47:00 -07:00
|
|
|
'apple/AppleCMLinker.cpp',
|
|
|
|
'apple/AppleDecoderModule.cpp',
|
|
|
|
'apple/AppleUtils.cpp',
|
|
|
|
'apple/AppleVTDecoder.cpp',
|
|
|
|
'apple/AppleVTLinker.cpp',
|
|
|
|
]
|
2014-08-05 15:25:33 -07:00
|
|
|
OS_LIBS += [
|
2014-07-24 16:30:00 -07:00
|
|
|
'-framework AudioToolbox',
|
|
|
|
]
|
2014-07-24 13:47:00 -07:00
|
|
|
|
2014-08-05 00:56:04 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base',
|
|
|
|
]
|
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-20 13:04:32 -08:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
2014-07-31 07:41:48 -07:00
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
DEFINES['NOMINMAX'] = True
|