[development] removed CryLibrary (#5474)
* [redcode_crylibrary] replaced CrySystem loading in launcher and editor with new custom wrapper that uses AZ::DynamicModuleHandle Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com> * [redcode_crylibrary] removed all remaining references to CryLibrary Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com> * [redcode_crylibrary] migrate CrySystem loading to use AZ::DynamicModuleHandle directly instead Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com> * [redcode_crylibrary] clean up of CrySystemModuleHandle and old CrySystem module [un]init functions Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com> * [redcode_crylibrary] added trailing newline to DllMain.cpp in CrySystem Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
This commit is contained in:
@@ -12,8 +12,6 @@
|
||||
#include <AzCore/IO/SystemFile.h> // for AZ_MAX_PATH_LEN
|
||||
#include <AzCore/Math/Vector2.h>
|
||||
|
||||
#include <CryLibrary.h>
|
||||
|
||||
#include <execinfo.h>
|
||||
#include <libgen.h>
|
||||
#include <netdb.h>
|
||||
@@ -86,17 +84,6 @@ int main(int argc, char** argv)
|
||||
|
||||
using namespace O3DELauncher;
|
||||
|
||||
#if !defined(AZ_MONOLITHIC_BUILD)
|
||||
char exePath[AZ_MAX_PATH_LEN] = { 0 };
|
||||
if (readlink("/proc/self/exe", exePath, AZ_MAX_PATH_LEN) == -1)
|
||||
{
|
||||
return static_cast<int>(ReturnCode::ErrExePath);
|
||||
}
|
||||
|
||||
char* runDir = dirname(exePath);
|
||||
SetModulePath(runDir);
|
||||
#endif // !defined(AZ_MONOLITHIC_BUILD)
|
||||
|
||||
PlatformMainInfo mainInfo;
|
||||
|
||||
mainInfo.m_updateResourceLimits = IncreaseResourceLimits;
|
||||
|
||||
Reference in New Issue
Block a user