aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/blaze_startup_options.h
diff options
context:
space:
mode:
authorGravatar Alex Humesky <ahumesky@google.com>2015-09-29 01:42:00 +0000
committerGravatar Florian Weikert <fwe@google.com>2015-09-30 09:33:06 +0000
commit2f3f4cf925a760019fd089dd5ee771a3552fb278 (patch)
treec3950d8da89e776e6c0bccaf0802c5291397cfed /src/main/cpp/blaze_startup_options.h
parentc2579a5041568592913165bc0a167bd0b70f46a2 (diff)
Adds a mechanism for invocation policy. The policy is taken through the --invocation_policy startup flag and allows an application invoking Bazel to set or override flag values (whether from the command line or a bazelrc).
-- MOS_MIGRATED_REVID=104160290
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 84db894168..f29ab3fcb0 100644
--- a/src/main/cpp/blaze_startup_options.h
+++ b/src/main/cpp/blaze_startup_options.h
@@ -198,6 +198,9 @@ class BlazeStartupOptions {
// Port for web status server, 0 to disable
int webstatus_port;
+ // Invocation policy proto. May be NULL.
+ const char* invocation_policy;
+
private:
string host_javabase;