Flutter Engine
The Flutter Engine
build_info.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_BUILD_INFO_H_
6#define FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_BUILD_INFO_H_
7
8#include "root_inspect_node.h"
9
10namespace dart_utils {
11
12class BuildInfo {
13 public:
14 static const char* DartSdkGitRevision();
15 static const char* DartSdkSemanticVersion();
16 static const char* FlutterEngineGitRevision();
17 static const char* FuchsiaSdkVersion();
18
19 /// Appends the above properties to the specified node on the inspect tree for
20 /// the duration of the node's lifetime.
21 static void Dump(inspect::Node& node);
22};
23
24} // namespace dart_utils
25
26#endif // FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_BUILD_INFO_H_
static void Dump(inspect::Node &node)
static const char * FuchsiaSdkVersion()
static const char * DartSdkSemanticVersion()
static const char * FlutterEngineGitRevision()
static const char * DartSdkGitRevision()
Definition: build_info_in.cc:9