diff options
author | 2016-12-16 10:25:14 +0000 | |
---|---|---|
committer | 2016-12-16 15:36:57 +0000 | |
commit | 1324e83e04757b45b78b01a1ab24bab4c6156231 (patch) | |
tree | 3188bfee0fe47a96c91dd465a371802c46cea046 /src/main/java/com/google/devtools/build/lib/rules/cpp/CcLibrary.java | |
parent | 52b34308428cfd117470c966d8df329f686fb9ed (diff) |
Bazel client, Windows: implement pipe handling
Create WindowsPipe which implements IPipe, and is
a Windows-native implementation of pipe handling.
It wraps the ::CreatePipe, ::WriteFile, and
::ReadFile API functions.
Start using WindowsPipe on MSYS.
Also move everything from file_test.cc into
file_posix_test.cc, because these test methods
heavily depend on POSIX and they test file_posix's
functionality anyway.
Also add tests for pipes: this will use the
platform-specific implementation of IPipe.
file_test.cc is now platform-independent, and we
can test it with --cpu=x64_windows_msvc (and it
passes!).
See https://github.com/bazelbuild/bazel/issues/2107
Might also fix:
https://github.com/bazelbuild/bazel/issues/2182
https://github.com/bazelbuild/bazel/issues/2248
--
PiperOrigin-RevId: 142240377
MOS_MIGRATED_REVID=142240377
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcLibrary.java')
0 files changed, 0 insertions, 0 deletions