| 5 | #include "Engine/Platform/FileSystem.h" |
| 6 | |
| 7 | bool PostProcessStep::Perform(CookingData& data) |
| 8 | { |
| 9 | // Print .NET stats |
| 10 | const DotNetAOTModes aotMode = data.Tools->UseAOT(); |
| 11 | uint64 outputSize = FileSystem::GetDirectorySize(data.DataOutputPath / TEXT("Dotnet")); |
| 12 | if (aotMode == DotNetAOTModes::None) |
| 13 | { |
| 14 | for (auto& binaryModule : data.BinaryModules) |
| 15 | outputSize += FileSystem::GetFileSize(data.DataOutputPath / binaryModule.ManagedPath); |
| 16 | } |
| 17 | LOG(Info, "Output .NET files size: {0} MB", (uint32)(outputSize / (1024ull * 1024))); |
| 18 | |
| 19 | GameCooker::PostProcessFiles(); |
| 20 | return data.Tools->OnPostProcess(data); |
| 21 | } |
nothing calls this directly
no test coverage detected