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/.
5 include $(topsrcdir
)/config
/rules.mk
7 MOCHITEST_PROFILE_FILES
= \
9 prefs_b2g_unittest.js \
10 webapps_mochitest.json \
13 _DEST_DIR
= $(DEPTH
)/_tests
/testing
/mochitest
/profile_data
14 libs
:: $(MOCHITEST_PROFILE_FILES
)
15 $(PYTHON
) $(topsrcdir
)/config
/nsinstall.py
$^
$(_DEST_DIR
)
17 stage-package
: PKG_STAGE
= $(DIST
)/test-stage
19 $(NSINSTALL
) -D
$(PKG_STAGE
)/
20 @
(cd
$(srcdir) && tar $(TAR_CREATE_FLAGS
) - $(MOCHITEST_PROFILE_FILES
)) |
(cd
$(PKG_STAGE
)/mochitest
/profile_data
&& tar -xf
-)