зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1762278 - Fix Geckoview wrap.sh for debugging with API 29+ r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D142497
This commit is contained in:
Родитель
3b81c6e6c5
Коммит
f9c193f69c
|
@ -40,12 +40,13 @@ shift
|
|||
|
||||
# enable debugging
|
||||
# https://developer.android.com/ndk/guides/wrap-script#debugging_when_using_wrapsh
|
||||
# note that wrap.sh is not supported before android 8.1 (API 27)
|
||||
if [ "$os_version" -eq "27" ]; then
|
||||
args=("-Xrunjdwp:transport=dt_android_adb,suspend=n,server=y" -Xcompiler-option --debuggable)
|
||||
elif [ "$os_version" -eq "28" ]; then
|
||||
args=(-XjdwpProvider:adbconnection "-XjdwpOptions:suspend=n,server=y" -Xcompiler-option --debuggable)
|
||||
else
|
||||
args=(-XjdwpProvider:adbconnection)
|
||||
args=(-XjdwpProvider:adbconnection "-XjdwpOptions:suspend=n,server=y")
|
||||
fi
|
||||
|
||||
exec "$cmd" "${args[@]}" "$@"
|
||||
|
|
|
@ -40,12 +40,13 @@ shift
|
|||
|
||||
# enable debugging
|
||||
# https://developer.android.com/ndk/guides/wrap-script#debugging_when_using_wrapsh
|
||||
# note that wrap.sh is not supported before android 8.1 (API 27)
|
||||
if [ "$os_version" -eq "27" ]; then
|
||||
args=("-Xrunjdwp:transport=dt_android_adb,suspend=n,server=y" -Xcompiler-option --debuggable)
|
||||
elif [ "$os_version" -eq "28" ]; then
|
||||
args=(-XjdwpProvider:adbconnection "-XjdwpOptions:suspend=n,server=y" -Xcompiler-option --debuggable)
|
||||
else
|
||||
args=(-XjdwpProvider:adbconnection)
|
||||
args=(-XjdwpProvider:adbconnection "-XjdwpOptions:suspend=n,server=y")
|
||||
fi
|
||||
|
||||
exec "$cmd" "${args[@]}" "$@"
|
||||
|
|
|
@ -40,12 +40,13 @@ shift
|
|||
|
||||
# enable debugging
|
||||
# https://developer.android.com/ndk/guides/wrap-script#debugging_when_using_wrapsh
|
||||
# note that wrap.sh is not supported before android 8.1 (API 27)
|
||||
if [ "$os_version" -eq "27" ]; then
|
||||
args=("-Xrunjdwp:transport=dt_android_adb,suspend=n,server=y" -Xcompiler-option --debuggable)
|
||||
elif [ "$os_version" -eq "28" ]; then
|
||||
args=(-XjdwpProvider:adbconnection "-XjdwpOptions:suspend=n,server=y" -Xcompiler-option --debuggable)
|
||||
else
|
||||
args=(-XjdwpProvider:adbconnection)
|
||||
args=(-XjdwpProvider:adbconnection "-XjdwpOptions:suspend=n,server=y")
|
||||
fi
|
||||
|
||||
exec "$cmd" "${args[@]}" "$@"
|
||||
|
|
|
@ -40,12 +40,13 @@ shift
|
|||
|
||||
# enable debugging
|
||||
# https://developer.android.com/ndk/guides/wrap-script#debugging_when_using_wrapsh
|
||||
# note that wrap.sh is not supported before android 8.1 (API 27)
|
||||
if [ "$os_version" -eq "27" ]; then
|
||||
args=("-Xrunjdwp:transport=dt_android_adb,suspend=n,server=y" -Xcompiler-option --debuggable)
|
||||
elif [ "$os_version" -eq "28" ]; then
|
||||
args=(-XjdwpProvider:adbconnection "-XjdwpOptions:suspend=n,server=y" -Xcompiler-option --debuggable)
|
||||
else
|
||||
args=(-XjdwpProvider:adbconnection)
|
||||
args=(-XjdwpProvider:adbconnection "-XjdwpOptions:suspend=n,server=y")
|
||||
fi
|
||||
|
||||
exec "$cmd" "${args[@]}" "$@"
|
||||
|
|
Загрузка…
Ссылка в новой задаче