blob: 3001e438765aa0df5ac31b280c6d48d47c791ea7 [file] [log] [blame]
Thiago Farina676cb9f2016-10-06 11:00:43 +00001// Copyright 2016 The Bazel Authors. All rights reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#include "src/main/cpp/global_variables.h"
16
17namespace blaze {
18
19GlobalVariables::GlobalVariables(OptionProcessor* option_processor)
20 : option_processor(option_processor),
21 server_pid(-1),
Thiago Farina676cb9f2016-10-06 11:00:43 +000022 options(NULL), /* Initialized after parsing with option_processor. */
23 startup_time(0),
24 extract_data_time(0),
25 command_wait_time(0),
26 restart_reason(NO_RESTART) {}
27
28} // namespace blaze