QmakeAndroid: Reduce coupling between Qmake and QmakeAndroid

This moves most of the QmakeProject::applicationProFiles code
to its only user, the android side, and only uses the new
 bool includedInExactParse() const hook on the qmake side.

Change-Id: Ica11127c4895be22cafe56757f4cecafa02583ef
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2018-12-04 13:45:26 +01:00
parent 6ad9446086
commit 5b4205d159
5 changed files with 44 additions and 51 deletions

View File

@@ -243,6 +243,12 @@ bool QmakeProFileNode::isQtcRunnable() const
return configValues.contains(QLatin1String("qtc_runnable"));
}
bool QmakeProFileNode::includedInExactParse() const
{
const QmakeProFile *pro = proFile();
return pro && pro->includedInExactParse();
}
FolderNode::AddNewInformation QmakeProFileNode::addNewInformation(const QStringList &files, Node *context) const
{
Q_UNUSED(files)