2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
|
|
|
|
|
public class HTTP : ModuleRules
|
|
|
|
|
{
|
2014-10-07 16:49:35 -04:00
|
|
|
public HTTP(TargetInfo Target)
|
|
|
|
|
{
|
|
|
|
|
Definitions.Add("HTTP_PACKAGE=1");
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2014-10-07 16:49:35 -04:00
|
|
|
PrivateIncludePaths.AddRange(
|
|
|
|
|
new string[] {
|
2014-03-14 14:13:41 -04:00
|
|
|
"Runtime/Online/HTTP/Private",
|
|
|
|
|
}
|
2014-10-07 16:49:35 -04:00
|
|
|
);
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2014-12-18 18:22:41 -05:00
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
|
|
|
new string[] {
|
|
|
|
|
"Core",
|
|
|
|
|
}
|
|
|
|
|
);
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2014-10-07 16:49:35 -04:00
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win32 ||
|
|
|
|
|
Target.Platform == UnrealTargetPlatform.Win64)
|
|
|
|
|
{
|
|
|
|
|
AddThirdPartyPrivateStaticDependencies(Target, "WinInet");
|
2015-03-19 08:52:17 -04:00
|
|
|
AddThirdPartyPrivateStaticDependencies(Target, "libcurl");
|
2014-10-07 16:49:35 -04:00
|
|
|
}
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2014-10-07 16:49:35 -04:00
|
|
|
if (Target.Platform == UnrealTargetPlatform.Linux ||
|
2014-08-21 20:35:47 -04:00
|
|
|
Target.Platform == UnrealTargetPlatform.Android)
|
2014-10-07 16:49:35 -04:00
|
|
|
{
|
|
|
|
|
AddThirdPartyPrivateStaticDependencies(Target, "libcurl");
|
|
|
|
|
}
|
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.HTML5)
|
|
|
|
|
{
|
|
|
|
|
if (Target.Architecture == "-win32")
|
|
|
|
|
{
|
|
|
|
|
PrivateDependencyModuleNames.Add("HTML5Win32");
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
PrivateDependencyModuleNames.Add("HTML5JS");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|