2019-12-26 14:45:42 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2017-12-01 15:08:15 -05:00
|
|
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
|
|
public class WebBrowserTexture : ModuleRules
|
|
|
|
|
{
|
|
|
|
|
public WebBrowserTexture(ReadOnlyTargetRules Target) : base(Target)
|
|
|
|
|
{
|
2017-12-04 12:54:47 -05:00
|
|
|
// 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
|
2018-05-02 22:53:38 -04:00
|
|
|
if (Target.Platform == UnrealTargetPlatform.Android ||
|
2018-05-15 07:02:40 -04:00
|
|
|
Target.Platform == UnrealTargetPlatform.IOS ||
|
|
|
|
|
Target.Platform == UnrealTargetPlatform.TVOS ||
|
2018-05-02 22:53:38 -04:00
|
|
|
Target.bBuildEditor == true)
|
2017-12-01 15:08:15 -05:00
|
|
|
{
|
|
|
|
|
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[]
|
|
|
|
|
{
|
2017-12-01 18:16:25 -05:00
|
|
|
"Core",
|
|
|
|
|
"CoreUObject",
|
2017-12-01 15:08:15 -05:00
|
|
|
"ApplicationCore",
|
|
|
|
|
"RHI",
|
|
|
|
|
"InputCore",
|
|
|
|
|
"Slate",
|
|
|
|
|
"SlateCore",
|
|
|
|
|
"Serialization",
|
|
|
|
|
"MediaUtils",
|
|
|
|
|
"RenderCore",
|
|
|
|
|
"Engine",
|
|
|
|
|
"WebBrowser"
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
}
|
2017-12-01 18:16:25 -05:00
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
PrecompileForTargets = ModuleRules.PrecompileTargetsType.None;
|
|
|
|
|
}
|
2017-12-01 15:08:15 -05:00
|
|
|
}
|
|
|
|
|
}
|