addon-sdk/Makefile.in
author Mike Shal <mshal@mozilla.com>
Thu, 31 Mar 2016 16:07:13 -0400
changeset 347077 fe9fdbec5c9a2ed554b7596ba96b1b2f76dffc67
parent 249458 9d086ef4aa6ed6a6275861bc1e62f695dbd54c1f
child 399855 063022b1a5e315ffb2e41390f6cad40cc9d7b14e
permissions -rw-r--r--
Bug 1261473 - Remove INSTALL_TARGETS from addon-sdk/Makefile.in; r?chmanchester MozReview-Commit-ID: CWsimFT6MFv

# 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