author Brian Birtles <>
Fri, 07 Aug 2015 12:29:35 +0900
changeset 256720 4e8a8884e36ff65a91e732c0f5ed17dc823e565b
parent 233023 9d086ef4aa6ed6a6275861bc1e62f695dbd54c1f
child 291754 42ba1f78bde5d7f9cdb9decfb69a8734afca07a8
permissions -rw-r--r--
Bug 1181392 part 2 - Remove use of IsFinishedTransition from Animation::ComposeStyle; r=dbaron Animation::ComposeStyle uses IsFinishedTransition to skip doing work for transitions that have run their course. We can, however, generalize this to cover all animations that are not currently contributing to the animated style--that is animations that are not "in effect". We need to add this check *after* we update aNeedsRefreshes since an animation that is not "in effect" because it has a delay and no backwards fill (in this case it will have a play state of "running") still needs refreshes.

# 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

TESTADDONS = source/test/addons
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)
test_addons_TARGET := misc

sinclude $(topsrcdir)/config/

# 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=$@

#libs:: $(ADDONS)

  $(srcdir)/source/app-extension \
  $(srcdir)/source/bin \
  $(srcdir)/source/python-lib \
  $(srcdir)/source/test \
  $(srcdir)/source/package.json \
  $(srcdir)/source/mapping.json \

# 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