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

@@ -11,6 +11,7 @@ using AutomationTool;
using UnrealBuildTool;
using System.Collections.Concurrent;
using EpicGames.Core;
using UnrealBuildBase;
/// <summary>
/// Helper command used for cooking.
@@ -46,7 +47,7 @@ public partial class Project : CommandUtils
if (Params.ClientTargetPlatforms.Count > 0)
{
var LogFolderOutsideOfSandbox = GetLogFolderOutsideOfSandbox();
if (!CommandUtils.IsEngineInstalled())
if (!Unreal.IsEngineInstalled())
{
// In the installed runs, this is the same folder as CmdEnv.LogFolder so delete only in not-installed
DeleteDirectory(LogFolderOutsideOfSandbox);