Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowserTexture/WebBrowserTexture.Build.cs
josh adams 82ea6a767a [Backout] - CL26223564
[FYI] keaton.stewart
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26226852 by josh adams in ue5-main branch]
2023-06-24 17:52:48 -04:00

47 lines
1.0 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class WebBrowserTexture : ModuleRules
{
public WebBrowserTexture(ReadOnlyTargetRules Target) : base(Target)
{
// WebBrowserTexture objects are needed only on Android, but we also need to be able to
// cook the asset so we must include it in editor builds
if (Target.Platform == UnrealTargetPlatform.Android ||
Target.IsInPlatformGroup(UnrealPlatformGroup.IOS) ||
Target.bBuildEditor == true)
{
// Needed for external texture support
PublicIncludePathModuleNames.AddRange(
new string[] {
"MediaUtils",
}
);
PrivateDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"ApplicationCore",
"RHI",
"InputCore",
"Slate",
"SlateCore",
"Serialization",
"MediaUtils",
"RenderCore",
"Engine",
"WebBrowser"
}
);
}
else
{
PrecompileForTargets = ModuleRules.PrecompileTargetsType.None;
}
}
}