diff options
author | László Csomor <laszlocsomor@google.com> | 2017-03-28 09:04:06 +0000 |
---|---|---|
committer | Philipp Wollermann <philwo@google.com> | 2017-03-28 19:50:49 +0000 |
commit | 78b8be6486d4cd0e1515e5cc19b865671e01c743 (patch) | |
tree | 4a3111df1c8ccc66c20d67038b1ce06f918f29e3 /src/test/java/com/google/devtools/build/android/UnwrittenMergedAndroidDataSubject.java | |
parent | 99a5a30d17d920de323d1cc37e3fe25a0749ae41 (diff) |
Bazel client, Windows: path casing bugfixes
Change blaze::ConvertPath to lower-case its result
for sake of deterministic comparison later.
Change blaze::CompareAbsolutePaths to call
blaze::ConvertPath before comparison.
The ConvertPath method normalizes its input then
converts it to lowercase, meaning
ConvertPath("c:/Foo") and ConvertPath("C:\FOO\.")
will give the same result.
Thanks to this we will no longer kill the Bazel
server if the --output_user_root changes but only
in casing, or by adding/removing trailing
slash/backslash.
Fixes https://github.com/bazelbuild/bazel/issues/2714
--
Change-Id: I36c13378a9e3567862ee1c611f56b0c3ab465da8
Reviewed-on: https://cr.bazel.build/9517
PiperOrigin-RevId: 151425571
MOS_MIGRATED_REVID=151425571
Diffstat (limited to 'src/test/java/com/google/devtools/build/android/UnwrittenMergedAndroidDataSubject.java')
0 files changed, 0 insertions, 0 deletions