Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart_utils::BuildInfo Class Reference

#include <build_info.h>

Static Public Member Functions

static const char * DartSdkGitRevision ()
 
static const char * DartSdkSemanticVersion ()
 
static const char * FlutterEngineGitRevision ()
 
static const char * FuchsiaSdkVersion ()
 
static void Dump (inspect::Node &node)
 

Detailed Description

Definition at line 12 of file build_info.h.

Member Function Documentation

◆ DartSdkGitRevision()

const char * dart_utils::BuildInfo::DartSdkGitRevision ( )
static

Definition at line 9 of file build_info_in.cc.

9 {
10 return "{{DART_SDK_GIT_REVISION}}";
11}

◆ DartSdkSemanticVersion()

const char * dart_utils::BuildInfo::DartSdkSemanticVersion ( )
static

Definition at line 13 of file build_info_in.cc.

13 {
14 return "{{DART_SDK_SEMANTIC_VERSION}}";
15}

◆ Dump()

void dart_utils::BuildInfo::Dump ( inspect::Node &  node)
static

Appends the above properties to the specified node on the inspect tree for the duration of the node's lifetime.

Definition at line 25 of file build_info_in.cc.

25 {
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}
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()

◆ FlutterEngineGitRevision()

const char * dart_utils::BuildInfo::FlutterEngineGitRevision ( )
static

Definition at line 17 of file build_info_in.cc.

17 {
18 return "{{FLUTTER_ENGINE_GIT_REVISION}}";
19}

◆ FuchsiaSdkVersion()

const char * dart_utils::BuildInfo::FuchsiaSdkVersion ( )
static

Definition at line 21 of file build_info_in.cc.

21 {
22 return "{{FUCHSIA_SDK_VERSION}}";
23}

The documentation for this class was generated from the following files: