summaryrefslogtreecommitdiff
path: root/src/lib/buildgraph/executor.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2012-05-26 14:13:26 +0200
committerJoerg Bornemann <joerg.bornemann@nokia.com>2012-06-01 14:30:17 +0200
commit68a1c7d5c998180005a4b4bc872cf2cd3e5400a1 (patch)
treebb6bdf5ecc44f11372ea49790d6875e22fc8bf5d /src/lib/buildgraph/executor.h
parente11a8cd42140df0b02d41c9974cc9d3612cfecb3 (diff)
downloadqbs-68a1c7d5c998180005a4b4bc872cf2cd3e5400a1.tar.gz
Move input artifact scanning into a dedicated class.
No functional changes. Change-Id: I48b1b71dae3c13c1dd167b11a88772474db6f06a Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/lib/buildgraph/executor.h')
-rw-r--r--src/lib/buildgraph/executor.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/buildgraph/executor.h b/src/lib/buildgraph/executor.h
index f06913d11..3d4084406 100644
--- a/src/lib/buildgraph/executor.h
+++ b/src/lib/buildgraph/executor.h
@@ -43,7 +43,6 @@
#include <buildgraph/artifact.h>
#include <Qbs/processoutput.h>
#include <tools/settings.h>
-#include <tools/scannerpluginmanager.h>
#include <buildgraph/scanresultcache.h>
#include <QtCore/QObject>
@@ -101,19 +100,6 @@ protected slots:
void resetArtifactsToUntouched();
protected:
- struct Dependency
- {
- Dependency()
- : artifact(0)
- {}
-
- bool isValid() const { return !filePath.isNull(); }
-
- QString filePath;
- Artifact *artifact;
- };
-
-protected:
void prepareBuildGraph(Artifact::BuildState buildState);
void prepareBuildGraph_impl(Artifact *artifact, Artifact::BuildState buildState);
void updateBuildGraph(Artifact::BuildState buildState);
@@ -134,12 +120,6 @@ protected:
void removeExecutorJobs(int jobNumber);
bool runAutoMoc();
void printScanningMessageOnce();
- void scanInputArtifacts(Artifact *artifact, bool *newDependencyAdded);
- void scanForFileDependencies(ScannerPlugin *scannerPlugin, const QStringList &includePaths, Artifact *outputArtifact, Artifact *inputArtifact, bool *newDependencyAdded);
- static Dependency resolveWithIncludePath(const QString &includePath, const QString &dependencyDirPath, const QString &dependencyFileName, BuildProduct *buildProduct);
- static void resolveScanResultDependencies(const QStringList &includePaths, Artifact *processedArtifact, Artifact *inputArtifact, const ScanResultCache::Result &scanResult,
- const QString &filePathToBeScanned, QStringList *filePathsToScan, bool *newDependencyAdded);
- static void handleDependency(Artifact *processedArtifact, Dependency &dependency, bool *newDependencyAdded);
void insertLeavesAfterAddingDependencies(QVector<Artifact *> dependencies);
void cancelJobs();