forked from qt-creator/qt-creator
Android: Use device types as restrictions on project configurations
Change-Id: I3f7ff05f27c76dadec9a9ff0ae02848830655472 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
@@ -75,17 +75,11 @@ AndroidDeployQtStepFactory::AndroidDeployQtStepFactory()
|
||||
{
|
||||
registerStep<AndroidDeployQtStep>(AndroidDeployQtStep::Id);
|
||||
setSupportedStepList(ProjectExplorer::Constants::BUILDSTEPS_DEPLOY);
|
||||
setSupportedDeviceType(Constants::ANDROID_DEVICE_TYPE);
|
||||
setRepeatable(false);
|
||||
setDisplayName(tr("Deploy to Android device or emulator"));
|
||||
}
|
||||
|
||||
bool AndroidDeployQtStepFactory::canHandle(BuildStepList *parent) const
|
||||
{
|
||||
return BuildStepFactory::canHandle(parent)
|
||||
&& AndroidManager::supportsAndroid(parent->target());
|
||||
}
|
||||
|
||||
|
||||
// AndroidDeployQtStep
|
||||
|
||||
AndroidDeployQtStep::AndroidDeployQtStep(ProjectExplorer::BuildStepList *parent)
|
||||
|
||||
Reference in New Issue
Block a user