aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/blaze_startup_options.h
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-06-15 10:40:07 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-06-15 10:52:11 +0000
commit43b2ea7274fe11f0d5c9f3363110da72c37da923 (patch)
tree9c6ae7ce6f9056e634df982183cf2799a25ac00d /src/main/cpp/blaze_startup_options.h
parentebd0e644d0e8ffba1cdbd54fc59fdb659a05f144 (diff)
Added /etc/bazel.bazelrc as a global Bazel's master rc.
This will allow system-wide configuration for system-wide installation of Bazel. -- Change-Id: I71b7232e648f2690766c3b9184f863dc888524c0 Reviewed-on: https://bazel-review.googlesource.com/#/c/1540/ MOS_MIGRATED_REVID=95994630
Diffstat (limited to 'src/main/cpp/blaze_startup_options.h')
-rw-r--r--src/main/cpp/blaze_startup_options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/cpp/blaze_startup_options.h b/src/main/cpp/blaze_startup_options.h
index b62878eba6..dd1850ffd5 100644
--- a/src/main/cpp/blaze_startup_options.h
+++ b/src/main/cpp/blaze_startup_options.h
@@ -189,6 +189,9 @@ class BlazeStartupOptions {
// Returns the basename for the rc file.
static string RcBasename();
+ // Returns the path for the system-wide rc file.
+ static string SystemWideRcPath();
+
// Returns the search paths for the RC file in the workspace.
static void WorkspaceRcFileSearchPath(std::vector<string>* candidates);