You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
58 lines
1.8 KiB
C#
58 lines
1.8 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
{
|
|
public class WebBrowserWidget : ModuleRules
|
|
{
|
|
public WebBrowserWidget(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"Core",
|
|
"CoreUObject",
|
|
"WebBrowser",
|
|
"Slate",
|
|
"SlateCore",
|
|
"UMG",
|
|
"Engine"
|
|
}
|
|
);
|
|
|
|
if (Target.bBuildEditor == true)
|
|
{
|
|
//@TODO: UnrealEd Needed for the triangulation code used for sprites (but only in editor mode)
|
|
//@TOOD: Try to move the code dependent on the triangulation code to the editor-only module
|
|
PrivateIncludePathModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"UnrealEd",
|
|
}
|
|
);
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"UnrealEd",
|
|
}
|
|
);
|
|
}
|
|
|
|
if (Target.bBuildEditor || Target.Platform == UnrealTargetPlatform.Android || Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
// WebBrowserTexture required for cooking Android
|
|
PrivateIncludePathModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"WebBrowserTexture",
|
|
}
|
|
);
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"WebBrowserTexture",
|
|
}
|
|
);
|
|
}
|
|
}
|
|
}
|
|
} |