aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/util/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/cpp/util/BUILD')
-rw-r--r--src/main/cpp/util/BUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/main/cpp/util/BUILD b/src/main/cpp/util/BUILD
index 254b6f8f1f..6f53b4d590 100644
--- a/src/main/cpp/util/BUILD
+++ b/src/main/cpp/util/BUILD
@@ -15,13 +15,15 @@ cc_library(
"file_platform.h",
"md5.h",
"numbers.h",
+ "path.h",
+ "path_platform.h",
"port.h",
],
visibility = ["//visibility:public"],
deps = [
":blaze_exit_code",
":errors",
- ":file",
+ ":filesystem",
":md5",
":numbers",
":port",
@@ -30,18 +32,25 @@ cc_library(
)
cc_library(
- name = "file",
- srcs = ["file.cc"] + select({
+ name = "filesystem",
+ srcs = [
+ "file.cc",
+ "path.cc",
+ ] + select({
"//src/conditions:windows": [
"file_windows.cc",
+ "path_windows.cc",
],
"//conditions:default": [
"file_posix.cc",
+ "path_posix.cc",
],
}),
hdrs = [
"file.h",
"file_platform.h",
+ "path.h",
+ "path_platform.h",
],
visibility = [
":ijar",
@@ -108,7 +117,7 @@ cc_library(
visibility = ["//visibility:public"],
deps = [
":blaze_exit_code",
- ":file",
+ ":filesystem",
":logging",
],
)