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/.
|
2011-11-29 08:43:16 -08:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2011-11-29 08:43:16 -08:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
# Harness packages from the srcdir;
|
|
|
|
MOZBASE_PACKAGES = \
|
|
|
|
manifestdestiny \
|
2013-03-21 06:19:34 -07:00
|
|
|
mozcrash \
|
2012-10-11 16:44:11 -07:00
|
|
|
mozfile \
|
2011-11-29 08:43:16 -08:00
|
|
|
mozhttpd \
|
|
|
|
mozinfo \
|
|
|
|
mozinstall \
|
|
|
|
mozlog \
|
|
|
|
mozprocess \
|
|
|
|
mozprofile \
|
|
|
|
mozrunner \
|
2012-10-24 14:54:14 -07:00
|
|
|
mozdevice \
|
2013-06-03 07:04:25 -07:00
|
|
|
moznetwork \
|
2011-11-29 08:43:16 -08:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
MOZBASE_EXTRAS = \
|
|
|
|
setup_development.py \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-12-06 06:26:24 -08:00
|
|
|
_DEST_DIR = $(DEPTH)/_tests/mozbase
|
|
|
|
libs:: $(MOZBASE_PACKAGES)
|
|
|
|
$(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR)
|
|
|
|
libs:: $(MOZBASE_EXTRAS)
|
|
|
|
$(PYTHON) $(topsrcdir)/config/nsinstall.py $^ $(_DEST_DIR)
|
|
|
|
|
2011-11-29 08:43:16 -08:00
|
|
|
stage-package: PKG_STAGE = $(DIST)/test-package-stage
|
|
|
|
stage-package:
|
|
|
|
$(NSINSTALL) -D $(PKG_STAGE)/mozbase
|
|
|
|
@(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(MOZBASE_PACKAGES)) | (cd $(PKG_STAGE)/mozbase && tar -xf -)
|
|
|
|
@(cd $(srcdir) && tar $(TAR_CREATE_FLAGS) - $(MOZBASE_EXTRAS)) | (cd $(PKG_STAGE)/mozbase && tar -xf -)
|