addon-sdk/Makefile.in
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Tue, 28 Oct 2014 08:25:46 -0700
changeset 212745 5f5fe4c2f7069fab3373ff69d5214c3dec0b840a
parent 206586 1401f98a790e4c02254f0ce61c027acc41930548
child 217515 d37c4d4a351dd813fdc3c15b63faf44401736412
permissions -rw-r--r--
Bumping gaia.json for 2 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/4a877433e0a7 Author: Zibi Braniecki <zbigniew.braniecki@gmail.com> Desc: Merge pull request #25471 from zbraniecki/1088364-remove-mozl10n-localize-in-bluetooth Bug 1088364 - Remove use cases of mozL10n.localize from Bluetooth. r=ianliu ======== https://hg.mozilla.org/integration/gaia-central/rev/50ee8ea2ed42 Author: Zbigniew Braniecki <gandalf@mozilla.com> Desc: Bug 1088364 - Remove use cases of mozL10n.localize from Bluetooth

# 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)
TESTROOT = $(CURDIR)/$(DEPTH)/_tests/testing/mochitest/jetpack-addon/$(relativesrcdir)/$(TESTADDONS)

# Build a list of the test add-ons
ADDONS = $(patsubst $(ADDONSRC)/%/package.json,$(TESTADDONS)/%.xpi,$(wildcard $(ADDONSRC)/*/package.json))

INSTALL_TARGETS += test_addons
test_addons_FILES = $(ADDONS)
test_addons_DEST = $(TESTROOT)

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 --pkgdir=$(lastword $^) --output-file=$@

#libs:: $(ADDONS)

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