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:
Tobias Hunger
2015-11-13 12:19:35 +01:00
parent cedf015c10
commit 79f82d0d0a
54 changed files with 82 additions and 70 deletions

View File

@@ -94,7 +94,7 @@ void GenericMakeStep::ctor()
GENERIC_MS_DISPLAY_NAME));
}
bool GenericMakeStep::init()
bool GenericMakeStep::init(QList<const BuildStep *> &earlierSteps)
{
BuildConfiguration *bc = buildConfiguration();
if (!bc)
@@ -134,7 +134,7 @@ bool GenericMakeStep::init()
appendOutputParser(parser);
outputParser()->setWorkingDirectory(pp->effectiveWorkingDirectory());
return AbstractProcessStep::init();
return AbstractProcessStep::init(earlierSteps);
}
void GenericMakeStep::setClean(bool clean)