зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1044794 - Part 1: build flag for share overlays. r=nalexander
This commit is contained in:
Родитель
9a0cb38842
Коммит
50da92ad57
|
@ -3833,6 +3833,7 @@ MOZ_ANDROID_BEAM=
|
|||
MOZ_LOCALE_SWITCHER=
|
||||
MOZ_ANDROID_SEARCH_ACTIVITY=
|
||||
MOZ_ANDROID_MLS_STUMBLER=
|
||||
MOZ_ANDROID_SHARE_OVERLAY=
|
||||
ACCESSIBILITY=1
|
||||
MOZ_TIME_MANAGER=
|
||||
MOZ_PAY=
|
||||
|
@ -4855,6 +4856,13 @@ if test -n "$MOZ_ANDROID_MLS_STUMBLER"; then
|
|||
AC_DEFINE(MOZ_ANDROID_MLS_STUMBLER)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Include share overlay on Android
|
||||
dnl ========================================================
|
||||
if test -n "$MOZ_ANDROID_SHARE_OVERLAY"; then
|
||||
AC_DEFINE(MOZ_ANDROID_SHARE_OVERLAY)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable IPDL's "expensive" unit tests
|
||||
dnl ========================================================
|
||||
|
@ -8447,6 +8455,7 @@ AC_SUBST(MOZ_ANDROID_BEAM)
|
|||
AC_SUBST(MOZ_LOCALE_SWITCHER)
|
||||
AC_SUBST(MOZ_DISABLE_GECKOVIEW)
|
||||
AC_SUBST(MOZ_ANDROID_SEARCH_ACTIVITY)
|
||||
AC_SUBST(MOZ_ANDROID_SHARE_OVERLAY)
|
||||
AC_SUBST(MOZ_ANDROID_MLS_STUMBLER)
|
||||
AC_SUBST(ENABLE_STRIP)
|
||||
AC_SUBST(PKG_SKIP_STRIP)
|
||||
|
|
|
@ -6,3 +6,6 @@
|
|||
|
||||
if CONFIG['MOZ_ANDROID_SEARCH_ACTIVITY']:
|
||||
DEFINES['MOZ_ANDROID_SEARCH_ACTIVITY'] = 1
|
||||
|
||||
if CONFIG['MOZ_ANDROID_SHARE_OVERLAY']:
|
||||
DEFINES['MOZ_ANDROID_SHARE_OVERLAY'] = 1
|
||||
|
|
|
@ -587,7 +587,8 @@ 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_SEARCH_ACTIVITY', 'MOZ_NATIVE_DEVICES', 'MOZ_ANDROID_MLS_STUMBLER',
|
||||
'MOZ_ANDROID_SHARE_OVERLAY'):
|
||||
if CONFIG[var]:
|
||||
DEFINES[var] = 1
|
||||
|
||||
|
|
|
@ -81,5 +81,8 @@ else
|
|||
MOZ_ANDROID_SEARCH_ACTIVITY=
|
||||
fi
|
||||
|
||||
# Don't enable the share overlay.
|
||||
# MOZ_ANDROID_SHARE_OVERLAY=1
|
||||
|
||||
# Don't enable the Mozilla Location Service stumbler.
|
||||
# MOZ_ANDROID_MLS_STUMBLER=1
|
||||
|
|
Загрузка…
Ссылка в новой задаче