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

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

mercurial