addon-sdk/Makefile.in
author Dustin J. Mitchell <dustin@mozilla.com>
Wed, 20 Jul 2016 16:54:43 +0000
changeset 351268 5406ddf4a856168d9f0d0bc5771a887d1656108f
parent 331629 42ba1f78bde5d7f9cdb9decfb69a8734afca07a8
child 353076 5dd2ba45526f0c5ac61ec69ca5643504f424c17a
permissions -rw-r--r--
Bug 1275034: add comment about taskGroupId = taskId; r=garndt MozReview-Commit-ID: D0vfTFpwh9u

# 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)

sinclude $(topsrcdir)/config/rules.mk

# This can switch to just zipping the files when native jetpacks land
$(TESTADDONS)/%.xpi: FORCE $(call mkdir_deps,$(CURDIR)/$(TESTADDONS)) $(ADDONSRC)/%
	$(PYTHON) $(srcdir)/source/bin/cfx xpi --no-strip-xpi --pkgdir=$(lastword $^) --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