forked from qt-creator/qt-creator
Android: Tolerate empty build/deploy configurations
If there is no build or deploy configuration, just skip the building and deploying. Change-Id: I8b6f6d14100f366df5683eb77490d7c0dc588f94 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
@@ -203,10 +203,11 @@ Utils::FileName AndroidManager::dirPath(ProjectExplorer::Target *target)
|
||||
|
||||
Utils::FileName AndroidManager::manifestSourcePath(ProjectExplorer::Target *target)
|
||||
{
|
||||
AndroidQtSupport *androidQtSupport = AndroidManager::androidQtSupport(target);
|
||||
Utils::FileName source = androidQtSupport->manifestSourcePath(target);
|
||||
if (!source.isEmpty())
|
||||
return source;
|
||||
if (AndroidQtSupport *androidQtSupport = AndroidManager::androidQtSupport(target)) {
|
||||
Utils::FileName source = androidQtSupport->manifestSourcePath(target);
|
||||
if (!source.isEmpty())
|
||||
return source;
|
||||
}
|
||||
return manifestPath(target);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user