Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowserTexture/WebBrowserTexture.Build.cs
Jack Porter 0ff57eac24 Fix CIS
#jira UE-59083
#rb None
#lockdown: Nick.Penwarden

[CL 4072502 by Jack Porter in Main branch]
2018-05-15 07:02:40 -04:00

57 lines
1.4 KiB
C#

// Copyright 1998-2018 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",
"ShaderCore",
"UtilityShaders",
"WebBrowser"
}
);
}
else
{
PrecompileForTargets = ModuleRules.PrecompileTargetsType.None;
}
}
}