2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# 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/.
|
2012-02-24 13:29:42 -08:00
|
|
|
|
2013-10-16 15:55:16 -07:00
|
|
|
TESTROOT = $(abspath $(DEPTH))/_tests/xpcshell/$(relativesrcdir)
|
2012-02-24 13:29:42 -08:00
|
|
|
|
|
|
|
DEFINES += -DBIN_SUFFIX=$(BIN_SUFFIX)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
libs:: unit/head_libmar.js.in
|
2013-11-08 17:35:44 -08:00
|
|
|
$(call py_action,preprocessor,-Fsubstitution $(DEFINES) $(ACDEFINES) $^ -o $(TESTROOT)/unit/head_libmar.js)
|
2012-02-24 13:29:42 -08:00
|
|
|
|
|
|
|
ifneq ($(OS_TARGET),Android)
|
|
|
|
ifndef MOZ_PROFILE_GENERATE
|
|
|
|
libs::
|
|
|
|
$(INSTALL) ../tool/signmar$(BIN_SUFFIX) $(TESTROOT)/unit
|
|
|
|
$(INSTALL) $(DEPTH)/dist/bin/$(DLL_PREFIX)nss3$(DLL_SUFFIX) $(TESTROOT)/unit
|
2013-03-16 23:53:39 -07:00
|
|
|
ifndef MOZ_FOLD_LIBS
|
2012-02-24 13:29:42 -08:00
|
|
|
$(INSTALL) $(DEPTH)/dist/bin/$(DLL_PREFIX)nssutil3$(DLL_SUFFIX) $(TESTROOT)/unit
|
|
|
|
$(INSTALL) $(DEPTH)/dist/bin/$(DLL_PREFIX)plc4$(DLL_SUFFIX) $(TESTROOT)/unit
|
|
|
|
$(INSTALL) $(DEPTH)/dist/bin/$(DLL_PREFIX)nspr4$(DLL_SUFFIX) $(TESTROOT)/unit
|
|
|
|
$(INSTALL) $(DEPTH)/dist/bin/$(DLL_PREFIX)plds4$(DLL_SUFFIX) $(TESTROOT)/unit
|
|
|
|
endif
|
2013-03-16 23:53:39 -07:00
|
|
|
endif
|
2012-02-24 13:29:42 -08:00
|
|
|
endif # Not Android
|