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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/.
     5 ANDROID_APK_NAME := background-junit3-debug
     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
    18 GARBAGE += AndroidManifest.xml
    20 include $(srcdir)/android-services-files.mk
    22 # BACKGROUND_TESTS_{JAVA,RES}_FILES are defined in android-services-files.mk.
    23 JAVAFILES := $(BACKGROUND_TESTS_JAVA_FILES)
    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)
    34 tools:: $(ANDROID_APK_NAME).apk
    36 include $(topsrcdir)/config/rules.mk

mercurial