diff options
author | ccalvarin <ccalvarin@google.com> | 2018-06-05 15:27:26 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-05 15:28:51 -0700 |
commit | ac69da0367e0dbd9aa13a332668af07dbb7a8135 (patch) | |
tree | 16b533129defbe15440c268e9a128c59cb88d4c3 /src/tools/launcher/BUILD | |
parent | 216afa160b0ccff3df3ccc3a41acbb9814e27989 (diff) |
Move path-manipulation functions to own library file.
Leave functions that make file accesses in the file library, and general blaze utilities in the blaze_util file, but move the functions that boil down to string manipulation and path formatting to their own file. (With the exception of getCWD, since absolute path syntax is relevant here.)
Doing this largely to consolidate all Windows path control into a single place, so that it's easier to notice inconsistencies. For instance, ConvertPath currently makes Windows paths absolute, but not Posix paths, and MakeAbsolute relies on this behavior. In addition, JoinPath assumes Posix path syntax, which leads to some odd looking paths. These will be fixed in a followup change.
(Found these issues while working on #4502, trying to fix the windows-specific system bazelrc.)
RELNOTES: None.
PiperOrigin-RevId: 199368226
Diffstat (limited to 'src/tools/launcher/BUILD')
-rw-r--r-- | src/tools/launcher/BUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/launcher/BUILD b/src/tools/launcher/BUILD index 37b0e4dddc..075ee57d1f 100644 --- a/src/tools/launcher/BUILD +++ b/src/tools/launcher/BUILD @@ -28,7 +28,7 @@ cc_library( srcs = ["launcher.cc"], hdrs = ["launcher.h"], deps = [ - "//src/main/cpp/util:file", + "//src/main/cpp/util:filesystem", "//src/tools/launcher/util", "//src/tools/launcher/util:data_parser", ], |