addon-sdk/Makefile.in
author ffxbld
Mon, 20 Jun 2016 17:43:16 -0400
branchMOBILE480b2_2016062017_RELBRANCH
changeset 333340 a0c00c01650f7e18674d6776d4d090a2d8f67c35
parent 329639 42ba1f78bde5d7f9cdb9decfb69a8734afca07a8
child 350858 5dd2ba45526f0c5ac61ec69ca5643504f424c17a
permissions -rw-r--r--
Automated checkin: version bump for fennec 48.0b2 release. DONTBUILD CLOSED TREE a=release

# 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