2014-09-20 00:52:56 +04:00
|
|
|
# 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/.
|
|
|
|
|
|
|
|
_DEST_DIR = $(DEPTH)/_tests/instrumentation
|
|
|
|
PKG_STAGE = $(DIST)/test-stage
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
# Fennec and all instrumentation tests need to be signed with the same
|
|
|
|
# key, which means release signing them all.
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/android-common.mk
|
|
|
|
|
|
|
|
stage-package:
|
|
|
|
$(NSINSTALL) -D $(_DEST_DIR)
|
2016-02-12 21:06:40 +03:00
|
|
|
ifndef MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE
|
2014-09-20 00:52:56 +04:00
|
|
|
$(call RELEASE_SIGN_ANDROID_APK,\
|
|
|
|
$(DEPTH)/mobile/android/tests/background/junit3/background-junit3-debug-unsigned-unaligned.apk,\
|
|
|
|
$(_DEST_DIR)/background-junit3.apk)
|
|
|
|
$(call RELEASE_SIGN_ANDROID_APK,\
|
|
|
|
$(DEPTH)/mobile/android/tests/browser/junit3/browser-junit3-debug-unsigned-unaligned.apk,\
|
|
|
|
$(_DEST_DIR)/browser-junit3.apk)
|
2016-02-12 21:06:40 +03:00
|
|
|
endif
|
2014-09-20 00:52:56 +04:00
|
|
|
@(cd $(DEPTH)/_tests/ && tar $(TAR_CREATE_FLAGS) - instrumentation) | (cd $(PKG_STAGE) && tar -xf -)
|