|
1 # This Source Code Form is subject to the terms of the Mozilla Public |
|
2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 TESTROOT = $(abspath $(DEPTH))/_tests/xpcshell/$(relativesrcdir) |
|
6 |
|
7 include $(topsrcdir)/config/rules.mk |
|
8 |
|
9 libs:: unit/head_libmar.js.in |
|
10 $(call py_action,preprocessor,-Fsubstitution $(DEFINES) $(ACDEFINES) $^ -o $(TESTROOT)/unit/head_libmar.js) |
|
11 |
|
12 ifneq ($(OS_TARGET),Android) |
|
13 ifndef MOZ_PROFILE_GENERATE |
|
14 libs:: |
|
15 $(INSTALL) ../tool/signmar$(BIN_SUFFIX) $(TESTROOT)/unit |
|
16 $(INSTALL) $(DEPTH)/dist/bin/$(DLL_PREFIX)nss3$(DLL_SUFFIX) $(TESTROOT)/unit |
|
17 ifndef MOZ_FOLD_LIBS |
|
18 $(INSTALL) $(DEPTH)/dist/bin/$(DLL_PREFIX)nssutil3$(DLL_SUFFIX) $(TESTROOT)/unit |
|
19 $(INSTALL) $(DEPTH)/dist/bin/$(DLL_PREFIX)plc4$(DLL_SUFFIX) $(TESTROOT)/unit |
|
20 $(INSTALL) $(DEPTH)/dist/bin/$(DLL_PREFIX)nspr4$(DLL_SUFFIX) $(TESTROOT)/unit |
|
21 $(INSTALL) $(DEPTH)/dist/bin/$(DLL_PREFIX)plds4$(DLL_SUFFIX) $(TESTROOT)/unit |
|
22 endif |
|
23 endif |
|
24 endif # Not Android |