diff options
Diffstat (limited to 'src/tools/android/java/com')
-rw-r--r-- | src/tools/android/java/com/google/devtools/build/android/AndroidDataDeserializer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/android/java/com/google/devtools/build/android/AndroidDataDeserializer.java b/src/tools/android/java/com/google/devtools/build/android/AndroidDataDeserializer.java index 94a35dd175..f48a7966c6 100644 --- a/src/tools/android/java/com/google/devtools/build/android/AndroidDataDeserializer.java +++ b/src/tools/android/java/com/google/devtools/build/android/AndroidDataDeserializer.java @@ -153,7 +153,7 @@ public class AndroidDataDeserializer { // Using Path.subpath would return a backslash-using path on Windows. String shortPath = source.getPath().getParent().getFileName() + "/" + source.getPath().getFileName(); - if (filteredResources.contains(shortPath)) { + if (filteredResources.contains(shortPath) && !Files.exists(source.getPath())) { // Skip files that were filtered out during analysis. // TODO(asteinb): Properly filter out these files from android_library symbol files during // analysis instead, and remove this list. |