Bug 790827 - Don't package android apk's for B2G, r=ted
authorJonathan Griffin <jgriffin@mozilla.com>
Thu, 13 Sep 2012 13:46:02 -0700
changeset 107541 e83d9f2e0699e4693f62a00a42b422201d663348
parent 107540 9c659fdb19f9c24f8d5233c15298e2f36479e6e1
child 107542 15f6aaf8ed468d90797042a129b0eb27284680de
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewersted
bugs790827
milestone18.0a1
Bug 790827 - Don't package android apk's for B2G, r=ted
testing/testsuite-targets.mk
--- a/testing/testsuite-targets.mk
+++ b/testing/testsuite-targets.mk
@@ -328,17 +328,17 @@ else
 	#building tests.jar (bug 543800) fails on unify, so we build tests.jar after unify is run
 	$(MAKE) -C $(DEPTH)/testing/mochitest stage-chromejar PKG_STAGE=$(DIST)/universal
 endif
 	find $(PKG_STAGE) -name "*.pyc" -exec rm {} \;
 	cd $(PKG_STAGE) && \
 	  zip -rq9D "$(call core_abspath,$(DIST)/$(PKG_PATH)$(TEST_PACKAGE))" \
 	  * -x \*/.mkdir.done
 
-ifeq (Android, $(OS_TARGET))
+ifeq ($(MOZ_WIDGET_TOOLKIT),android)
 package-tests: stage-android
 endif
 
 make-stage-dir:
 	rm -rf $(PKG_STAGE)
 	$(NSINSTALL) -D $(PKG_STAGE)
 	$(NSINSTALL) -D $(PKG_STAGE)/bin
 	$(NSINSTALL) -D $(PKG_STAGE)/bin/components