author Mike Hommey <>
Fri, 12 Aug 2016 15:55:39 +0900
changeset 350858 5dd2ba45526f0c5ac61ec69ca5643504f424c17a
parent 329639 42ba1f78bde5d7f9cdb9decfb69a8734afca07a8
permissions -rw-r--r--
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.

# 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

TESTADDONS = source/test/addons

include $(topsrcdir)/config/

# 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=$@

  $(srcdir)/source/app-extension \
  $(srcdir)/source/bin \
  $(srcdir)/source/python-lib \
  $(srcdir)/source/test \
  $(srcdir)/source/package.json \
  $(srcdir)/source/mapping.json \

# 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