forked from qt-creator/qt-creator
Android: remove unused function
Change-Id: I9c267c9dd979ae02070b08d5d95099846749eb2f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -173,25 +173,6 @@ namespace {
|
|||||||
// AndroidConfig
|
// AndroidConfig
|
||||||
//////////////////////////////////
|
//////////////////////////////////
|
||||||
|
|
||||||
Abi AndroidConfig::abiForToolChainPrefix(const QString &toolchainPrefix)
|
|
||||||
{
|
|
||||||
Abi::Architecture arch = Abi::UnknownArchitecture;
|
|
||||||
unsigned char wordWidth = 32;
|
|
||||||
if (toolchainPrefix == ArmToolchainPrefix) {
|
|
||||||
arch = Abi::ArmArchitecture;
|
|
||||||
} else if (toolchainPrefix == X86ToolchainPrefix) {
|
|
||||||
arch = Abi::X86Architecture;
|
|
||||||
} else if (toolchainPrefix == AArch64ToolchainPrefix) {
|
|
||||||
arch = Abi::ArmArchitecture;
|
|
||||||
wordWidth = 64;
|
|
||||||
} else if (toolchainPrefix == X86_64ToolchainPrefix) {
|
|
||||||
arch = Abi::X86Architecture;
|
|
||||||
wordWidth = 64;
|
|
||||||
}
|
|
||||||
|
|
||||||
return Abi(arch, Abi::LinuxOS, Abi::AndroidLinuxFlavor, Abi::ElfFormat, wordWidth);
|
|
||||||
}
|
|
||||||
|
|
||||||
QLatin1String AndroidConfig::toolchainPrefix(const Abi &abi)
|
QLatin1String AndroidConfig::toolchainPrefix(const Abi &abi)
|
||||||
{
|
{
|
||||||
switch (abi.architecture()) {
|
switch (abi.architecture()) {
|
||||||
|
@@ -174,7 +174,6 @@ public:
|
|||||||
|
|
||||||
QString bestNdkPlatformMatch(int target, const QtSupport::BaseQtVersion *qtVersion) const;
|
QString bestNdkPlatformMatch(int target, const QtSupport::BaseQtVersion *qtVersion) const;
|
||||||
|
|
||||||
static ProjectExplorer::Abi abiForToolChainPrefix(const QString &toolchainPrefix);
|
|
||||||
static QLatin1String toolchainPrefix(const ProjectExplorer::Abi &abi);
|
static QLatin1String toolchainPrefix(const ProjectExplorer::Abi &abi);
|
||||||
static QLatin1String toolsPrefix(const ProjectExplorer::Abi &abi);
|
static QLatin1String toolsPrefix(const ProjectExplorer::Abi &abi);
|
||||||
static QLatin1String displayName(const ProjectExplorer::Abi &abi);
|
static QLatin1String displayName(const ProjectExplorer::Abi &abi);
|
||||||
|
Reference in New Issue
Block a user