Flutter Engine
The Flutter Engine
version_in.cc
Go to the documentation of this file.
1// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5#include "vm/version.h"
6
7#include "vm/globals.h"
8
9namespace dart {
10
11const char* Version::String() {
12 return str_;
13}
14
15const char* Version::SnapshotString() {
16 return snapshot_hash_;
17}
18
19const char* Version::CommitString() {
20 return commit_;
21}
22
23const char* Version::SdkHash() {
24 return git_short_hash_;
25}
26
27const char* Version::Channel() {
28 return channel_;
29}
30
31const char* Version::snapshot_hash_ = "{{SNAPSHOT_HASH}}";
32const char* Version::str_ =
33 "{{VERSION_STR}} ({{CHANNEL}}) ({{COMMIT_TIME}})"
34 " on \"" kHostOperatingSystemName
35 "_"
36#if defined(USING_SIMULATOR)
37 "sim"
38#endif
39 kTargetArchitectureName "\"";
40const char* Version::commit_ = "{{VERSION_STR}}";
41const char* Version::git_short_hash_ = "{{GIT_HASH}}";
42const char* Version::channel_ = "{{CHANNEL}}";
43
44} // namespace dart
static const char * SnapshotString()
static const char * Channel()
static const char * SdkHash()
static const char * CommitString()
static const char * String()
Definition: dart_vm.cc:33