addon-sdk/Makefile.in
author btian <btian@mozilla.com>
Thu, 18 May 2017 09:51:53 +0800
changeset 359874 6cddd88fc0856a1d8944eee022b33690025b5710
parent 309573 5dd2ba45526f0c5ac61ec69ca5643504f424c17a
permissions -rw-r--r--
Bug 1299390 - part 5: Remove useless AudioChannelService code. r=alwu Changes: - remove code addressed by reviewer - remove PContent.ipdl, PBrowser.ipdl, and ProcessPriorityManager code that relates only to removed AudioChannelService methods - correct test case listening to event from removed code - remove useless test case files MozReview-Commit-ID: I96nR8zTXJt

# 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