gecko-dev/mobile/android/defs.mk
2013-12-11 14:08:02 -08:00

24 lines
1.2 KiB
Makefile

MOZ_ANDROID_SHARED_ID = $(ANDROID_PACKAGE_NAME).sharedID
MOZ_ANDROID_SHARED_ACCOUNT_TYPE = $(ANDROID_PACKAGE_NAME)_sync
MOZ_ANDROID_SHARED_FXACCOUNT_TYPE = $(ANDROID_PACKAGE_NAME)_account
# We released these builds to the public with shared IDs and need to
# 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
MOZ_ANDROID_SHARED_FXACCOUNT_TYPE = org.mozilla.firefox_account
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
MOZ_ANDROID_SHARED_FXACCOUNT_TYPE = org.mozilla.firefox_account
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
MOZ_ANDROID_SHARED_FXACCOUNT_TYPE = org.mozilla.fennec_account
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
MOZ_ANDROID_SHARED_FXACCOUNT_TYPE = org.mozilla.fennec_account
endif