Bug 1311460 - Enable MOZ_GAMEPAD on Tier3 platforms by default. r=ted

MozReview-Commit-ID: AunGjpawK7P

--HG--
extra : rebase_source : 75085de831afd25a5f8c55ec2484e1b3f59e8770
This commit is contained in:
Jan Beich 2016-10-19 17:48:27 +00:00
Родитель 9ee1144258
Коммит cf487632d8
1 изменённых файлов: 1 добавлений и 20 удалений

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

@ -3519,28 +3519,9 @@ fi # COMPILE_ENVIRONMENT
dnl ========================================================
dnl Gamepad support
dnl ========================================================
MOZ_GAMEPAD=
MOZ_GAMEPAD=1
MOZ_GAMEPAD_BACKEND=stub
# Gamepad DOM is built on supported platforms by default.
case "$OS_TARGET" in
WINNT|Linux)
MOZ_GAMEPAD=1
;;
Darwin)
if test -z "$MOZ_IOS"; then
MOZ_GAMEPAD=1
fi
;;
Android)
if test "$MOZ_WIDGET_TOOLKIT" != "gonk"; then
MOZ_GAMEPAD=1
fi
;;
*)
;;
esac
MOZ_ARG_DISABLE_BOOL(gamepad,
[ --disable-gamepad Disable gamepad support],
MOZ_GAMEPAD=,