Commit Graph

26 Commits

Author SHA1 Message Date
joe kirchoff
4838ff85be [Backout] - CL34354297
[FYI] Joe.Kirchoff

Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Remove usage of obsolate BinarySerializer and replace with Json

#rnx

[CL 34437061 by joe kirchoff in ue5-main branch]
2024-06-17 15:15:28 -04:00
joe kirchoff
a5b67572d6 UnrealBuildTool: Remove usage of obsolate BinarySerializer and replace with Json
#rnx

[CL 34354327 by joe kirchoff in ue5-main branch]
2024-06-13 17:00:32 -04:00
joe kirchoff
5f5a8a703e UnrealBuildTool: Move several helper functions to EpicGames.Build
#rnx

[CL 33815711 by joe kirchoff in ue5-main branch]
2024-05-21 19:32:34 -04:00
joe kirchoff
36d266e932 UnrealBuildTool: Automated code cleanup
#rnx
#preflight 6476799e947ff6973c225619

[CL 25693241 by joe kirchoff in ue5-main branch]
2023-05-30 18:38:07 -04:00
Ben Marsh
3889217961 UBT: Merging CL 25121561 to support async ToolMode and ActionExecutor instances.
#preflight none

[CL 25121660 by Ben Marsh in ue5-main branch]
2023-04-19 21:44:13 -04:00
joe kirchoff
0b859cfb27 [Backout] - CL23749664
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Fix Action conflict when writing out metadata by ensuring the .version file is written first, then write the .modules and .target files in separate steps that load that version file

#rnx
#rb Josh.Adams
#preflight 63c73b8e7763631ba167e292

[CL 23758203 by joe kirchoff in ue5-main branch]
2023-01-18 12:11:21 -05:00
Joe Kirchoff
b0476f93e7 UnrealBuildTool: Fix Action conflict when writing out metadata by ensuring the .version file is written first, then write the .modules and .target files in separate steps that load that version file
#rnx
#rb Josh.Adams
#preflight 63c73b8e7763631ba167e292

[CL 23749664 by Joe Kirchoff in ue5-main branch]
2023-01-17 19:38:31 -05:00
Wojciech Krywult
dc47ecf009 Modular builds: UBT: Added an option to generate .loadorder manifest file that includes a list of all dynamic modules in the order in which they are meant to be loaded (based on their dependencies).
It's needed on some platforms that don't handle DLLs dependencies out of the box. Generation of this file is integrated into the build metadata generation but is only triggered for platforms that explicitly indicate that it's needed (UEBuildPlatform.RequiresLoadOrderManifest()).

#rb Joe.Kirchoff
#preflight 62d57764f156340c79b98306

[CL 21149087 by Wojciech Krywult in ue5-main branch]
2022-07-18 11:31:22 -04:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
ben marsh
e572f6d330 UBT: Revert CL 18260416. We need to update the timestamp on the engine version file to prevent the update action running multiple times.
The action should not run if no engine files have been modified. If new engine files are being added to the manifest, the version file can be written without having any changes. Installed builds will not run the action due to the path check.

#jira UE-133086
#preflight 61df35b7484d866ec01c8597

#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 18588751 in //UE5/Release-5.0/... via CL 18588762 via CL 18588785
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18588797 by ben marsh in ue5-main branch]
2022-01-12 15:27:43 -05:00
ben marsh
847282a0ce UBT: Prevent engine metadata files being overwritten in installed builds.
#preflight 61b362b5c01c89f906e4ff3e

#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 18438892 in //UE5/Release-5.0/... via CL 18444737
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18444871 by ben marsh in ue5-release-engine-test branch]
2021-12-13 13:16:21 -05:00
tim smith
e5ece544be Fix UBT issue where a game project outside of the engine directory tree could end up with a BuildId that isn't in sync with the engine.
#rb Ben.Marsh
#rnx

#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 18265041 in //UE5/Release-5.0/... via CL 18265047
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18265049 by tim smith in ue5-release-engine-test branch]
2021-11-22 19:14:34 -05:00
ben marsh
20e622e740 UBT: Prevent timestamp being updated on *.version files if contents have not changed.
#jira UE-135617

#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 18260025 in //UE5/Release-5.0/... via CL 18260035
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18260208 by ben marsh in ue5-release-engine-test branch]
2021-11-22 13:03:04 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
jonathan adamczewski
64c210d294 AutomationTool, BuildUtilities:
UnrealBuild -> Unreal for EngineDirectory, RootDirectory, IsEngineInstalled, UnrealBuildToolPath
Remove CommandUtils EngineDirectory, RootDirectory, IsEngineInstalled - use equvalents from UnrealBuildBase.Unreal

#jira none

#ROBOMERGE-SOURCE: CL 16648181 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16648203 by jonathan adamczewski in ue5-release-engine-test branch]
2021-06-11 18:21:35 -04:00
jonathan adamczewski
d58996b916 UnrealBuildTool: move some path constants into BuildUtilities
RootDirectory, EngineDirectory, UnrealBuildToolPath are now found in BuildUtilities' UnrealBuild namesapce.

The way these are computed has changed. Previously, it was assumed that the application is UnrealBuildTool, and paths were constructed relative to that assembly.

Now, the assumption is that the process is located under a "Engine/Build/DotNET" sub-path and paths are constructed relative to that.

#jira none

#ROBOMERGE-SOURCE: CL 16607440 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16607455 by jonathan adamczewski in ue5-release-engine-test branch]
2021-06-09 12:55:13 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
Joakim Lindqvist
04ede392fe Adding info on which processes has file opened to debug UE-105044. Removed previous temp output as we have determined the mutex locking is working as expected.
#jira UE-105044

[CL 15083046 by Joakim Lindqvist in ue5-main branch]
2021-01-14 08:58:18 -04:00
Joakim Lindqvist
b01a37b4a6 Added debug output to help track down
UE-105044

[CL 15009811 by Joakim Lindqvist in ue5-main branch]
2021-01-07 10:19:31 -04:00
Ben Marsh
6f927647b1 Changing C# code over to using EpicGames.Core over DotNETCommon.
#rb none
#rnx

[CL 14962096 by Ben Marsh in ue5-main branch]
2020-12-21 23:07:37 -04:00
Ben Marsh
68f5abeb09 UBT: Convert UnrealBuildTool to use nullable references.
#rb none
#rnx

[CL 14960546 by Ben Marsh in ue5-main branch]
2020-12-20 18:47:42 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
Ryan Durand
9ef3748747 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870955 by Ryan Durand in Main branch]
2019-12-26 23:01:54 -05:00
ben marsh
5eeedbf783 UBT: Always treat *.modules files as being up to date for an installed engine. Prevents BuildId being regenerated if timestamps for DLLs are newer.
#rb none
#jira UE-76017

#ROBOMERGE-SOURCE: CL 6916209 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main) (v366-6836689)

[CL 6916227 by ben marsh in Main branch]
2019-06-10 15:53:30 -04:00
Ben Marsh
be3d222b55 Fix CIS
#rb none
#rnx

[CL 4723062 by Ben Marsh in Main branch]
2019-01-14 21:44:55 -05:00