Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowser/WebBrowser.Build.cs

50 lines
1.2 KiB
C#
Raw Normal View History

// Copyright 1998-2015 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",
"CEF3Utils",
}
);
if (Target.Platform == UnrealTargetPlatform.Win64
|| Target.Platform == UnrealTargetPlatform.Win32
|| Target.Platform == UnrealTargetPlatform.Mac)
{
AddThirdPartyPrivateStaticDependencies(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"));
}
}
}
}