gecko-dev/addon-sdk/Makefile.in
Mike Hommey 67404442a6 Bug 1256004 - Create the addon-sdk test addons directly under addon-sdk. r=gps
Instead of creating them in a subdirectory, possibly racing over the
creation of said subdirectory, just create them in the existing current
directory. They're being copied over to some other place anyways, they
just have to be picked from the right location when doing so.
2016-08-16 08:32:54 +09:00

30 lines
907 B
Makefile

# 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/.
TESTADDONS = source/test/addons
ADDONSRC = $(srcdir)/$(TESTADDONS)
include $(topsrcdir)/config/rules.mk
# This can switch to just zipping the files when native jetpacks land
%.xpi: FORCE
$(PYTHON) $(srcdir)/source/bin/cfx xpi --no-strip-xpi --pkgdir=$(ADDONSRC)/$* --output-file=$@
TEST_FILES = \
$(srcdir)/source/app-extension \
$(srcdir)/source/bin \
$(srcdir)/source/python-lib \
$(srcdir)/source/test \
$(srcdir)/source/package.json \
$(srcdir)/source/mapping.json \
$(NULL)
# Remove this once the test harness uses the APIs built into Firefox
TEST_FILES += $(srcdir)/source/lib
PKG_STAGE = $(DIST)/test-stage
stage-tests-package:: $(TEST_FILES)
$(INSTALL) $^ $(PKG_STAGE)/jetpack