Bug 1510786 - Add configuration header for ppc64 and s390x. r=TD-Linux
authorAlex Chronopoulos <achronop@gmail.com>
Fri, 07 Dec 2018 18:59:56 +0000
changeset 508846 e6e6e269d09dcfb791afd900825b5e1e061efed1
parent 508845 1046da966669ca17863da3d3cc4619ad8ca54652
child 508847 834d7428bc8d134ccbfafc67246a101a30e478e9
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersTD-Linux
bugs1510786
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1510786 - Add configuration header for ppc64 and s390x. r=TD-Linux Differential Revision: https://phabricator.services.mozilla.com/D13403
media/libdav1d/config/other/config.h
media/libdav1d/moz.build
new file mode 100644
--- /dev/null
+++ b/media/libdav1d/config/other/config.h
@@ -0,0 +1,27 @@
+/*
+ * Autogenerated by the Meson build system.
+ * Do not edit, your changes will be lost.
+ */
+
+#pragma once
+
+#define ARCH_AARCH64 0
+
+#define ARCH_ARM 0
+
+#define ARCH_X86 0
+
+#define ARCH_X86_32 0
+
+#define ARCH_X86_64 0
+
+#define CONFIG_10BPC 1
+
+#define CONFIG_8BPC 1
+
+#define HAVE_ASM 0
+
+#define HAVE_POSIX_MEMALIGN 1
+
+#define HAVE_UNISTD_H 1
+
--- a/media/libdav1d/moz.build
+++ b/media/libdav1d/moz.build
@@ -28,16 +28,19 @@ elif CONFIG['CPU_ARCH'] == 'x86_64':
         LOCAL_INCLUDES += ['/media/libdav1d/config/x86_64/']
         EXPORTS.dav1d += ['config/x86_64/config.h']
 elif CONFIG['CPU_ARCH'] == 'arm':
     LOCAL_INCLUDES += ['/media/libdav1d/config/arm/']
     EXPORTS.dav1d += ['config/arm/config.h']
 elif CONFIG['CPU_ARCH'] == 'aarch64':
     LOCAL_INCLUDES += ['/media/libdav1d/config/aarch64/']
     EXPORTS.dav1d += ['config/aarch64/config.h']
+else:
+    LOCAL_INCLUDES += ['/media/libdav1d/config/other/']
+    EXPORTS.dav1d += ['config/other/config.h']
 
 EXPORTS.dav1d += [
     'version.h',
 ]
 
 # entrypoint source files
 SOURCES += [
     '../../third_party/dav1d/src/lib.c',