forked from qt-creator/qt-creator
Android: Use new AbstractProcessStep convenience functions
Change-Id: I3fa4dcdd210f4c5d492217f2e3f1ceca353a4161 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -85,6 +85,7 @@ AndroidPackageInstallationStep::AndroidPackageInstallationStep(BuildStepList *bs
|
||||
setSummaryUpdater([this] {
|
||||
return tr("<b>Make install:</b> Copy App Files to %1").arg(nativeAndroidBuildPath());
|
||||
});
|
||||
setUseEnglishOutput();
|
||||
}
|
||||
|
||||
bool AndroidPackageInstallationStep::init()
|
||||
@@ -100,11 +101,7 @@ bool AndroidPackageInstallationStep::init()
|
||||
cmd.addArgs(outerQuoted + " install", CommandLine::Raw);
|
||||
|
||||
ProcessParameters *pp = processParameters();
|
||||
pp->setMacroExpander(macroExpander());
|
||||
pp->setWorkingDirectory(buildDirectory());
|
||||
Environment env = buildEnvironment();
|
||||
Environment::setupEnglishOutput(&env);
|
||||
pp->setEnvironment(env);
|
||||
setupProcessParameters(pp);
|
||||
pp->setCommandLine(cmd);
|
||||
|
||||
m_androidDirsToClean.clear();
|
||||
|
Reference in New Issue
Block a user