aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/option_processor.h
diff options
context:
space:
mode:
authorGravatar Julio Merino <jmmv@google.com>2017-01-20 14:05:26 +0000
committerGravatar Vladimir Moskva <vladmos@google.com>2017-01-20 15:44:41 +0000
commit726ca5af9d7b40ecf7042f1746c3c7a7dea42cbd (patch)
tree4b663ebfee749a753f67d4c74be017eaf6e3566f /src/main/cpp/option_processor.h
parentd9de6717261c71ec8077e98d8a361175340bcce8 (diff)
Determine the .bazelrc's name based on the product name.
When looking up the .bazelrc file in the workspace or the home directory, construct its name using the built-in product name instead of hardcoding the name in the WorkspaceLayout class. This removes an additional hardcoded value and changes the code to do the right thing based on the product name. -- PiperOrigin-RevId: 145077783 MOS_MIGRATED_REVID=145077783
Diffstat (limited to 'src/main/cpp/option_processor.h')
-rw-r--r--src/main/cpp/option_processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/cpp/option_processor.h b/src/main/cpp/option_processor.h
index fc6fb33e94..8ea705816a 100644
--- a/src/main/cpp/option_processor.h
+++ b/src/main/cpp/option_processor.h
@@ -102,7 +102,7 @@ class OptionProcessor {
StartupOptions* GetParsedStartupOptions() const;
virtual blaze_exit_code::ExitCode FindUserBlazerc(
- const char* cmdLineRcFile, const std::string& rc_basename,
+ const char* cmdLineRcFile,
const std::string& workspace, std::string* user_blazerc_file,
std::string* error);