aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/blaze_startup_options.h
diff options
context:
space:
mode:
authorGravatar Luis Fernando Pino Duque <lpino@google.com>2016-06-24 09:43:20 +0000
committerGravatar Klaus Aehlig <aehlig@google.com>2016-06-24 11:34:22 +0000
commit928a49c60e1b1d39bf48df6c165ca3f08d0bea1f (patch)
treed2d8e7b92d1597c41574a9000616d5bffce1afbd /src/main/cpp/blaze_startup_options.h
parent13fa5bffc751cc34f4b4a376db0f1152fa3283d6 (diff)
Set the default value of PRODUCT_NAME to "Bazel" and add a test to guarantee
Bazel is using the right value. -- MOS_MIGRATED_REVID=125764994
Diffstat (limited to 'src/main/cpp/blaze_startup_options.h')
-rw-r--r--src/main/cpp/blaze_startup_options.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/cpp/blaze_startup_options.h b/src/main/cpp/blaze_startup_options.h
index d5ab0af61c..68b98ac7c3 100644
--- a/src/main/cpp/blaze_startup_options.h
+++ b/src/main/cpp/blaze_startup_options.h
@@ -44,9 +44,6 @@ class BlazeStartupOptions {
~BlazeStartupOptions();
BlazeStartupOptions& operator=(const BlazeStartupOptions &rhs);
- // Returns the capitalized name of this binary.
- string GetProductName();
-
// Parses a single argument, either from the command line or from the .blazerc
// "startup" options.
//
@@ -115,6 +112,9 @@ class BlazeStartupOptions {
const string &host_javabase, std::vector<string> *result,
const std::vector<string> &user_options, string *error) const;
+ // The capitalized name of this binary.
+ string product_name;
+
// Blaze's output base. Everything is relative to this. See
// the BlazeDirectories Java class for details.
string output_base;