Bug 781498 - Conditionally install TESTING_JS_MODULES; r=glandium

Previously, installation was unconditional. It should be conditional on
ENABLE_TESTS.

--HG--
extra : rebase_source : 8fb11f96f4c776ee13ede2320ecc6b67d7e68971
This commit is contained in:
Gregory Szorc 2012-09-10 11:46:03 -07:00
Родитель 2f044a0ac0
Коммит cf3261c683
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1356,6 +1356,7 @@ endif
# objdir/_tests/modules/. If TESTING_JS_MODULE_DIR is defined, that path
# wlll be appended to the output directory.
ifdef ENABLE_TESTS
ifdef TESTING_JS_MODULES
testmodulesdir = $(DEPTH)/_tests/modules/$(TESTING_JS_MODULE_DIR)
@ -1367,6 +1368,7 @@ TESTING_JS_MODULES_DEST := $(testmodulesdir)
INSTALL_TARGETS += TESTING_JS_MODULES
endif
endif
endif
################################################################################

Просмотреть файл

@ -1356,6 +1356,7 @@ endif
# objdir/_tests/modules/. If TESTING_JS_MODULE_DIR is defined, that path
# wlll be appended to the output directory.
ifdef ENABLE_TESTS
ifdef TESTING_JS_MODULES
testmodulesdir = $(DEPTH)/_tests/modules/$(TESTING_JS_MODULE_DIR)
@ -1367,6 +1368,7 @@ TESTING_JS_MODULES_DEST := $(testmodulesdir)
INSTALL_TARGETS += TESTING_JS_MODULES
endif
endif
endif
################################################################################