Bug 973306 - Don't build JIT tests that depend on Ion with --disable-ion.

This commit is contained in:
Jan Beich 2014-02-17 02:57:13 -08:00
parent 2f66ba6147
commit 1a47463712

View File

@ -42,7 +42,6 @@ UNIFIED_SOURCES += [
'testIntern.cpp',
'testIntString.cpp',
'testIntTypesABI.cpp',
'testJitRValueAlloc.cpp',
'testJSEvaluateScript.cpp',
'testLookup.cpp',
'testLooselyEqual.cpp',
@ -73,6 +72,11 @@ UNIFIED_SOURCES += [
'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.