зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
9ee1144258
Коммит
cf487632d8
|
@ -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=,
|
||||
|
|
Загрузка…
Ссылка в новой задаче