Bug 1055264 : Build flags added for firefox account profile -r=nalexander.

--HG--
extra : commitid : CB7Oe2LjdWO
extra : rebase_source : e914a08754618a5a44ad620afa422985bd09fdc7
This commit is contained in:
vivek 2015-06-10 21:22:00 -07:00
Родитель 342faa7ed0
Коммит 441e18b628
4 изменённых файлов: 21 добавлений и 1 удалений

Просмотреть файл

@ -4952,6 +4952,13 @@ if test -n "$MOZ_ANDROID_SHARE_OVERLAY"; then
AC_DEFINE(MOZ_ANDROID_SHARE_OVERLAY)
fi
dnl ========================================================
dnl = Show Firefox Account profile details on Android
dnl ========================================================
if test -n "$MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES"; then
AC_DEFINE(MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES)
fi
dnl = Include Tab Queue on Android
dnl = Temporary build flag to allow development in Nightly
dnl ========================================================
@ -8540,6 +8547,7 @@ AC_SUBST(MOZ_ANDROID_GECKOLIBS_AAR)
AC_SUBST(MOZ_ANDROID_READING_LIST_SERVICE)
AC_SUBST(MOZ_ANDROID_SEARCH_ACTIVITY)
AC_SUBST(MOZ_ANDROID_SHARE_OVERLAY)
AC_SUBST(MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES)
AC_SUBST(MOZ_ANDROID_TAB_QUEUE)
AC_SUBST(MOZ_ANDROID_MLS_STUMBLER)
AC_SUBST(MOZ_ANDROID_DOWNLOADS_INTEGRATION)

Просмотреть файл

@ -175,6 +175,13 @@ public class AppConstants {
false;
//#endif
public static final boolean MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES =
//#ifdef MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES
true;
//#else
false;
//#endif
public static final boolean MOZ_TELEMETRY_ON_BY_DEFAULT =
//#ifdef MOZ_TELEMETRY_ON_BY_DEFAULT
true;

Просмотреть файл

@ -744,7 +744,7 @@ ANDROID_GENERATED_RESFILES += [
for var in ('MOZ_ANDROID_ANR_REPORTER', 'MOZ_LINKER_EXTRACT', 'MOZILLA_OFFICIAL', 'MOZ_DEBUG',
'MOZ_ANDROID_SEARCH_ACTIVITY', 'MOZ_NATIVE_DEVICES', 'MOZ_ANDROID_MLS_STUMBLER',
'MOZ_ANDROID_SHARE_OVERLAY', 'MOZ_ANDROID_DOWNLOADS_INTEGRATION', 'MOZ_INSTALL_TRACKING',
'MOZ_ANDROID_TAB_QUEUE'):
'MOZ_ANDROID_TAB_QUEUE', 'MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES'):
if CONFIG[var]:
DEFINES[var] = 1

Просмотреть файл

@ -107,6 +107,11 @@ fi
# Use the low-memory GC tuning.
export JS_GC_SMALL_CHUNK_SIZE=1
# Enable FxAccount Avatar
if test "$NIGHTLY_BUILD"; then
MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES=1
fi
# Enable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=1
if test "$MOZ_OFFICIAL_BRANDING"; then