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/BUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/cpp/util/BUILD b/src/main/cpp/util/BUILD
index bf62eff841..8462ff3fc3 100644
--- a/src/main/cpp/util/BUILD
+++ b/src/main/cpp/util/BUILD
@@ -26,6 +26,13 @@ cc_library(
cc_library(
name = "file",
srcs = ["file.cc"] + select({
+ "//src:windows": [
+ # TODO(bazel-team): implement functions in file_windows.cc and use
+ # more and more of them under MSYS until we can completely stop
+ # using file_posix.cc at which point remove it from this list.
+ "file_posix.cc",
+ "file_windows.cc",
+ ],
"//src:windows_msvc": [
"file_windows.cc",
],