1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/tests/browser/junit3/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 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 := browser-junit3-debug 1.9 + 1.10 +ANDROID_EXTRA_JARS += \ 1.11 + browser-junit3.jar \ 1.12 + $(NULL) 1.13 + 1.14 +PP_TARGETS += manifest 1.15 +manifest := AndroidManifest.xml.in 1.16 +manifest_FLAGS += \ 1.17 + -DANDROID_BROWSER_TARGET_PACKAGE_NAME='$(ANDROID_PACKAGE_NAME)' \ 1.18 + -DANDROID_BROWSER_APP_DISPLAYNAME='$(MOZ_APP_DISPLAYNAME) Browser Tests' \ 1.19 + -DMOZ_ANDROID_SHARED_ID='$(ANDROID_PACKAGE_NAME).sharedID' \ 1.20 + $(NULL) 1.21 +ANDROID_MANIFEST_FILE := $(CURDIR)/AndroidManifest.xml 1.22 + 1.23 +include $(topsrcdir)/config/rules.mk 1.24 + 1.25 +tools:: $(ANDROID_APK_NAME).apk 1.26 + 1.27 +# The test APK needs to know the contents of the target APK while not 1.28 +# being linked against them. This is a best effort to avoid getting 1.29 +# out of sync with base's build config. 1.30 +JARS_DIR := $(DEPTH)/mobile/android/base 1.31 +JAVA_BOOTCLASSPATH := $(JAVA_BOOTCLASSPATH):$(subst $(NULL) ,:,$(wildcard $(JARS_DIR)/*.jar)) 1.32 +# We also want to re-compile classes.dex when the associated base 1.33 +# content changes. 1.34 +classes.dex: $(wildcard $(JARS_DIR)/*.jar)