aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androidbuildapkstep.h
diff options
context:
space:
mode:
authorSheree Morphett <[email protected]>2025-11-28 14:42:03 +0200
committerSheree Morphett <[email protected]>2025-12-19 16:00:19 +0000
commitfc5d9e4ff2b44d6efb7a548acac3a78402c987be (patch)
treec9ab8e19dfaf84cd55c557fa8566c96cdfd4f0ac /src/plugins/android/androidbuildapkstep.h
parent492644297500f38a90bd109fd9a461ff4cece050 (diff)
Android: Add timestamp checks to stop redundant build/deployHEADmaster
Check file modification times to avoid unnecessary steps in builds and deployments when nothing has changed. Timestamps are persisted across sessions. Fixes: QTCREATORBUG-33638 Change-Id: Id225bd2548096e4a3892d5f87066b4cff661a176 Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/android/androidbuildapkstep.h')
-rw-r--r--src/plugins/android/androidbuildapkstep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/android/androidbuildapkstep.h b/src/plugins/android/androidbuildapkstep.h
index 3d3a6e025b5..34b08607cb7 100644
--- a/src/plugins/android/androidbuildapkstep.h
+++ b/src/plugins/android/androidbuildapkstep.h
@@ -65,6 +65,8 @@ private:
void reportWarningOrError(const QString &message, ProjectExplorer::Task::TaskType type);
void updateBuildToolsVersionInJsonFile();
+ bool needsApkRegeneration();
+ void updateBuildTimestamp();
bool m_signPackage = false;
bool m_openPackageLocationForRun = false;
@@ -81,6 +83,7 @@ private:
ProjectExplorer::ProcessParameters m_concealedParams;
bool m_skipBuilding = false;
Utils::FilePath m_inputFile;
+ QDateTime m_lastBuildTime;
};
void setupAndroidBuildApkStep();