aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar ccalvarin <ccalvarin@google.com>2018-06-05 15:27:26 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-05 15:28:51 -0700
commitac69da0367e0dbd9aa13a332668af07dbb7a8135 (patch)
tree16b533129defbe15440c268e9a128c59cb88d4c3 /tools
parent216afa160b0ccff3df3ccc3a41acbb9814e27989 (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 'tools')
-rw-r--r--tools/cpp/runfiles/BUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cpp/runfiles/BUILD b/tools/cpp/runfiles/BUILD
index 7373b03e37..4a79245c04 100644
--- a/tools/cpp/runfiles/BUILD
+++ b/tools/cpp/runfiles/BUILD
@@ -35,7 +35,7 @@ cc_test(
visibility = ["//visibility:public"],
deps = [
":runfiles",
- "//src/main/cpp/util:file",
+ "//src/main/cpp/util:filesystem",
"@com_google_googletest//:gtest_main",
],
)