diff options
| author | ruki <[email protected]> | 2023-09-01 00:39:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-01 00:39:52 +0800 |
| commit | 6dc3f73929a7dde224d77bbcd5db54be22958cda (patch) | |
| tree | ce48016aca43fe9d4830a8963f74820957a7dced /xmake/rules/qt/deploy/android.lua | |
| parent | 515dbd9e94793b0bd126a19ecc8f482752897ed9 (diff) | |
improve to rebuild target #4154
Diffstat (limited to 'xmake/rules/qt/deploy/android.lua')
| -rw-r--r-- | xmake/rules/qt/deploy/android.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/deploy/android.lua b/xmake/rules/qt/deploy/android.lua index 5aea7fa02..9299c61e0 100644 --- a/xmake/rules/qt/deploy/android.lua +++ b/xmake/rules/qt/deploy/android.lua @@ -45,7 +45,7 @@ function main(target, opt) -- need re-generate this apk? local targetfile = target:targetfile() local dependfile = target:dependfile(target_apk) - local dependinfo = option.get("rebuild") and {} or (depend.load(dependfile) or {}) + local dependinfo = target:is_rebuilt() and {} or (depend.load(dependfile) or {}) if not depend.is_changed(dependinfo, {lastmtime = os.mtime(dependfile)}) then return end |
