summaryrefslogtreecommitdiffstats
path: root/dom/media/platforms/ffmpeg/ffmpeg58/moz.build
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-05-03 07:10:28 +0200
committerGitHub <noreply@github.com>2018-05-03 07:10:28 +0200
commit20532e13937ab5fc8efcb2bfc4c0070dace40cd1 (patch)
tree487982dc05c566582b484cbea7dacec3f8d87a6b /dom/media/platforms/ffmpeg/ffmpeg58/moz.build
parentb1728772a796834e7bd9e6707e8855bee49b5368 (diff)
parent29c293b100e046eaf82ceadbf676c0226b0e9e82 (diff)
downloadUXP-20532e13937ab5fc8efcb2bfc4c0070dace40cd1.tar
UXP-20532e13937ab5fc8efcb2bfc4c0070dace40cd1.tar.gz
UXP-20532e13937ab5fc8efcb2bfc4c0070dace40cd1.tar.lz
UXP-20532e13937ab5fc8efcb2bfc4c0070dace40cd1.tar.xz
UXP-20532e13937ab5fc8efcb2bfc4c0070dace40cd1.zip
Merge pull request #322 from trav90/ffmpeg-work
Add support for FFmpeg 4.0/libavcodec 58
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'