mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 02:09:28 +00:00

Opt-in by adding --enable-gradle-mobile-android-builds. Gradle dependencies (including the Android-Gradle plugin) are assumed to be present. Local developers will fetch them from the jcentral repository. Android-specific Maven dependencies are shipped as "extras" with the Android SDK, and should be found automatically by the Android-Gradle plugin. MozReview-Commit-ID: 966XgddWgEu --HG-- extra : rebase_source : 8e8c6156e1d06813c250662e104fd14c621d91ab extra : source : 306cf0271d3e3a344fcbfd2baf75e0450c288cf1 extra : histedit_source : d17446714236c408699a0953882e84ac3a192380%2Cc21b166af79ef1e00215748820bc2670405ac1dc
26 lines
1010 B
Makefile
26 lines
1010 B
Makefile
# 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)
|
|
ifndef MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE
|
|
$(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)
|
|
endif
|
|
@(cd $(DEPTH)/_tests/ && tar $(TAR_CREATE_FLAGS) - instrumentation) | (cd $(PKG_STAGE) && tar -xf -)
|