Bug 1065773 - Post: Add release signed Robocop APK to mochitest/ in tests package. r=mshal

This isn't strictly necessary, but if we start fishing these APKs from
the tests package, we can phase out the buildbot and mozharness logic
that handles robocop.apk specially.
This commit is contained in:
Nick Alexander 2014-09-19 13:52:57 -07:00
Родитель 426219f82f
Коммит 50cd4b00dc
1 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -92,6 +92,20 @@ DIST_BIN = $(DIST)/bin
$(_DEST_DIR):
$(NSINSTALL) -D $@
# On Android only, include a release signed Robocop APK in the test package.
ifeq ($(MOZ_BUILD_APP),mobile/android)
JAVA_CLASSPATH = $(ANDROID_SDK)/android.jar
include $(topsrcdir)/config/android-common.mk
stage-package-android:
$(NSINSTALL) -D $(_DEST_DIR)
$(call RELEASE_SIGN_ANDROID_APK,\
$(DEPTH)/build/mobile/robocop/robocop-debug-unsigned-unaligned.apk,\
$(_DEST_DIR)/robocop.apk)
stage-package: stage-package-android
endif
stage-package:
$(NSINSTALL) -D $(PKG_STAGE)/mochitest && $(NSINSTALL) -D $(PKG_STAGE)/bin/plugins && $(NSINSTALL) -D $(DIST)/plugins && $(NSINSTALL) -D $(PKG_STAGE)/bin/plugins/gmp-fake/1.0
cp $(DEPTH)/mozinfo.json $(PKG_STAGE)/mochitest