content/media/fmp4/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/media/fmp4/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,92 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +EXPORTS += [
    1.11 +    'MP4Decoder.h',
    1.12 +    'MP4Reader.h',
    1.13 +    'PlatformDecoderModule.h',
    1.14 +]
    1.15 +
    1.16 +EXPORTS.mp4_demuxer += [
    1.17 +    'demuxer/aac.h',
    1.18 +    'demuxer/audio_decoder_config.h',
    1.19 +    'demuxer/avc.h',
    1.20 +    'demuxer/basictypes.h',
    1.21 +    'demuxer/bit_reader.h',
    1.22 +    'demuxer/box_definitions.h',
    1.23 +    'demuxer/box_reader.h',
    1.24 +    'demuxer/cenc.h',
    1.25 +    'demuxer/channel_layout.h',
    1.26 +    'demuxer/decrypt_config.h',
    1.27 +    'demuxer/es_descriptor.h',
    1.28 +    'demuxer/fourccs.h',
    1.29 +    'demuxer/mp4_demuxer.h',
    1.30 +    'demuxer/Streams.h',
    1.31 +    'demuxer/track_run_iterator.h',
    1.32 +    'demuxer/video_decoder_config.h',
    1.33 +    'demuxer/video_util.h',
    1.34 +]
    1.35 +
    1.36 +UNIFIED_SOURCES += [
    1.37 +    'BlankDecoderModule.cpp',
    1.38 +    'demuxer/aac.cc',
    1.39 +    'demuxer/audio_decoder_config.cc',
    1.40 +    'demuxer/avc.cc',
    1.41 +    'demuxer/bit_reader.cc',
    1.42 +    'demuxer/box_definitions.cc',
    1.43 +    'demuxer/box_reader.cc',
    1.44 +    'demuxer/cenc.cc',
    1.45 +    'demuxer/channel_layout.cc',
    1.46 +    'demuxer/decrypt_config.cc',
    1.47 +    'demuxer/es_descriptor.cc',
    1.48 +    'demuxer/mp4_demuxer.cc',
    1.49 +    'demuxer/track_run_iterator.cc',
    1.50 +    'demuxer/video_decoder_config.cc',
    1.51 +    'demuxer/video_util.cc',
    1.52 +    'MP4Decoder.cpp',
    1.53 +    'MP4Reader.cpp',
    1.54 +    'PlatformDecoderModule.cpp',
    1.55 +]
    1.56 +
    1.57 +if CONFIG['MOZ_WMF']:
    1.58 +  EXPORTS += [
    1.59 +      'wmf/MFTDecoder.h',
    1.60 +      'wmf/WMFAudioOutputSource.h',
    1.61 +      'wmf/WMFDecoderModule.h',
    1.62 +      'wmf/WMFMediaDataDecoder.h',
    1.63 +      'wmf/WMFVideoOutputSource.h',
    1.64 +  ]
    1.65 +  UNIFIED_SOURCES += [
    1.66 +      'wmf/MFTDecoder.cpp',
    1.67 +      'wmf/WMFAudioOutputSource.cpp',
    1.68 +      'wmf/WMFDecoderModule.cpp',
    1.69 +      'wmf/WMFMediaDataDecoder.cpp',
    1.70 +      'wmf/WMFVideoOutputSource.cpp',
    1.71 +  ]
    1.72 +
    1.73 +if CONFIG['MOZ_FFMPEG']:
    1.74 +  EXPORTS += [
    1.75 +      'ffmpeg/FFmpegAACDecoder.h',
    1.76 +      'ffmpeg/FFmpegDataDecoder.h',
    1.77 +      'ffmpeg/FFmpegDecoderModule.h',
    1.78 +      'ffmpeg/FFmpegFunctionList.h',
    1.79 +      'ffmpeg/FFmpegH264Decoder.h',
    1.80 +      'ffmpeg/FFmpegRuntimeLinker.h',
    1.81 +  ]
    1.82 +  UNIFIED_SOURCES += [
    1.83 +      'ffmpeg/FFmpegAACDecoder.cpp',
    1.84 +      'ffmpeg/FFmpegDataDecoder.cpp',
    1.85 +      'ffmpeg/FFmpegDecoderModule.cpp',
    1.86 +      'ffmpeg/FFmpegH264Decoder.cpp',
    1.87 +      'ffmpeg/FFmpegRuntimeLinker.cpp',
    1.88 +  ]
    1.89 +  LOCAL_INCLUDES += [
    1.90 +      'ffmpeg/include',
    1.91 +  ]
    1.92 +
    1.93 +FINAL_LIBRARY = 'gklayout'
    1.94 +
    1.95 +FAIL_ON_WARNINGS = True

mercurial