Bug 1438961. Make DOM binding bits build in a debug --disable-tests build. r=qdot

This commit is contained in:
Boris Zbarsky 2018-02-26 17:27:23 -05:00
parent 52975bbb6f
commit 933fb5668e
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ SOURCES += [
# rule stated in the test/ directory, but it's the only way this will work.
# Test classes are only built in debug mode, and all tests requiring use of
# them are only run in debug mode.
if CONFIG['MOZ_DEBUG']:
if CONFIG['MOZ_DEBUG'] and CONFIG['ENABLE_TESTS']:
EXPORTS.mozilla.dom += [
"test/TestFunctions.h",
"test/TestInterfaceIterableDouble.h",

View File

@ -1034,7 +1034,7 @@ WEBIDL_FILES += [
# We only expose our prefable test interfaces in debug builds, just to be on
# the safe side.
if CONFIG['MOZ_DEBUG']:
if CONFIG['MOZ_DEBUG'] and CONFIG['ENABLE_TESTS']:
WEBIDL_FILES += ['TestFunctions.webidl',
'TestInterfaceJS.webidl',
'TestInterfaceJSDictionaries.webidl',