diff --git a/mobile/android/branding/aurora/configure.sh b/mobile/android/branding/aurora/configure.sh index fb5b3e4ba3e0..1a478f50494a 100644 --- a/mobile/android/branding/aurora/configure.sh +++ b/mobile/android/branding/aurora/configure.sh @@ -7,3 +7,4 @@ ANDROID_PACKAGE_NAME=org.mozilla.fennec_aurora MOZ_UPDATER=1 MOZ_ANDROID_ANR_REPORTER=1 MOZ_ANDROID_SHARED_ID=org.mozilla.fennec.sharedID +MOZ_ANDROID_GCM_SENDERID=829133274407 diff --git a/mobile/android/branding/beta/configure.sh b/mobile/android/branding/beta/configure.sh index 8b12d4d37db4..31989faa3735 100644 --- a/mobile/android/branding/beta/configure.sh +++ b/mobile/android/branding/beta/configure.sh @@ -7,3 +7,4 @@ ANDROID_PACKAGE_NAME=org.mozilla.firefox_beta MOZ_UPDATER= MOZ_ANDROID_ANR_REPORTER= MOZ_ANDROID_SHARED_ID=org.mozilla.firefox.sharedID +MOZ_ANDROID_GCM_SENDERID=829133274407 diff --git a/mobile/android/branding/nightly/configure.sh b/mobile/android/branding/nightly/configure.sh index 34b5e6f61345..271ac85604d6 100644 --- a/mobile/android/branding/nightly/configure.sh +++ b/mobile/android/branding/nightly/configure.sh @@ -6,3 +6,4 @@ MOZ_APP_DISPLAYNAME=Nightly MOZ_UPDATER=1 MOZ_ANDROID_ANR_REPORTER=1 MOZ_ANDROID_SHARED_ID=org.mozilla.fennec.sharedID +MOZ_ANDROID_GCM_SENDERID=829133274407 diff --git a/mobile/android/branding/official/configure.sh b/mobile/android/branding/official/configure.sh index 38da9fc9290e..a2af06f32e68 100644 --- a/mobile/android/branding/official/configure.sh +++ b/mobile/android/branding/official/configure.sh @@ -7,3 +7,4 @@ ANDROID_PACKAGE_NAME=org.mozilla.firefox MOZ_UPDATER= MOZ_ANDROID_ANR_REPORTER= MOZ_ANDROID_SHARED_ID=org.mozilla.firefox.sharedID +MOZ_ANDROID_GCM_SENDERID=829133274407 diff --git a/mobile/android/branding/unofficial/configure.sh b/mobile/android/branding/unofficial/configure.sh index 222b655d9c3f..0d82210ffc39 100644 --- a/mobile/android/branding/unofficial/configure.sh +++ b/mobile/android/branding/unofficial/configure.sh @@ -6,3 +6,4 @@ ANDROID_PACKAGE_NAME=org.mozilla.fennec_`echo $USER | sed 's/-/_/g'` MOZ_APP_DISPLAYNAME="Fennec `echo $USER | sed 's/-/_/g'`" MOZ_UPDATER= MOZ_ANDROID_ANR_REPORTER= +MOZ_ANDROID_GCM_SENDERID=829133274407 diff --git a/old-configure.in b/old-configure.in index 72ee2d4395d9..e8422fd50ee6 100644 --- a/old-configure.in +++ b/old-configure.in @@ -3700,7 +3700,6 @@ MOZ_ANDROID_BEAM= MOZ_LOCALE_SWITCHER= MOZ_ANDROID_SEARCH_ACTIVITY= MOZ_ANDROID_DOWNLOADS_INTEGRATION= -MOZ_ANDROID_GCM= MOZ_ANDROID_MLS_STUMBLER= MOZ_EXCLUDE_HYPHENATION_DICTIONARIES= MOZ_INSTALL_TRACKING= @@ -3856,14 +3855,6 @@ MOZ_ARG_WITH_STRING(adjust-sdk-keyfile, MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN=`cat $withval`) AC_SUBST(MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN) -# Allow specifying a GCM sender ID key file that contains the sender ID used for -# GCM requests. Note that GCM sender IDs are not sensitive: see, for example, -# http://stackoverflow.com/a/18216063. -MOZ_ARG_WITH_STRING(gcm-senderid-keyfile, -[ --with-gcm-senderid-keyfile=file GCM sender ID for GCM requests], - MOZ_ANDROID_GCM_SENDERID=`cat $withval`) -AC_SUBST(MOZ_ANDROID_GCM_SENDERID) - # Whether this APK is destined for resource constrained devices. # We want this in mobile/android/confvars.sh, so it goes early. MOZ_ARG_ENABLE_BOOL(android-resource-constrained, @@ -8576,7 +8567,9 @@ AC_SUBST(MOZ_CHILD_PROCESS_BUNDLE) # set, it falls back to a Mozilla-specific value derived from the # build ID. # - MOZ_ANDROID_SHARED_ID: On Android, "android:sharedUserId" for all Android -# - packages produced. +# packages produced. +# - MOZ_ANDROID_GCM_SENDERID: On Android, the Android GCM Sender ID used. GCM +# sender IDs are not sensitive: see, http://stackoverflow.com/a/18216063. # - MOZ_PROFILE_MIGRATOR: When set, enables profile migrator. if test -z "$MOZ_APP_NAME"; then @@ -8634,6 +8627,7 @@ AC_SUBST(MOZ_APP_PROFILE) AC_SUBST(MOZ_APP_ID) AC_SUBST(MOZ_APP_ANDROID_VERSION_CODE) AC_SUBST(MOZ_ANDROID_SHARED_ID) +AC_SUBST(MOZ_ANDROID_GCM_SENDERID) AC_SUBST(MAR_CHANNEL_ID) AC_SUBST(ACCEPTED_MAR_CHANNEL_IDS) AC_SUBST(MOZ_PROFILE_MIGRATOR)