Files
UnrealEngineUWP/Engine/Source/Programs/WebTests/WebTests.Build.cs
chris constantinescu 5d2d569cb1 Use optional arguments and Extend/Expand pattern for Macros to reduce LLT xml metadata file footprint
.xml metadata files are generated exclusively using TestMode, from values of TestMetadata set from the module class
RunUBT -Mode=Test -GenerateMetadata
To support additional NDA platforms, build modules must be created.
Cleanup unused metadata files from the previous generation system.
#jira UE-195038
#rb Jerome.Delattre

[CL 33373724 by chris constantinescu in ue5-main branch]
2024-05-01 11:35:44 -04:00

44 lines
1.5 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class WebTests : TestModuleRules
{
static WebTests()
{
TestMetadata = new Metadata();
TestMetadata.TestName = "Web";
TestMetadata.TestShortName = "Web";
TestMetadata.ReportType = "xml";
TestMetadata.SupportedPlatforms.Add(UnrealTargetPlatform.Linux);
TestMetadata.SupportedPlatforms.Add(UnrealTargetPlatform.Mac);
TestMetadata.SupportedPlatforms.Add(UnrealTargetPlatform.Android);
TestMetadata.SupportedPlatforms.Add(UnrealTargetPlatform.IOS);
TestMetadata.HasAfterSteps = true;
TestMetadata.PlatformCompilationExtraArgs.Add(UnrealTargetPlatform.Win64, "-allmodules");
TestMetadata.PlatformCompilationExtraArgs.Add(UnrealTargetPlatform.Linux, "-allmodules");
TestMetadata.PlatformCompilationExtraArgs.Add(UnrealTargetPlatform.LinuxArm64, "-allmodules");
TestMetadata.PlatformCompilationExtraArgs.Add(UnrealTargetPlatform.Mac, "-allmodules");
TestMetadata.PlatformCompilationExtraArgs.Add(UnrealTargetPlatform.IOS, "-allmodules");
TestMetadata.PlatformCompilationExtraArgs.Add(UnrealTargetPlatform.TVOS, "-allmodules");
TestMetadata.PlatformCompilationExtraArgs.Add(UnrealTargetPlatform.Android, "-allmodules -architectures=arm64");
TestMetadata.PlatformCompilationExtraArgs.Add(UnrealTargetPlatform.VisionOS, "-allmodules");
}
public WebTests(ReadOnlyTargetRules Target) : base(Target)
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"ApplicationCore",
"Core",
"HTTP",
"HTTPServer",
"WebSockets",
"Json"
});
}
}