forked from qt-creator/qt-creator
Profile introduction
Introduce Profiles to store sets of values that describe a system/device. These profiles are held by a target, getting rid of much of the information stored in the Build-/Run-/DeployConfigurations, greatly simplifying those. This is a squash of the wip/profile branch which has been on gerrit for a while, rebased to current master. Change-Id: I25956c8dd4d1962b2134bfaa8a8076ae3909460f Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -67,16 +67,16 @@ public:
|
||||
AndroidConfig(const QSettings &settings);
|
||||
void save(QSettings &settings) const;
|
||||
|
||||
QString sdkLocation;
|
||||
QString ndkLocation;
|
||||
Utils::FileName sdkLocation;
|
||||
Utils::FileName ndkLocation;
|
||||
QString ndkToolchainVersion;
|
||||
QString antLocation;
|
||||
QString armGdbLocation;
|
||||
QString armGdbserverLocation;
|
||||
QString x86GdbLocation;
|
||||
QString x86GdbserverLocation;
|
||||
QString openJDKLocation;
|
||||
QString keystoreLocation;
|
||||
Utils::FileName antLocation;
|
||||
Utils::FileName armGdbLocation;
|
||||
Utils::FileName armGdbserverLocation;
|
||||
Utils::FileName x86GdbLocation;
|
||||
Utils::FileName x86GdbserverLocation;
|
||||
Utils::FileName openJDKLocation;
|
||||
Utils::FileName keystoreLocation;
|
||||
unsigned partitionSize;
|
||||
};
|
||||
|
||||
@@ -97,18 +97,18 @@ public:
|
||||
void setConfig(const AndroidConfig &config);
|
||||
QStringList sdkTargets(int minApiLevel = 0) const;
|
||||
QStringList ndkToolchainVersions() const;
|
||||
QString adbToolPath() const;
|
||||
QString androidToolPath() const;
|
||||
QString antToolPath() const;
|
||||
QString emulatorToolPath() const;
|
||||
QString gccPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
QString gdbServerPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
QString gdbPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
QString openJDKPath() const;
|
||||
QString keytoolPath() const;
|
||||
QString jarsignerPath() const;
|
||||
QString stripPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
QString readelfPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
Utils::FileName adbToolPath() const;
|
||||
Utils::FileName androidToolPath() const;
|
||||
Utils::FileName antToolPath() const;
|
||||
Utils::FileName emulatorToolPath() const;
|
||||
Utils::FileName gccPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
Utils::FileName gdbServerPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
Utils::FileName gdbPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
Utils::FileName openJDKPath() const;
|
||||
Utils::FileName keytoolPath() const;
|
||||
Utils::FileName jarsignerPath() const;
|
||||
Utils::FileName stripPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
Utils::FileName readelfPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
QString getDeployDeviceSerialNumber(int *apiLevel) const;
|
||||
bool createAVD(const QString &target, const QString &name, int sdcardSize) const;
|
||||
bool removeAVD(const QString &name) const;
|
||||
@@ -127,8 +127,8 @@ public slots:
|
||||
bool createAVD(int minApiLevel = 0) const;
|
||||
|
||||
private:
|
||||
QString toolPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
QString openJDKBinPath() const;
|
||||
Utils::FileName toolPath(ProjectExplorer::Abi::Architecture architecture) const;
|
||||
Utils::FileName openJDKBinPath() const;
|
||||
|
||||
AndroidConfigurations(QObject *parent);
|
||||
void load();
|
||||
|
||||
Reference in New Issue
Block a user