summaryrefslogtreecommitdiff
path: root/dom/media/platforms/ffmpeg/ffmpeg58/moz.build
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-04-28 13:52:30 -0500
committertrav90 <travawine@protonmail.ch>2018-04-28 13:52:30 -0500
commit3e065213636a1f0f26a40e832bdd18ce1c715f1d (patch)
treec53cf6ddd70cb2e292d34dde7fb7ab055d5ecc87 /dom/media/platforms/ffmpeg/ffmpeg58/moz.build
parent2d35714bd67c6090375bc0f6e1e2deee1e95e4a6 (diff)
downloadaura-central-3e065213636a1f0f26a40e832bdd18ce1c715f1d.tar.gz
Import FFmpeg 4.0 header files
Diffstat (limited to 'dom/media/platforms/ffmpeg/ffmpeg58/moz.build')
-rw-r--r--dom/media/platforms/ffmpeg/ffmpeg58/moz.build25
1 files changed, 25 insertions, 0 deletions
diff --git a/dom/media/platforms/ffmpeg/ffmpeg58/moz.build b/dom/media/platforms/ffmpeg/ffmpeg58/moz.build
new file mode 100644
index 000000000..6bd5db8d7
--- /dev/null
+++ b/dom/media/platforms/ffmpeg/ffmpeg58/moz.build
@@ -0,0 +1,25 @@
+# -*- Mode: python; 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/.
+
+UNIFIED_SOURCES += [
+ '../FFmpegAudioDecoder.cpp',
+ '../FFmpegDataDecoder.cpp',
+ '../FFmpegDecoderModule.cpp',
+ '../FFmpegVideoDecoder.cpp',
+]
+LOCAL_INCLUDES += [
+ '..',
+ 'include',
+]
+
+if CONFIG['GNU_CXX']:
+ CXXFLAGS += [ '-Wno-deprecated-declarations' ]
+if CONFIG['CLANG_CXX']:
+ CXXFLAGS += [
+ '-Wno-unknown-attributes',
+ ]
+
+FINAL_LIBRARY = 'xul'