Bug 973306 - Don't build JIT tests that depend on Ion with --disable-ion.
authorJan Beich <jbeich@tormail.org>
Mon, 17 Feb 2014 02:57:13 -0800
changeset 169121 0a69d9510a54b59b0b958c889669ec0a2ad37d1f
parent 169096 8112ba0e9eb62bd6e4a280828a29b07cd09d679b
child 169122 b431599b4e684185fec5b58bc5182025d63ef965
push id26233
push userphilringnalda@gmail.com
push dateMon, 17 Feb 2014 23:08:57 +0000
treeherdermozilla-central@4f9f58d41eac [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs973306
milestone30.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 973306 - Don't build JIT tests that depend on Ion with --disable-ion.
js/src/jsapi-tests/moz.build
--- a/js/src/jsapi-tests/moz.build
+++ b/js/src/jsapi-tests/moz.build
@@ -37,17 +37,16 @@ UNIFIED_SOURCES += [
     'testGCOutOfMemory.cpp',
     'testGCStoreBufferRemoval.cpp',
     'testHashTable.cpp',
     'testHashTableInit.cpp',
     'testIndexToString.cpp',
     'testIntern.cpp',
     'testIntString.cpp',
     'testIntTypesABI.cpp',
-    'testJitRValueAlloc.cpp',
     'testJSEvaluateScript.cpp',
     'testLookup.cpp',
     'testLooselyEqual.cpp',
     'testNewObject.cpp',
     'testNullRoot.cpp',
     'testObjectEmulatingUndefined.cpp',
     'testOOM.cpp',
     'testOps.cpp',
@@ -68,12 +67,17 @@ UNIFIED_SOURCES += [
     'testStructuredClone.cpp',
     'testToIntWidth.cpp',
     'testTrap.cpp',
     'testTypedArrays.cpp',
     'testUTF8.cpp',
     'testXDR.cpp',
 ]
 
+if CONFIG['ENABLE_ION']:
+    UNIFIED_SOURCES += [
+        'testJitRValueAlloc.cpp',
+    ]
+
 DEFINES['EXPORT_JS_API'] = True
 # Building against js_static requires that we declare mfbt sybols "exported"
 # on its behalf.
 DEFINES['IMPL_MFBT'] = True