diff options
author | Yun Peng <pcloudy@google.com> | 2016-05-09 11:08:25 +0000 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2016-05-09 13:05:55 +0000 |
commit | 352f7e7b5f3adae4128a6041bdfe1324c433ce28 (patch) | |
tree | 05855bb5d817c4cedbaa3043f54965a59f50ca9c /src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java | |
parent | 0e27fded9d74e86d7fee412995d75601ed3d4380 (diff) |
Support case-insensitive comparision in Path.java with WindowsFileSystem
Since file path is case-insensitive on Windows, we need to support this.
Also fixed .d file inclusions check in CppCompileAction.java on Windows
--
MOS_MIGRATED_REVID=121823250
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java b/src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java index f095097801..d2581a2ed1 100644 --- a/src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java +++ b/src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java @@ -177,6 +177,11 @@ public class JavaIoFileSystem extends AbstractFileSystemWithCustomStat { } @Override + public boolean isFilePathCaseSensitive() { + return true; + } + + @Override protected boolean createDirectory(Path path) throws IOException { // We always synchronize on the current path before doing it on the parent path and file system |