mobile/android/tests/background/junit3/Makefile.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/tests/background/junit3/Makefile.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.7 +
     1.8 +ANDROID_APK_NAME := background-junit3-debug
     1.9 +
    1.10 +PP_TARGETS        += manifest
    1.11 +manifest          := $(srcdir)/AndroidManifest.xml.in
    1.12 +manifest_TARGET   := AndroidManifest.xml
    1.13 +manifest_FLAGS    += \
    1.14 +  -DANDROID_BACKGROUND_TARGET_PACKAGE_NAME='$(ANDROID_PACKAGE_NAME)' \
    1.15 +  -DANDROID_BACKGROUND_APP_DISPLAYNAME='$(MOZ_APP_DISPLAYNAME) Background Tests' \
    1.16 +  -DMOZ_ANDROID_SHARED_ID='$(ANDROID_PACKAGE_NAME).sharedID' \
    1.17 +  -DMOZ_ANDROID_SHARED_ACCOUNT_TYPE='$(ANDROID_PACKAGE_NAME)_sync' \
    1.18 +  $(NULL)
    1.19 +ANDROID_MANIFEST_FILE := $(CURDIR)/AndroidManifest.xml
    1.20 +
    1.21 +GARBAGE += AndroidManifest.xml
    1.22 +
    1.23 +include $(srcdir)/android-services-files.mk
    1.24 +
    1.25 +# BACKGROUND_TESTS_{JAVA,RES}_FILES are defined in android-services-files.mk.
    1.26 +JAVAFILES := $(BACKGROUND_TESTS_JAVA_FILES)
    1.27 +
    1.28 +# The test APK needs to know the contents of the target APK while not
    1.29 +# being linked against them.  This is a best effort to avoid getting
    1.30 +# out of sync with base's build config.
    1.31 +JARS_DIR := $(DEPTH)/mobile/android/base
    1.32 +JAVA_BOOTCLASSPATH := $(JAVA_BOOTCLASSPATH):$(subst $(NULL) ,:,$(wildcard $(JARS_DIR)/*.jar))
    1.33 +# We also want to re-compile classes.dex when the associated base
    1.34 +# content changes.
    1.35 +classes.dex: $(wildcard $(JARS_DIR)/*.jar)
    1.36 +
    1.37 +tools:: $(ANDROID_APK_NAME).apk
    1.38 +
    1.39 +include $(topsrcdir)/config/rules.mk

mercurial