diff options
author | 2016-11-22 10:50:07 +0000 | |
---|---|---|
committer | 2016-11-22 14:15:02 +0000 | |
commit | cefa9a2059237f76610273500b3be308490e1e68 (patch) | |
tree | ffb6e855db5cede6863890ddf06de3d35716dfef /src/main/java/com/google/devtools/build/lib/skyframe | |
parent | 124d55defc1df669c337b3df3904649731703e20 (diff) |
Bazel client: reduce dependency on POSIX API
We can now compile blaze_util_windows.cc with
MSVC, yay! (when building //src:bazel
--cpu=x64_windows_msvc -k).
There are a lot of #ifdef's and TODOs so this
is a modest victory for now.
In this change:
- change blaze::MakeDirectories to return bool
instead of int, since that's how it was used
anyway, and to expect the permission mask as
unsigned int instead of mode_t, since the
former is good enough and compatible with
mode_t on POSIX while mode_t is not defined on
Windows
- move blaze::MakeDirectories into
blaze_util_<platform>
- implement envvar-handling in
blaze_util_<platform> and use it everywhere
See https://github.com/bazelbuild/bazel/issues/2107
--
MOS_MIGRATED_REVID=139887503
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe')
0 files changed, 0 insertions, 0 deletions