Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowserTexture/WebBrowserTexture.Build.cs
ryan durand 0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00

55 lines
1.3 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.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",
"WebBrowser"
}
);
}
else
{
PrecompileForTargets = ModuleRules.PrecompileTargetsType.None;
}
}
}