michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: MOCHITEST_PROFILE_FILES = \ michael@0: prefs_general.js \ michael@0: prefs_b2g_unittest.js \ michael@0: webapps_mochitest.json \ michael@0: $(NULL) michael@0: michael@0: _DEST_DIR = $(DEPTH)/_tests/testing/mochitest/profile_data michael@0: libs:: $(MOCHITEST_PROFILE_FILES) michael@0: $(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR) michael@0: michael@0: stage-package: PKG_STAGE = $(DIST)/test-package-stage michael@0: stage-package: michael@0: $(NSINSTALL) -D $(PKG_STAGE)/ michael@0: @(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(MOCHITEST_PROFILE_FILES)) | (cd $(PKG_STAGE)/mochitest/profile_data && tar -xf -)