You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Added code when filtering rocket files to search through build products for target files and add their runtime dependencies to the filter rules. #jira UEB-372 [CL 2672116 by Matthew Griffin in Main branch]
50 lines
1.2 KiB
C#
50 lines
1.2 KiB
C#
// 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"));
|
|
}
|
|
}
|
|
}
|
|
}
|