зеркало из https://github.com/mozilla/gecko-dev.git
bug 719560 - Can't publish split native and xul builds under the same product on android market r=mbrubeck
This commit is contained in:
Родитель
db0b22097c
Коммит
50574696de
|
@ -9,9 +9,21 @@
|
|||
android:sharedUserId="@MOZ_ANDROID_SHARED_ID@"
|
||||
#endif
|
||||
>
|
||||
|
||||
#ifdef MOZ_TABLETS_ONLY
|
||||
<uses-sdk android:minSdkVersion="11"
|
||||
#else
|
||||
<uses-sdk android:minSdkVersion="5"
|
||||
#endif
|
||||
android:targetSdkVersion="11"/>
|
||||
|
||||
#ifdef MOZ_TABLETS_ONLY
|
||||
<supports-screens android:smallScreens="false"
|
||||
android:normalScreens="false"
|
||||
android:largeScreens="false"
|
||||
android:xlargeScreens="true" />
|
||||
#endif
|
||||
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
|
|
|
@ -79,7 +79,12 @@ 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)
|
||||
# decrement the version code by 1 so native fennec will win any compatability ties
|
||||
ANDROID_VERSION_CODE=$(shell echo `$(PYTHON) $(topsrcdir)/toolkit/xre/make-platformini.py --print-buildid | cut -c1-10` + 1 | bc)
|
||||
endif
|
||||
|
||||
ifeq (Tablets,$(MOZ_MOBILE_COMPAT))
|
||||
MOZ_TABLETS_ONLY=1
|
||||
endif
|
||||
|
||||
DEFINES += \
|
||||
|
@ -92,6 +97,7 @@ DEFINES += \
|
|||
-DMOZ_CRASHREPORTER=$(MOZ_CRASHREPORTER) \
|
||||
-DANDROID_VERSION_CODE=$(ANDROID_VERSION_CODE) \
|
||||
-DMOZILLA_OFFICIAL=$(MOZILLA_OFFICIAL) \
|
||||
-DMOZ_TABLETS_ONLY=$(MOZ_TABLETS_ONLY) \
|
||||
$(NULL)
|
||||
|
||||
GARBAGE += \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
MOZ_APP_DISPLAYNAME=Aurora
|
||||
ANDROID_PACKAGE_NAME=org.mozilla.fennec_aurora
|
||||
MOZ_UPDATER=1
|
||||
MOZ_MOBILE_COMPAT=Tablets
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
MOZ_APP_DISPLAYNAME="Firefox Beta"
|
||||
ANDROID_PACKAGE_NAME=org.mozilla.firefox_beta
|
||||
MOZ_UPDATER=
|
||||
MOZ_MOBILE_COMPAT=Tablets
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
MOZ_APP_DISPLAYNAME=Nightly
|
||||
MOZ_UPDATER=1
|
||||
MOZ_MOBILE_COMPAT=All
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
MOZ_APP_DISPLAYNAME=Firefox
|
||||
ANDROID_PACKAGE_NAME=org.mozilla.firefox
|
||||
MOZ_UPDATER=
|
||||
MOZ_MOBILE_COMPAT=Tablets
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
ANDROID_PACKAGE_NAME=org.mozilla.fennec_`echo $USER`
|
||||
MOZ_APP_DISPLAYNAME=Fennec
|
||||
MOZ_UPDATER=
|
||||
MOZ_MOBILE_COMPAT=All
|
||||
|
|
Загрузка…
Ссылка в новой задаче