Bug 1924743 - Only show lldb-server warning if there are multiple versions installed r=firefox-build-system-reviewers,nalexander

Differential Revision: https://phabricator.services.mozilla.com/D250563
This commit is contained in:
Alex Hochheiden
2025-05-22 22:05:13 +00:00
committed by ahochheiden@mozilla.com
parent 1f70d01002
commit b7606eb0d3

View File

@@ -213,6 +213,8 @@ def android_lldb_server(target, host, ndk, lldb):
) )
sorted_versions = sorted(clang_subdirs, key=Version) sorted_versions = sorted(clang_subdirs, key=Version)
highest_version = sorted_versions[-1] highest_version = sorted_versions[-1]
if len(sorted_versions) > 1:
log.warning("Using highest version available: %s" % quote(highest_version)) log.warning("Using highest version available: %s" % quote(highest_version))
log.warning( log.warning(
" Available versions: " " Available versions: "