You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-111027, UE-111243, UE-111274, UE-111280 #rb josh.markiewicz #preflight 61eef6fdaa3f15faa580d01f #ROBOMERGE-AUTHOR: ryan.hairyes #ROBOMERGE-SOURCE: CL 18722174 in //UE5/Release-5.0/... via CL 18722191 via CL 18722277 #ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472) [CL 18722315 by ryan hairyes in ue5-main branch]
68 lines
1.6 KiB
C#
68 lines
1.6 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System.IO;
|
|
using UnrealBuildTool;
|
|
|
|
public class Facebook : ModuleRules
|
|
{
|
|
public Facebook(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
// Additional Frameworks and Libraries for Android found in OnlineSubsystemFacebook_UPL.xml
|
|
if (Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
PublicDefinitions.Add("WITH_FACEBOOK=1");
|
|
|
|
// These are iOS system libraries that Facebook depends on
|
|
//PublicFrameworks.AddRange(
|
|
//new string[] {
|
|
// "ImageIO"
|
|
//});
|
|
|
|
// More dependencies for Facebook
|
|
//PublicAdditionalLibraries.AddRange(
|
|
//new string[] {
|
|
// "xml2"
|
|
//});
|
|
|
|
|
|
|
|
// Access to Facebook core
|
|
PublicAdditionalFrameworks.Add(
|
|
new Framework(
|
|
"FBSDKCoreKit",
|
|
"IOS/FacebookSDK/FBSDKCoreKit.embeddedframework.zip"
|
|
)
|
|
);
|
|
|
|
// Access to Facebook login
|
|
PublicAdditionalFrameworks.Add(
|
|
new Framework(
|
|
"FBSDKLoginKit",
|
|
"IOS/FacebookSDK/FBSDKLoginKit.embeddedframework.zip"
|
|
)
|
|
);
|
|
|
|
|
|
// commenting out over if(false) for #jira FORT-77943 per Peter.Sauerbrei prior change with CL 3960071
|
|
//// Access to Facebook places
|
|
//PublicAdditionalFrameworks.Add(
|
|
// new UEBuildFramework(
|
|
// "FBSDKPlacesKit",
|
|
// "IOS/FacebookSDK/FBSDKPlacesKit.embeddedframework.zip"
|
|
// )
|
|
//);
|
|
|
|
// Access to Facebook sharing
|
|
PublicAdditionalFrameworks.Add(
|
|
new Framework(
|
|
"FBSDKShareKit",
|
|
"IOS/FacebookSDK/FBSDKShareKit.embeddedframework.zip"
|
|
)
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|