Work around binutils assertion on mips
authorMike Hommey <mh@glandium.org>
Sun, 2 Nov 2014 01:26:21 +0000 (10:26 +0900)
committerMike Hommey <glandium@debian.org>
Sun, 14 Feb 2016 09:25:51 +0000 (09:25 +0000)
Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Work-around-binutils-assertion-on-mips.patch

media/libcubeb/tests/moz.build

index 4088f7c1259c93ca321b1ff7529f3f62fd2ab5ac..89410b9870e4f8865f03fe04eb65ba0ea6e6ff1f 100644 (file)
@@ -4,16 +4,17 @@
 # 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/.
 
-GeckoCppUnitTests([
-  'test_tone'
-])
+if CONFIG['CPU_ARCH'] != 'mips':
+    GeckoCppUnitTests([
+      'test_tone'
+    ])
 
-if CONFIG['OS_TARGET'] != 'Android':
-  GeckoCppUnitTests([
-    'test_audio',
-    'test_latency',
-    'test_sanity'
-  ])
+    if CONFIG['OS_TARGET'] != 'Android':
+      GeckoCppUnitTests([
+        'test_audio',
+        'test_latency',
+        'test_sanity'
+      ])
 
 LOCAL_INCLUDES += [
     '../include'