summaryrefslogtreecommitdiff
path: root/src/lib/buildgraph/buildgraphloader.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-08-13 11:10:00 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-08-14 12:31:20 +0200
commit1531ccff1b75465f6f68066f51d209d0ed5e5ee2 (patch)
tree49d8e396588961d90c14df0bb050d6d14b0e0522 /src/lib/buildgraph/buildgraphloader.h
parent6ad296ead6576a3d53d5ce21feaf299b8c26fc01 (diff)
downloadqbs-1531ccff1b75465f6f68066f51d209d0ed5e5ee2.tar.gz
Handle changes in transformers when re-using a stored build graph.
Also fixes a bug when comparing file lists in products and sets up the infrastructure for additional checks. Change-Id: I65b15620e12651ed845a102eb5bfe98f9be458a9 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/buildgraph/buildgraphloader.h')
-rw-r--r--src/lib/buildgraph/buildgraphloader.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/buildgraph/buildgraphloader.h b/src/lib/buildgraph/buildgraphloader.h
index 31fe52cad..0c6f1d5fe 100644
--- a/src/lib/buildgraph/buildgraphloader.h
+++ b/src/lib/buildgraph/buildgraphloader.h
@@ -72,14 +72,17 @@ private:
bool hasProductFileChanged(const QList<ResolvedProductPtr> &restoredProducts,
const FileTime &referenceTime,
QSet<QString> &remainingBuildSystemFiles,
- QList<ResolvedProductPtr> &changedProducts);
+ QList<ResolvedProductPtr> &productsWithChangedFiles);
bool hasBuildSystemFileChanged(const QSet<QString> &buildSystemFiles,
const FileTime &referenceTime);
void checkAllProductsForChanges(const QList<ResolvedProductPtr> &restoredProducts,
const QMap<QString, ResolvedProductPtr> &newlyResolvedProductsByName,
- QList<ResolvedProductPtr> &changedProducts);
+ QList<ResolvedProductPtr> &changedProducts,
+ QList<ResolvedProductPtr> &productsWithChangedFiles);
+ bool checkProductForChanges(const ResolvedProductPtr &restoredProduct,
+ const ResolvedProductPtr &newlyResolvedProduct);
void onProductRemoved(const ResolvedProductPtr &product, ProjectBuildData *projectBuildData);
- void onProductChanged(const ResolvedProductPtr &product,
+ void onProductFileListChanged(const ResolvedProductPtr &product,
const ResolvedProductPtr &changedProduct);
void removeArtifactAndExclusiveDependents(Artifact *artifact,
ArtifactList *removedArtifacts = 0);