Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 EXPORTS += [
8 'MP4Decoder.h',
9 'MP4Reader.h',
10 'PlatformDecoderModule.h',
11 ]
13 EXPORTS.mp4_demuxer += [
14 'demuxer/aac.h',
15 'demuxer/audio_decoder_config.h',
16 'demuxer/avc.h',
17 'demuxer/basictypes.h',
18 'demuxer/bit_reader.h',
19 'demuxer/box_definitions.h',
20 'demuxer/box_reader.h',
21 'demuxer/cenc.h',
22 'demuxer/channel_layout.h',
23 'demuxer/decrypt_config.h',
24 'demuxer/es_descriptor.h',
25 'demuxer/fourccs.h',
26 'demuxer/mp4_demuxer.h',
27 'demuxer/Streams.h',
28 'demuxer/track_run_iterator.h',
29 'demuxer/video_decoder_config.h',
30 'demuxer/video_util.h',
31 ]
33 UNIFIED_SOURCES += [
34 'BlankDecoderModule.cpp',
35 'demuxer/aac.cc',
36 'demuxer/audio_decoder_config.cc',
37 'demuxer/avc.cc',
38 'demuxer/bit_reader.cc',
39 'demuxer/box_definitions.cc',
40 'demuxer/box_reader.cc',
41 'demuxer/cenc.cc',
42 'demuxer/channel_layout.cc',
43 'demuxer/decrypt_config.cc',
44 'demuxer/es_descriptor.cc',
45 'demuxer/mp4_demuxer.cc',
46 'demuxer/track_run_iterator.cc',
47 'demuxer/video_decoder_config.cc',
48 'demuxer/video_util.cc',
49 'MP4Decoder.cpp',
50 'MP4Reader.cpp',
51 'PlatformDecoderModule.cpp',
52 ]
54 if CONFIG['MOZ_WMF']:
55 EXPORTS += [
56 'wmf/MFTDecoder.h',
57 'wmf/WMFAudioOutputSource.h',
58 'wmf/WMFDecoderModule.h',
59 'wmf/WMFMediaDataDecoder.h',
60 'wmf/WMFVideoOutputSource.h',
61 ]
62 UNIFIED_SOURCES += [
63 'wmf/MFTDecoder.cpp',
64 'wmf/WMFAudioOutputSource.cpp',
65 'wmf/WMFDecoderModule.cpp',
66 'wmf/WMFMediaDataDecoder.cpp',
67 'wmf/WMFVideoOutputSource.cpp',
68 ]
70 if CONFIG['MOZ_FFMPEG']:
71 EXPORTS += [
72 'ffmpeg/FFmpegAACDecoder.h',
73 'ffmpeg/FFmpegDataDecoder.h',
74 'ffmpeg/FFmpegDecoderModule.h',
75 'ffmpeg/FFmpegFunctionList.h',
76 'ffmpeg/FFmpegH264Decoder.h',
77 'ffmpeg/FFmpegRuntimeLinker.h',
78 ]
79 UNIFIED_SOURCES += [
80 'ffmpeg/FFmpegAACDecoder.cpp',
81 'ffmpeg/FFmpegDataDecoder.cpp',
82 'ffmpeg/FFmpegDecoderModule.cpp',
83 'ffmpeg/FFmpegH264Decoder.cpp',
84 'ffmpeg/FFmpegRuntimeLinker.cpp',
85 ]
86 LOCAL_INCLUDES += [
87 'ffmpeg/include',
88 ]
90 FINAL_LIBRARY = 'gklayout'
92 FAIL_ON_WARNINGS = True