forked from qt-creator/qt-creator
BuildManager: Provide context of earlier build steps to init
This information can be used to get information from earlier steps, which e.g. queried for android devices to deploy to. Change-Id: Iefe1c9443915cb6211f86f98ff7aaf3cb75145ba Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -97,7 +97,7 @@ AndroidBuildApkStep::AndroidBuildApkStep(ProjectExplorer::BuildStepList *parent,
|
||||
}
|
||||
}
|
||||
|
||||
bool AndroidBuildApkStep::init()
|
||||
bool AndroidBuildApkStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
{
|
||||
ProjectExplorer::BuildConfiguration *bc = buildConfiguration();
|
||||
|
||||
@@ -132,7 +132,7 @@ bool AndroidBuildApkStep::init()
|
||||
m_openPackageLocationForRun = m_openPackageLocation;
|
||||
m_apkPath = AndroidManager::androidQtSupport(target())->apkPath(target()).toString();
|
||||
|
||||
bool result = AbstractProcessStep::init();
|
||||
bool result = AbstractProcessStep::init(earlierSteps);
|
||||
if (!result)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user