2018-12-14 14:49:12 -05:00
|
|
|
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
|
|
|
{
|
|
|
|
|
public class AutomationController : ModuleRules
|
|
|
|
|
{
|
2017-01-30 16:52:08 -05:00
|
|
|
public AutomationController(ReadOnlyTargetRules Target) : base(Target)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
PublicDependencyModuleNames.AddRange(
|
|
|
|
|
new string[]
|
|
|
|
|
{
|
|
|
|
|
"Core",
|
2017-02-01 14:25:27 -05:00
|
|
|
"CoreUObject",
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
|
|
|
new string[]
|
|
|
|
|
{
|
2017-06-21 17:09:40 -04:00
|
|
|
"AssetRegistry",
|
|
|
|
|
"AutomationMessages",
|
2014-03-14 14:13:41 -04:00
|
|
|
"UnrealEdMessages",
|
2016-09-21 10:07:18 -04:00
|
|
|
"MessageLog",
|
|
|
|
|
"Json",
|
2016-10-19 15:01:48 -04:00
|
|
|
"JsonUtilities",
|
2017-01-31 15:22:49 -05:00
|
|
|
"ScreenShotComparisonTools",
|
2017-04-03 13:59:25 -04:00
|
|
|
"HTTP",
|
|
|
|
|
"AssetRegistry"
|
2016-09-21 10:07:18 -04:00
|
|
|
}
|
2014-03-14 14:13:41 -04:00
|
|
|
);
|
|
|
|
|
|
2017-07-21 12:42:36 -04:00
|
|
|
if (Target.bBuildEditor)
|
2016-08-09 11:28:56 -04:00
|
|
|
{
|
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
|
|
|
new string[] {
|
|
|
|
|
"UnrealEd",
|
|
|
|
|
"Engine", // Needed for UWorld/GWorld to find current level
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PrivateIncludePathModuleNames.AddRange(
|
2014-03-14 14:13:41 -04:00
|
|
|
new string[]
|
|
|
|
|
{
|
2017-08-30 09:37:09 -04:00
|
|
|
"MessagingCommon",
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
PrivateIncludePaths.AddRange(
|
|
|
|
|
new string[]
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
);
|
2018-01-20 11:19:29 -05:00
|
|
|
|
|
|
|
|
if (Target.bCompileAgainstEngine && Target.Configuration != UnrealTargetConfiguration.Shipping)
|
|
|
|
|
{
|
|
|
|
|
PrecompileForTargets = PrecompileTargetsType.Any;
|
|
|
|
|
}
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|