addon-sdk/Makefile.in
author Anthony Ramine <n.oxyde@gmail.com>
Wed, 26 Apr 2017 11:30:36 -0500
changeset 569102 fba53607359f23956a0182a882224f9017855035
parent 400916 5dd2ba45526f0c5ac61ec69ca5643504f424c17a
child 599264 2976c2ef3cc681bf66f4db5aa477ed1152b86dd4
permissions -rw-r--r--
servo: Merge #16619 - Update rustc to 1.18.0-nightly (b0a4074c5 2017-04-26) (from servo:rustup); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: 74656f4ff0500112e8faf4325981f622a0bacc14

# 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