You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-164814 #rb Chris.Babcock #preflight 632ccc3d100305080682e9ea [CL 22151094 by dmytro vovk in ue5-main branch]
26 lines
782 B
C#
26 lines
782 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System.IO;
|
|
using UnrealBuildTool;
|
|
|
|
[SupportedPlatforms(UnrealPlatformClass.All)]
|
|
public class LowLevelTestsTarget : TestTargetRules
|
|
{
|
|
public LowLevelTestsTarget(TargetInfo Target) : base(Target)
|
|
{
|
|
bWithLowLevelTestsOverride = true;
|
|
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Android)
|
|
{
|
|
string VersionScriptFile = Path.GetTempPath() + "LLTWorkaroundScrip.ldscript";
|
|
using (StreamWriter Writer = File.CreateText(VersionScriptFile))
|
|
{
|
|
// Workaround for a linker bug when building LowLevelTests for Android
|
|
Writer.WriteLine("{ local: *; };");
|
|
}
|
|
AdditionalLinkerArguments = " -Wl,--version-script=\"" + VersionScriptFile + "\"";
|
|
}
|
|
}
|
|
}
|