Files
UnrealEngineUWP/Engine/Source/Developer/AutomationController/AutomationController.Build.cs
andrew grant 3849b61f6b Moved automation settings to a common class.
Removed SetTreatWarningsAsErrors from AutomationFramework. Tests should now override TreatLogErrorsAsErrors and TreatLogWarningsAsErrors to control this behavior.

Tidied up some logging and formalized messages emitted by tests.

Emit a Gauntlet-parsed message on test completion

#rb CR'd


#ROBOMERGE-SOURCE: CL 6236960 via CL 6242044

[CL 6242091 by andrew grant in Main branch]
2019-05-01 21:54:37 -04:00

63 lines
1.4 KiB
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class AutomationController : ModuleRules
{
public AutomationController(ReadOnlyTargetRules Target) : base(Target)
{
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"Engine"
}
);
PrivateDependencyModuleNames.AddRange(
new string[]
{
"AssetRegistry",
"AutomationMessages",
"UnrealEdMessages",
"MessageLog",
"Json",
"JsonUtilities",
"ScreenShotComparisonTools",
"HTTP",
"AssetRegistry"
}
);
if (Target.bBuildEditor)
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"UnrealEd",
"Engine", // Needed for UWorld/GWorld to find current level
}
);
}
PrivateIncludePathModuleNames.AddRange(
new string[]
{
"MessagingCommon",
}
);
PrivateIncludePaths.AddRange(
new string[]
{
}
);
if (Target.bCompileAgainstEngine && Target.Configuration != UnrealTargetConfiguration.Shipping)
{
PrecompileForTargets = PrecompileTargetsType.Any;
}
}
}
}