| 15 | |
| 16 | |
| 17 | QString PathUtils::GetADBExecutablePath() { |
| 18 | if (!sdkPath_.isEmpty() && QFile::exists(sdkPath_)) { |
| 19 | #ifdef Q_OS_WIN |
| 20 | auto adbPath = sdkPath_ + "/platform-tools/adb.exe"; |
| 21 | #else |
| 22 | auto adbPath = sdkPath_ + "/platform-tools/adb"; |
| 23 | #endif |
| 24 | if (QFile::exists(adbPath)) |
| 25 | return adbPath; |
| 26 | } |
| 27 | return QString(); |
| 28 | } |
| 29 | |
| 30 | QString PathUtils::GetPythonExecutablePath() { |
| 31 | // Try to find Python in NDK first |
nothing calls this directly
no outgoing calls
no test coverage detected