Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowserTexture/WebBrowserTexture.Build.cs
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -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;
}
}
}