// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; using System.IO; public class WebAuth : ModuleRules { public WebAuth(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PrivateDependencyModuleNames.AddRange( new string[] { "Core", } ); PublicDefinitions.Add("WITH_WEBAUTH=1"); if (Target.Platform == UnrealTargetPlatform.IOS) { PrivateDependencyModuleNames.Add("ApplicationCore"); PublicFrameworks.Add("AuthenticationServices"); } if (Target.Platform == UnrealTargetPlatform.Android) { PrivateDependencyModuleNames.Add("ApplicationCore"); PrivateDependencyModuleNames.Add("Launch"); string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath); AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(PluginPath, "WebAuth_UPL.xml")); } } }