diff options
author | 2016-12-15 12:33:26 +0000 | |
---|---|---|
committer | 2016-12-15 20:38:03 +0000 | |
commit | 77b880f8b38e1a0571c4804b52801f654efd30ac (patch) | |
tree | 25da88f9a6504afd26a6d7c2804105fd4344b1f5 /src/test | |
parent | 41ee5911f41d9654027f57b15b4a691ee520854b (diff) |
Bazel client, Windows: use file_windows under MSYS
Use file_windows.cc and file_posix.cc when
compiling for MSYS/GCC (--cpu=x64_windows).
This way we can implement functions in
file_windows.cc one by one, start using them with
MSYS, and put #ifdef __CYGWIN__ ... #endif around
these functions in file_posix.cc, until all
functions are implemented in file_windows.cc.
The change contains a lot of code deletion, but
nothing should change because of that. The deleted
code was not being used at all: neither with MSVC
(it was behind #else // not COMPILER_MSVC) nor
with MSYS (the file was not in the `select` of the
rule's `srcs`).
See https://github.com/bazelbuild/bazel/issues/2107
--
PiperOrigin-RevId: 142128611
MOS_MIGRATED_REVID=142128611
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions