Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowser/WebBrowser.Build.cs
Alex Fennell d10f9953d9 Copying //UE4/Portal-Staging to //UE4/Dev-Main (Source: //UE4/Portal-Staging @ 3138637)
#lockdown Nick.Penwarden, justin.sargent
#rb None

[CL 3138769 by Alex Fennell in Main branch]
2016-09-23 17:31:51 -04:00

63 lines
1.6 KiB
C#

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class WebBrowser : ModuleRules
{
public WebBrowser(TargetInfo Target)
{
PublicIncludePaths.Add("Runtime/WebBrowser/Public");
PrivateIncludePaths.Add("Runtime/WebBrowser/Private");
PrivateDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"RHI",
"InputCore",
"Slate",
"SlateCore",
"Serialization",
}
);
if (Target.Platform == UnrealTargetPlatform.Android)
{
// We need this one on Android for URL decoding
PrivateDependencyModuleNames.Add("HTTP");
}
if (Target.Platform == UnrealTargetPlatform.Win64
|| Target.Platform == UnrealTargetPlatform.Win32
|| Target.Platform == UnrealTargetPlatform.Mac)
{
PrivateDependencyModuleNames.Add("CEF3Utils");
AddEngineThirdPartyPrivateStaticDependencies(Target,
"CEF3"
);
if (Target.Platform == UnrealTargetPlatform.Mac)
{
// Add contents of UnrealCefSubProcess.app directory as runtime dependencies
foreach (string FilePath in Directory.EnumerateFiles(BuildConfiguration.RelativeEnginePath + "/Binaries/Mac/UnrealCEFSubProcess.app", "*", SearchOption.AllDirectories))
{
RuntimeDependencies.Add(new RuntimeDependency(FilePath));
}
}
else
{
RuntimeDependencies.Add(new RuntimeDependency("$(EngineDir)/Binaries/" + Target.Platform.ToString() + "/UnrealCEFSubProcess.exe"));
}
}
if (Target.Platform == UnrealTargetPlatform.PS4)
{
PrivateDependencyModuleNames.Add("OnlineSubsystem");
}
bEnableShadowVariableWarnings = false;
}
}