Add support for Tracy on Android

This commit is contained in:
Wojtek Figat
2021-05-13 16:24:35 +02:00
parent 13a6de8645
commit fd3553f668
18 changed files with 12314 additions and 32 deletions

View File

@@ -346,7 +346,8 @@ bool Scripting::LoadBinaryModules(const String& path, const String& projectFolde
const auto startTime = DateTime::NowUTC();
#if PLATFORM_ANDROID
// On Android all native binaries are side-by-side with the app
nativePath = StringUtils::GetDirectoryName(Platform::GetExecutableFilePath()) / StringUtils::GetFileName(nativePath);
nativePath = StringUtils::GetDirectoryName(Platform::GetExecutableFilePath());
nativePath /= StringUtils::GetFileName(nativePath);
#endif
auto library = Platform::LoadLibrary(nativePath.Get());
if (!library)