forked from qt-creator/qt-creator
Android: Distinguish between platforms in the ndk and the sdk
The available platforms in the ndk might not be the same as in the sdk. This patch is renames everything using the ndk platform list to ndkPlatforms, except the highestAvailablePlatform which wrongly uses the ndk platform list. Change-Id: I02d9b68bbc27b0c748281678fe654d5f4244578d Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
@@ -107,7 +107,7 @@ public:
|
||||
QString startAVD(const QString &name, int apiLevel, QString cpuAbi) const;
|
||||
bool startAVDAsync(const QString &avdName) const;
|
||||
QString waitForAvd(int apiLevel, const QString &cpuAbi) const;
|
||||
QString bestMatch(const QString &targetAPI) const;
|
||||
QString bestNdkPlatformMatch(const QString &targetAPI) const;
|
||||
|
||||
QStringList makeExtraSearchDirectories() const;
|
||||
|
||||
@@ -145,12 +145,12 @@ private:
|
||||
|
||||
int getSDKVersion(const QString &device) const;
|
||||
QStringList getAbis(const QString &device) const;
|
||||
void updateAvailablePlatforms();
|
||||
void updateAvailableNdkPlatforms();
|
||||
|
||||
|
||||
static AndroidConfigurations *m_instance;
|
||||
AndroidConfig m_config;
|
||||
QVector<int> m_availablePlatforms;
|
||||
QVector<int> m_availableNdkPlatforms;
|
||||
mutable QHash<QString, QString> m_serialNumberToDeviceName;
|
||||
|
||||
QMap<ProjectExplorer::Project *, QMap<QString, QString> > m_defaultDeviceForAbi;
|
||||
|
||||
Reference in New Issue
Block a user