You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Old Profiler is deprecated since UE 5.0. Use Trace/UnrealInsights instead. Added UE_DEPRECATED_PROFILER_ENABLED global define toggle (off by default; this allows to temporarily re-enable Profiler if needed; see UnrealFrontend.Target.cs). Profiler module/code will be removed in a future UE version. #jira UE-141782 #jira UE-118368 #rb David.Harvey #fyi Johan.Berg #preflight 64432343f030f684d537e46f [CL 25161301 by ionut matasaru in ue5-main branch]
52 lines
1.0 KiB
C#
52 lines
1.0 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.Linq;
|
|
using UnrealBuildTool;
|
|
|
|
public class SessionFrontend : ModuleRules
|
|
{
|
|
public SessionFrontend(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"Slate",
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"DesktopPlatform",
|
|
"ApplicationCore",
|
|
"InputCore",
|
|
"Json",
|
|
"SessionServices",
|
|
"SlateCore",
|
|
|
|
// @todo gmp: remove these dependencies by making the session front-end extensible
|
|
"AutomationWindow",
|
|
"ScreenShotComparison",
|
|
"ScreenShotComparisonTools",
|
|
"TargetPlatform",
|
|
"WorkspaceMenuStructure",
|
|
}
|
|
);
|
|
|
|
if (Target.GlobalDefinitions.Contains("UE_DEPRECATED_PROFILER_ENABLED=1"))
|
|
{
|
|
if (Target.Configuration != UnrealTargetConfiguration.Shipping)
|
|
{
|
|
PrivateDependencyModuleNames.Add("Profiler");
|
|
}
|
|
}
|
|
|
|
PrivateIncludePathModuleNames.AddRange(
|
|
new string[] {
|
|
"Messaging",
|
|
"TargetDeviceServices",
|
|
}
|
|
);
|
|
}
|
|
}
|