diff options
author | 2015-05-22 16:08:36 +0000 | |
---|---|---|
committer | 2015-05-22 20:00:56 +0000 | |
commit | a2c1e568f356ec3cac983e792a8ce8fe45742968 (patch) | |
tree | 6e0626932e058c11f5b76641a2898d8ffe33e909 /src/main/java/com/google | |
parent | d58e680dfc20b4638a4d810d98c273d12eaf867e (diff) |
Include all input files in the "files" count in the description of a JavaCompileAction.
--
MOS_MIGRATED_REVID=94282408
Diffstat (limited to 'src/main/java/com/google')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/java/JavaCompileAction.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/JavaCompileAction.java b/src/main/java/com/google/devtools/build/lib/rules/java/JavaCompileAction.java index 981377483c..505aae862f 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/java/JavaCompileAction.java +++ b/src/main/java/com/google/devtools/build/lib/rules/java/JavaCompileAction.java @@ -411,10 +411,7 @@ public class JavaCompileAction extends AbstractAction { @Override protected String getRawProgressMessage() { - int count = sourceFiles.size(); - if (count == 0) { // nothing to compile, just bundling resources and messages - count = resources.size() + classpathResources.size() + messages.size(); - } + int count = sourceFiles.size() + resources.size() + classpathResources.size() + messages.size(); return "Building " + outputJar.prettyPrint() + " (" + count + " files)"; } |