mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1248160 - Part 1: Remove MOZ_ANDROID_SHARED_ACCOUNT_TYPE. r=ted.mielczarek
This is cleaning up after Bug 1220906, which removed Old Sync. MozReview-Commit-ID: EmP4RTMIZ9
This commit is contained in:
parent
c628f82572
commit
aaff2ddd7e
@ -24,7 +24,6 @@ public class AppConstants {
|
||||
public static final String ANDROID_PACKAGE_NAME = "@ANDROID_PACKAGE_NAME@";
|
||||
public static final String MANGLED_ANDROID_PACKAGE_NAME = "@MANGLED_ANDROID_PACKAGE_NAME@";
|
||||
|
||||
public static final String MOZ_ANDROID_SHARED_ACCOUNT_TYPE = "@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@";
|
||||
public static final String MOZ_ANDROID_SHARED_FXACCOUNT_TYPE = "@MOZ_ANDROID_SHARED_FXACCOUNT_TYPE@";
|
||||
|
||||
/**
|
||||
|
@ -27,7 +27,6 @@ endif
|
||||
DEFINES += \
|
||||
-DANDROID_VERSION_CODE=$(ANDROID_VERSION_CODE) \
|
||||
-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)" \
|
||||
-DMOZ_BUILDID=$(MOZ_BUILDID) \
|
||||
$(NULL)
|
||||
|
@ -60,7 +60,6 @@ strings-xml-preqs =\
|
||||
$(if $(IS_LANGUAGE_REPACK),FORCE) \
|
||||
$(NULL)
|
||||
|
||||
$(if $(MOZ_ANDROID_SHARED_ACCOUNT_TYPE),,$(error Missing MOZ_ANDROID_SHARED_ACCOUNT_TYPE))
|
||||
$(if $(MOZ_ANDROID_SHARED_FXACCOUNT_TYPE),,$(error Missing MOZ_ANDROID_SHARED_FXACCOUNT_TYPE))
|
||||
|
||||
$(dir-strings-xml)/strings.xml: $(strings-xml-preqs)
|
||||
@ -69,7 +68,6 @@ $(dir-strings-xml)/strings.xml: $(strings-xml-preqs)
|
||||
$(ACDEFINES) \
|
||||
-DANDROID_PACKAGE_NAME=$(ANDROID_PACKAGE_NAME) \
|
||||
-DBRANDPATH='$(BRANDPATH)' \
|
||||
-DMOZ_ANDROID_SHARED_ACCOUNT_TYPE=$(MOZ_ANDROID_SHARED_ACCOUNT_TYPE) \
|
||||
-DMOZ_ANDROID_SHARED_FXACCOUNT_TYPE=$(MOZ_ANDROID_SHARED_FXACCOUNT_TYPE) \
|
||||
-DMOZ_APP_DISPLAYNAME='@MOZ_APP_DISPLAYNAME@' \
|
||||
-DSTRINGSPATH='$(STRINGSPATH)' \
|
||||
|
@ -27,7 +27,6 @@
|
||||
<string name="content_authority_db_passwords">@ANDROID_PACKAGE_NAME@.db.passwords</string>
|
||||
<string name="content_authority_db_tabs">@ANDROID_PACKAGE_NAME@.db.tabs</string>
|
||||
<string name="content_authority_db_readinglist">@ANDROID_PACKAGE_NAME@.db.readinglist</string>
|
||||
<string name="moz_android_shared_account_type">@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@</string>
|
||||
<string name="moz_android_shared_fxaccount_type">@MOZ_ANDROID_SHARED_FXACCOUNT_TYPE@</string>
|
||||
<string name="android_package_name_for_ui">@ANDROID_PACKAGE_NAME@</string>
|
||||
|
||||
|
@ -18,7 +18,6 @@ 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)
|
||||
|
||||
|
@ -1,7 +1,4 @@
|
||||
MOZ_ANDROID_SHARED_ID = $(ANDROID_PACKAGE_NAME).sharedID
|
||||
# Android Sync Account types are not per-package: release and beta
|
||||
# share an Account type, and aurora and nightly share an Account type.
|
||||
MOZ_ANDROID_SHARED_ACCOUNT_TYPE = $(ANDROID_PACKAGE_NAME)_sync
|
||||
# Firefox Accounts Account types are per-package.
|
||||
MOZ_ANDROID_SHARED_FXACCOUNT_TYPE = $(ANDROID_PACKAGE_NAME)_fxaccount
|
||||
|
||||
@ -9,14 +6,10 @@ MOZ_ANDROID_SHARED_FXACCOUNT_TYPE = $(ANDROID_PACKAGE_NAME)_fxaccount
|
||||
# keep them consistent.
|
||||
ifeq (org.mozilla.firefox,$(ANDROID_PACKAGE_NAME))
|
||||
MOZ_ANDROID_SHARED_ID = org.mozilla.firefox.sharedID
|
||||
MOZ_ANDROID_SHARED_ACCOUNT_TYPE = org.mozilla.firefox_sync
|
||||
else ifeq (org.mozilla.firefox_beta,$(ANDROID_PACKAGE_NAME))
|
||||
MOZ_ANDROID_SHARED_ID = org.mozilla.firefox.sharedID
|
||||
MOZ_ANDROID_SHARED_ACCOUNT_TYPE = org.mozilla.firefox_sync
|
||||
else ifeq (org.mozilla.fennec_aurora,$(ANDROID_PACKAGE_NAME))
|
||||
MOZ_ANDROID_SHARED_ID = org.mozilla.fennec.sharedID
|
||||
MOZ_ANDROID_SHARED_ACCOUNT_TYPE = org.mozilla.fennec_sync
|
||||
else ifeq (org.mozilla.fennec,$(ANDROID_PACKAGE_NAME))
|
||||
MOZ_ANDROID_SHARED_ID = org.mozilla.fennec.sharedID
|
||||
MOZ_ANDROID_SHARED_ACCOUNT_TYPE = org.mozilla.fennec_sync
|
||||
endif
|
||||
|
@ -13,7 +13,6 @@ manifest_FLAGS += \
|
||||
-DANDROID_BACKGROUND_TARGET_PACKAGE_NAME='$(ANDROID_PACKAGE_NAME)' \
|
||||
-DANDROID_BACKGROUND_APP_DISPLAYNAME='$(MOZ_APP_DISPLAYNAME) Background Tests' \
|
||||
-DMOZ_ANDROID_SHARED_ID='$(ANDROID_PACKAGE_NAME).sharedID' \
|
||||
-DMOZ_ANDROID_SHARED_ACCOUNT_TYPE='$(ANDROID_PACKAGE_NAME)_sync' \
|
||||
$(NULL)
|
||||
ANDROID_MANIFEST_FILE := $(CURDIR)/AndroidManifest.xml
|
||||
|
||||
|
@ -39,7 +39,6 @@ manifest := $(srcdir)/AndroidManifest.xml.in
|
||||
manifest_TARGET := export
|
||||
manifest_FLAGS += \
|
||||
-DMOZ_ANDROID_SHARED_ID='$(ANDROID_PACKAGE_NAME).sharedID' \
|
||||
-DMOZ_ANDROID_SHARED_ACCOUNT_TYPE='$(ANDROID_PACKAGE_NAME)_sync' \
|
||||
$(NULL)
|
||||
|
||||
ANDROID_MANIFEST_FILE := $(CURDIR)/AndroidManifest.xml
|
||||
|
Loading…
Reference in New Issue
Block a user