Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowserTexture/WebBrowserTexture.Build.cs
Thomas Sarkanen 8ba3c4c087 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4643671
#rb none
#jira none

[CL 4665410 by Thomas Sarkanen in Dev-Anim branch]
2018-12-17 06:31:16 -05:00

56 lines
1.3 KiB
C#

// Copyright 1998-2019 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.Platform == UnrealTargetPlatform.IOS ||
Target.Platform == UnrealTargetPlatform.TVOS ||
Target.bBuildEditor == true)
{
PublicIncludePaths.Add("Runtime/WebBrowserTexture/Public");
PrivateIncludePaths.Add("Runtime/WebBrowserTexture/Private");
// Needed for external texture support
PublicIncludePaths.AddRange(
new string[] {
"Runtime/MediaUtils/Public",
});
PrivateIncludePaths.AddRange(
new string[] {
"Runtime/MediaUtils/Private",
});
PrivateDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"ApplicationCore",
"RHI",
"InputCore",
"Slate",
"SlateCore",
"Serialization",
"MediaUtils",
"RenderCore",
"Engine",
"UtilityShaders",
"WebBrowser"
}
);
}
else
{
PrecompileForTargets = ModuleRules.PrecompileTargetsType.None;
}
}
}