Flutter Engine
The Flutter Engine
build_info_in.cc
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
6
7namespace dart_utils {
8
10 return "{{DART_SDK_GIT_REVISION}}";
11}
12
14 return "{{DART_SDK_SEMANTIC_VERSION}}";
15}
16
18 return "{{FLUTTER_ENGINE_GIT_REVISION}}";
19}
20
22 return "{{FUCHSIA_SDK_VERSION}}";
23}
24
25void BuildInfo::Dump(inspect::Node& node) {
26 node.CreateString("dart_sdk_git_revision", DartSdkGitRevision(),
28 node.CreateString("dart_sdk_semantic_version", DartSdkSemanticVersion(),
30 node.CreateString("flutter_engine_git_revision", FlutterEngineGitRevision(),
32 node.CreateString("fuchsia_sdk_version", FuchsiaSdkVersion(),
34}
35
36} // namespace dart_utils
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
static inspect::Inspector * GetInspector()