testing/instrumentation/Makefile.in
author Jim Mathies <jmathies@mozilla.com>
Thu, 09 Jul 2015 19:07:48 -0500
changeset 252226 f612649fdbafd9634f6bd03d8a5a0c360575418a
parent 206291 319f56b07340952556455c744bee9b808c900d21
child 263849 8396485db77e11211d1444d2a38a86c28f5bd195
permissions -rw-r--r--
Bug 1174461 - Cache NS_NATIVE_PLUGIN_PORT on the content side since it never changes. r=aklotz

# 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.

JAVA_CLASSPATH = $(ANDROID_SDK)/android.jar
include $(topsrcdir)/config/android-common.mk

stage-package:
	$(NSINSTALL) -D $(_DEST_DIR)
	$(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)
	@(cd $(DEPTH)/_tests/ && tar $(TAR_CREATE_FLAGS) - instrumentation) | (cd $(PKG_STAGE) && tar -xf -)