Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
michael@0 | 1 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | ANDROID_APK_NAME := background-junit3-debug |
michael@0 | 6 | |
michael@0 | 7 | PP_TARGETS += manifest |
michael@0 | 8 | manifest := $(srcdir)/AndroidManifest.xml.in |
michael@0 | 9 | manifest_TARGET := AndroidManifest.xml |
michael@0 | 10 | manifest_FLAGS += \ |
michael@0 | 11 | -DANDROID_BACKGROUND_TARGET_PACKAGE_NAME='$(ANDROID_PACKAGE_NAME)' \ |
michael@0 | 12 | -DANDROID_BACKGROUND_APP_DISPLAYNAME='$(MOZ_APP_DISPLAYNAME) Background Tests' \ |
michael@0 | 13 | -DMOZ_ANDROID_SHARED_ID='$(ANDROID_PACKAGE_NAME).sharedID' \ |
michael@0 | 14 | -DMOZ_ANDROID_SHARED_ACCOUNT_TYPE='$(ANDROID_PACKAGE_NAME)_sync' \ |
michael@0 | 15 | $(NULL) |
michael@0 | 16 | ANDROID_MANIFEST_FILE := $(CURDIR)/AndroidManifest.xml |
michael@0 | 17 | |
michael@0 | 18 | GARBAGE += AndroidManifest.xml |
michael@0 | 19 | |
michael@0 | 20 | include $(srcdir)/android-services-files.mk |
michael@0 | 21 | |
michael@0 | 22 | # BACKGROUND_TESTS_{JAVA,RES}_FILES are defined in android-services-files.mk. |
michael@0 | 23 | JAVAFILES := $(BACKGROUND_TESTS_JAVA_FILES) |
michael@0 | 24 | |
michael@0 | 25 | # The test APK needs to know the contents of the target APK while not |
michael@0 | 26 | # being linked against them. This is a best effort to avoid getting |
michael@0 | 27 | # out of sync with base's build config. |
michael@0 | 28 | JARS_DIR := $(DEPTH)/mobile/android/base |
michael@0 | 29 | JAVA_BOOTCLASSPATH := $(JAVA_BOOTCLASSPATH):$(subst $(NULL) ,:,$(wildcard $(JARS_DIR)/*.jar)) |
michael@0 | 30 | # We also want to re-compile classes.dex when the associated base |
michael@0 | 31 | # content changes. |
michael@0 | 32 | classes.dex: $(wildcard $(JARS_DIR)/*.jar) |
michael@0 | 33 | |
michael@0 | 34 | tools:: $(ANDROID_APK_NAME).apk |
michael@0 | 35 | |
michael@0 | 36 | include $(topsrcdir)/config/rules.mk |