Skip to content
Snippets Groups Projects
Commit 77801df3 authored by BogDan Vatra's avatar BogDan Vatra Committed by Girish Ramakrishnan
Browse files

Fix Android strip procedure


Change-Id: I92477f12fd125385bc23cf9b8cdf41ea701f9ef9
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
Reviewed-by: default avatarGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
parent 2521d7d6
No related branches found
No related tags found
No related merge requests found
...@@ -465,8 +465,9 @@ void AndroidPackageCreationStep::stripAndroidLibs(const QStringList & files, Abi ...@@ -465,8 +465,9 @@ void AndroidPackageCreationStep::stripAndroidLibs(const QStringList & files, Abi
{ {
QProcess stripProcess; QProcess stripProcess;
foreach (const QString &file, files) { foreach (const QString &file, files) {
stripProcess.start(AndroidConfigurations::instance().stripPath(architecture) + QLatin1String(" --strip-unneeded ") + file); stripProcess.start(AndroidConfigurations::instance().stripPath(architecture), QStringList()<<QLatin1String("--strip-unneeded") << file);
if (!stripProcess.waitForFinished(-1)) stripProcess.waitForStarted();
if (!stripProcess.waitForFinished())
stripProcess.terminate(); stripProcess.terminate();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment