mobile/android/bouncer/Makefile.in
author Nick Alexander <nalexander@mozilla.com>
Mon, 14 Mar 2016 14:41:44 -0700
changeset 319302 6b812549cb6ff1f2f94a0d1c1055a2319a51d288
parent 318818 mobile/android/javaaddons/Makefile.in@39510228f2b40b6ab267ce14725212e7644ba002
child 318821 0ce87878ee3bf6d63bd13cc03b4a9a6ca582d499
permissions -rw-r--r--
Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps a=sylvestre This commit produces an "install bouncer" APK which is a "hollow shell" that looks like the main Fennec APK. In particular, both APKs have: * the same Android package name (application id); and * the same set of <permission>, <uses-permission>, and <uses-feature> blocks in their manifests. The bouncer APK must always have an android:versionCode smaller than the main Fennec APK; for now, we will just bump that manually mobile/android/bouncer/moz.build. MozReview-Commit-ID: 8dROKtig1ql

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

include $(topsrcdir)/config/config.mk

JAVAFILES := \
	java/org/mozilla/bouncer/BouncerService.java \
	java/org/mozilla/gecko/BrowserApp.java \
  $(NULL)

ANDROID_EXTRA_JARS := \
  $(NULL)

PP_TARGETS += manifest
manifest := $(srcdir)/AndroidManifest.xml.in
manifest_TARGET := export
# Special 'cuz they are set in mobile/android/defs.mk.
manifest_FLAGS += \
  -DMOZ_ANDROID_SHARED_ID="$(MOZ_ANDROID_SHARED_ID)" \
  -DMOZ_ANDROID_SHARED_ACCOUNT_TYPE="$(MOZ_ANDROID_SHARED_ACCOUNT_TYPE)" \
  -DMOZ_ANDROID_SHARED_FXACCOUNT_TYPE="$(MOZ_ANDROID_SHARED_FXACCOUNT_TYPE)" \
  $(NULL)

libs:: $(ANDROID_APK_NAME).apk