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:
@@ -160,7 +160,7 @@ void MakeStep::setClean(bool clean)
|
||||
m_clean = clean;
|
||||
}
|
||||
|
||||
bool MakeStep::init()
|
||||
bool MakeStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
{
|
||||
BuildConfiguration *bc = buildConfiguration();
|
||||
if (!bc)
|
||||
@@ -200,7 +200,7 @@ bool MakeStep::init()
|
||||
appendOutputParser(parser);
|
||||
outputParser()->setWorkingDirectory(pp->effectiveWorkingDirectory());
|
||||
|
||||
return AbstractProcessStep::init();
|
||||
return AbstractProcessStep::init(earlierSteps);
|
||||
}
|
||||
|
||||
void MakeStep::run(QFutureInterface<bool> &interface)
|
||||
|
||||
Reference in New Issue
Block a user