aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/blaze_util_linux.cc
diff options
context:
space:
mode:
authorGravatar Dave MacLachlan <dmaclach@google.com>2016-07-20 10:00:44 +0000
committerGravatar John Cater <jcater@google.com>2016-07-20 15:00:40 +0000
commit6b747eea2c317285d600278c0720fd4ca7a67546 (patch)
treec6121f560cd81c6a3334b08f2c6f8894061ef7ac /src/main/cpp/blaze_util_linux.cc
parent609e876996361fba2341a6f5f4ebfdc794849871 (diff)
Mark output_base and output_user_root to not be backed up by TimeMachine on Darwin.
This is equivalent to what Xcode does with the directories that it generates as part its builds. fix for https://github.com/bazelbuild/bazel/issues/1514 -- MOS_MIGRATED_REVID=127927131
Diffstat (limited to 'src/main/cpp/blaze_util_linux.cc')
-rw-r--r--src/main/cpp/blaze_util_linux.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/cpp/blaze_util_linux.cc b/src/main/cpp/blaze_util_linux.cc
index aea194350d..27ab344159 100644
--- a/src/main/cpp/blaze_util_linux.cc
+++ b/src/main/cpp/blaze_util_linux.cc
@@ -254,4 +254,8 @@ bool KillServerProcess(
return true;
}
+// Not supported.
+void ExcludePathFromBackup(const string &path) {
+}
+
} // namespace blaze