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