зеркало из https://github.com/mozilla/pjs.git
bug 622979 - Update android:versionCode in AndroidManifest.xml in branded builds r=dougt a=blocking-fennec
--HG-- extra : rebase_source : e5d050610308be1493c92e84643b42621b9ffad7
This commit is contained in:
Родитель
74b4ad3ffb
Коммит
6214b8d9f9
|
@ -3,7 +3,7 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="@ANDROID_PACKAGE_NAME@"
|
||||
android:installLocation="auto"
|
||||
android:versionCode="1"
|
||||
android:versionCode="@ANDROID_VERSION_CODE@"
|
||||
android:versionName="@MOZ_APP_VERSION@"
|
||||
android:sharedUserId="org.mozilla.sharedID">
|
||||
<uses-sdk android:minSdkVersion="5"
|
||||
|
|
|
@ -67,6 +67,10 @@ else
|
|||
MIN_CPU_VERSION=5
|
||||
endif
|
||||
|
||||
ifeq (,$(ANDROID_VERSION_CODE))
|
||||
ANDROID_VERSION_CODE=$(shell $(PYTHON) $(topsrcdir)/toolkit/xre/make-platformini.py --print-buildid | cut -c1-10)
|
||||
endif
|
||||
|
||||
DEFINES += \
|
||||
-DANDROID_PACKAGE_NAME=$(ANDROID_PACKAGE_NAME) \
|
||||
-DMOZ_APP_DISPLAYNAME=$(MOZ_APP_DISPLAYNAME) \
|
||||
|
@ -75,6 +79,7 @@ DEFINES += \
|
|||
-DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME) \
|
||||
-DMOZ_MIN_CPU_VERSION=$(MIN_CPU_VERSION) \
|
||||
-DMOZ_CRASHREPORTER=$(MOZ_CRASHREPORTER) \
|
||||
-DANDROID_VERSION_CODE=$(ANDROID_VERSION_CODE) \
|
||||
$(NULL)
|
||||
|
||||
GARBAGE += \
|
||||
|
|
Загрузка…
Ссылка в новой задаче