michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS += [ michael@0: 'MP4Decoder.h', michael@0: 'MP4Reader.h', michael@0: 'PlatformDecoderModule.h', michael@0: ] michael@0: michael@0: EXPORTS.mp4_demuxer += [ michael@0: 'demuxer/aac.h', michael@0: 'demuxer/audio_decoder_config.h', michael@0: 'demuxer/avc.h', michael@0: 'demuxer/basictypes.h', michael@0: 'demuxer/bit_reader.h', michael@0: 'demuxer/box_definitions.h', michael@0: 'demuxer/box_reader.h', michael@0: 'demuxer/cenc.h', michael@0: 'demuxer/channel_layout.h', michael@0: 'demuxer/decrypt_config.h', michael@0: 'demuxer/es_descriptor.h', michael@0: 'demuxer/fourccs.h', michael@0: 'demuxer/mp4_demuxer.h', michael@0: 'demuxer/Streams.h', michael@0: 'demuxer/track_run_iterator.h', michael@0: 'demuxer/video_decoder_config.h', michael@0: 'demuxer/video_util.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'BlankDecoderModule.cpp', michael@0: 'demuxer/aac.cc', michael@0: 'demuxer/audio_decoder_config.cc', michael@0: 'demuxer/avc.cc', michael@0: 'demuxer/bit_reader.cc', michael@0: 'demuxer/box_definitions.cc', michael@0: 'demuxer/box_reader.cc', michael@0: 'demuxer/cenc.cc', michael@0: 'demuxer/channel_layout.cc', michael@0: 'demuxer/decrypt_config.cc', michael@0: 'demuxer/es_descriptor.cc', michael@0: 'demuxer/mp4_demuxer.cc', michael@0: 'demuxer/track_run_iterator.cc', michael@0: 'demuxer/video_decoder_config.cc', michael@0: 'demuxer/video_util.cc', michael@0: 'MP4Decoder.cpp', michael@0: 'MP4Reader.cpp', michael@0: 'PlatformDecoderModule.cpp', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WMF']: michael@0: EXPORTS += [ michael@0: 'wmf/MFTDecoder.h', michael@0: 'wmf/WMFAudioOutputSource.h', michael@0: 'wmf/WMFDecoderModule.h', michael@0: 'wmf/WMFMediaDataDecoder.h', michael@0: 'wmf/WMFVideoOutputSource.h', michael@0: ] michael@0: UNIFIED_SOURCES += [ michael@0: 'wmf/MFTDecoder.cpp', michael@0: 'wmf/WMFAudioOutputSource.cpp', michael@0: 'wmf/WMFDecoderModule.cpp', michael@0: 'wmf/WMFMediaDataDecoder.cpp', michael@0: 'wmf/WMFVideoOutputSource.cpp', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_FFMPEG']: michael@0: EXPORTS += [ michael@0: 'ffmpeg/FFmpegAACDecoder.h', michael@0: 'ffmpeg/FFmpegDataDecoder.h', michael@0: 'ffmpeg/FFmpegDecoderModule.h', michael@0: 'ffmpeg/FFmpegFunctionList.h', michael@0: 'ffmpeg/FFmpegH264Decoder.h', michael@0: 'ffmpeg/FFmpegRuntimeLinker.h', michael@0: ] michael@0: UNIFIED_SOURCES += [ michael@0: 'ffmpeg/FFmpegAACDecoder.cpp', michael@0: 'ffmpeg/FFmpegDataDecoder.cpp', michael@0: 'ffmpeg/FFmpegDecoderModule.cpp', michael@0: 'ffmpeg/FFmpegH264Decoder.cpp', michael@0: 'ffmpeg/FFmpegRuntimeLinker.cpp', michael@0: ] michael@0: LOCAL_INCLUDES += [ michael@0: 'ffmpeg/include', michael@0: ] michael@0: michael@0: FINAL_LIBRARY = 'gklayout' michael@0: michael@0: FAIL_ON_WARNINGS = True