2022-04-12 12:37:37 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
using EpicGames.Core;
|
|
|
|
|
|
|
|
|
|
namespace UnrealBuildTool
|
|
|
|
|
{
|
|
|
|
|
partial class AndroidPlatformSDK : UEBuildPlatformSDK
|
|
|
|
|
{
|
|
|
|
|
public override string GetMainVersion()
|
|
|
|
|
{
|
2022-10-11 23:32:22 -04:00
|
|
|
return "r25b";
|
2022-04-12 12:37:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetAutoSDKDirectoryForMainVersion()
|
|
|
|
|
{
|
2022-10-11 23:32:22 -04:00
|
|
|
return "-25";
|
2022-04-12 12:37:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void GetValidVersionRange(out string MinVersion, out string MaxVersion)
|
|
|
|
|
{
|
2022-10-14 18:42:15 -04:00
|
|
|
MinVersion = "r25b";
|
2022-10-11 23:32:22 -04:00
|
|
|
MaxVersion = "r25b";
|
2022-04-12 12:37:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void GetValidSoftwareVersionRange(out string? MinVersion, out string? MaxVersion)
|
|
|
|
|
{
|
|
|
|
|
MinVersion = MaxVersion = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetPlatformSpecificVersion(string VersionType)
|
|
|
|
|
{
|
|
|
|
|
switch (VersionType.ToLower())
|
|
|
|
|
{
|
2022-10-11 23:32:22 -04:00
|
|
|
case "platforms": return "android-32";
|
|
|
|
|
case "build-tools": return "30.0.3";
|
2022-04-12 12:37:37 -04:00
|
|
|
case "cmake": return "3.10.2.4988404";
|
2022-10-11 23:32:22 -04:00
|
|
|
case "ndk": return "25.1.8937393";
|
2022-04-12 12:37:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|