You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Removed all deprecated functionality and left a common set of functionality on all implementations (REST, Android and IOS) Removed old Facebook SDK framework and used latest Facebook SDK XCFramework(v15.0.0). New Facebook files added in a different review to avoid noise Enabled ARC for module. It also needs linking against Swift standard library Depends on: https://p4-swarm.epicgames.net/reviews/22775386: Add support to enable ARC in modules https://p4-swarm.epicgames.net/reviews/22810334: Link against Swift standard library https://p4-swarm.epicgames.net/changes/23002644: Add support for XCFramework in UBT https://p4-swarm.epicgames.net/reviews/23025630: Add Facebook SDK v15.0.0 XCFramework Moved out Facebook settings additions into Info.plist from UBT and added using an UPL file #jira UE-162598 #review @Sam.Zamani, @Bertrand.Carre, @Chris.Varnsverry #preflight [CL 23133825 by Rafa Lecina in ue5-main branch]
63 lines
1.3 KiB
C#
63 lines
1.3 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)
|
|
{
|
|
bEnableObjCAutomaticReferenceCounting = true;
|
|
|
|
PrivateDependencyModuleNames.Add("Swift");
|
|
|
|
PublicWeakFrameworks.Add("Accelerate");
|
|
|
|
// Dependency from other Facebook kits
|
|
PublicAdditionalFrameworks.Add(
|
|
new Framework(
|
|
"FBAEMKit",
|
|
"IOS/FacebookSDK/FBAEMKit.xcframework"
|
|
)
|
|
);
|
|
|
|
PublicAdditionalFrameworks.Add(
|
|
new Framework(
|
|
"FBSDKCoreKit_Basics",
|
|
"IOS/FacebookSDK/FBSDKCoreKit_Basics.xcframework"
|
|
)
|
|
);
|
|
|
|
// Access to Facebook core
|
|
PublicAdditionalFrameworks.Add(
|
|
new Framework(
|
|
"FBSDKCoreKit",
|
|
"IOS/FacebookSDK/FBSDKCoreKit.xcframework"
|
|
)
|
|
);
|
|
|
|
// Access to Facebook login
|
|
PublicAdditionalFrameworks.Add(
|
|
new Framework(
|
|
"FBSDKLoginKit",
|
|
"IOS/FacebookSDK/FBSDKLoginKit.xcframework"
|
|
)
|
|
);
|
|
|
|
// Access to Facebook sharing
|
|
PublicAdditionalFrameworks.Add(
|
|
new Framework(
|
|
"FBSDKShareKit",
|
|
"IOS/FacebookSDK/FBSDKShareKit.xcframework"
|
|
)
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|