AutomationTool, BuildUtilities:

UnrealBuild -> Unreal for EngineDirectory, RootDirectory, IsEngineInstalled, UnrealBuildToolPath
Remove CommandUtils EngineDirectory, RootDirectory, IsEngineInstalled - use equvalents from UnrealBuildBase.Unreal

#jira none

[CL 16648181 by jonathan adamczewski in ue5-main branch]
This commit is contained in:
jonathan adamczewski
2021-06-11 18:20:44 -04:00
parent e9df8f8086
commit 4ece24e65a
142 changed files with 565 additions and 533 deletions

View File

@@ -275,10 +275,10 @@ namespace UnrealBuildTool
{
SourceFileMetadataCache? Cache = null;
if(ProjectFile == null || !UnrealBuild.IsEngineInstalled())
if(ProjectFile == null || !Unreal.IsEngineInstalled())
{
FileReference EngineCacheLocation = FileReference.Combine(UnrealBuild.EngineDirectory, "Intermediate", "Build", "SourceFileCache.bin");
Cache = FindOrAddCache(EngineCacheLocation, UnrealBuild.EngineDirectory, Cache);
FileReference EngineCacheLocation = FileReference.Combine(Unreal.EngineDirectory, "Intermediate", "Build", "SourceFileCache.bin");
Cache = FindOrAddCache(EngineCacheLocation, Unreal.EngineDirectory, Cache);
}
if(ProjectFile != null)
@@ -297,9 +297,9 @@ namespace UnrealBuildTool
/// <returns>Dependency cache hierarchy for the given project</returns>
public static IEnumerable<FileReference> GetFilesToClean(FileReference? ProjectFile)
{
if(ProjectFile == null || !UnrealBuild.IsEngineInstalled())
if(ProjectFile == null || !Unreal.IsEngineInstalled())
{
yield return FileReference.Combine(UnrealBuild.EngineDirectory, "Intermediate", "Build", "SourceFileCache.bin");
yield return FileReference.Combine(Unreal.EngineDirectory, "Intermediate", "Build", "SourceFileCache.bin");
}
if(ProjectFile != null)
{