diff options
author | Xavier Ducrohet <xav@android.com> | 2011-09-23 10:53:31 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-09-23 10:53:31 -0700 |
commit | 2c8cced2d84e8e93214a976be7afd6f5913fc74f (patch) | |
tree | 074210e7717cb78e6ce03d1d887e297acb78b964 /anttasks | |
parent | 15fa2cb60993bddf40e5f2483e19345e9d77695d (diff) | |
download | sdk-2c8cced2d84e8e93214a976be7afd6f5913fc74f.zip sdk-2c8cced2d84e8e93214a976be7afd6f5913fc74f.tar.gz sdk-2c8cced2d84e8e93214a976be7afd6f5913fc74f.tar.bz2 |
Fix dependency support for aild.
The aidl task doesn't use InputPath so it fails to
check files for modifications.
Change-Id: I589dda40538ed8cb16904407693329979536c5f5
Diffstat (limited to 'anttasks')
-rw-r--r-- | anttasks/src/com/android/ant/DependencyGraph.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/anttasks/src/com/android/ant/DependencyGraph.java b/anttasks/src/com/android/ant/DependencyGraph.java index 9c5e8ad..1885c17 100644 --- a/anttasks/src/com/android/ant/DependencyGraph.java +++ b/anttasks/src/com/android/ant/DependencyGraph.java @@ -351,6 +351,11 @@ public class DependencyGraph { } } } + } else { + // no input? we consider all files. + if (prereq.lastModified() > oldestTarget) { + return DependencyStatus.UPDATED_FILE; + } } } |