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()
|
|
|
|
|
{
|
|
|
|
|
return "r21e";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string GetAutoSDKDirectoryForMainVersion()
|
|
|
|
|
{
|
|
|
|
|
return "-24";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void GetValidVersionRange(out string MinVersion, out string MaxVersion)
|
|
|
|
|
{
|
|
|
|
|
MinVersion = "r21a";
|
2022-07-15 08:45:03 -04:00
|
|
|
MaxVersion = "r25";
|
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())
|
|
|
|
|
{
|
|
|
|
|
case "platforms": return "android-28";
|
|
|
|
|
case "build-tools": return "28.0.3";
|
|
|
|
|
case "cmake": return "3.10.2.4988404";
|
|
|
|
|
case "ndk": return "21.4.7075529";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|