Files
UnrealEngineUWP/Engine/Plugins/Runtime/WebBrowserWidget/Source/WebBrowserWidget/WebBrowserWidget.build.cs
Marc Audy 360d078ca3 Second batch of remaining Engine copyright updates.
#rnx
#rb none

[CL 10871248 by Marc Audy in Main branch]
2019-12-27 09:26:59 -05:00

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",
}
);
}
}
}
}