Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Side by Side Diff: include/v8-version-string.h

Issue 2643393004: Revert of [build] Introduce an embedder version string (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/v8-version.h ('k') | src/log-utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_VERSION_STRING_H_ 5 #ifndef V8_VERSION_STRING_H_
6 #define V8_VERSION_STRING_H_ 6 #define V8_VERSION_STRING_H_
7 7
8 #include "v8-version.h" // NOLINT(build/include) 8 #include "v8-version.h" // NOLINT(build/include)
9 9
10 // This is here rather than v8-version.h to keep that file simple and 10 // This is here rather than v8-version.h to keep that file simple and
11 // machine-processable. 11 // machine-processable.
12 12
13 #if V8_IS_CANDIDATE_VERSION 13 #if V8_IS_CANDIDATE_VERSION
14 #define V8_CANDIDATE_STRING " (candidate)" 14 #define V8_CANDIDATE_STRING " (candidate)"
15 #else 15 #else
16 #define V8_CANDIDATE_STRING "" 16 #define V8_CANDIDATE_STRING ""
17 #endif 17 #endif
18 18
19 #define V8_SX(x) #x 19 #define V8_SX(x) #x
20 #define V8_S(x) V8_SX(x) 20 #define V8_S(x) V8_SX(x)
21 21
22 #if V8_PATCH_LEVEL > 0 22 #if V8_PATCH_LEVEL > 0
23 #define V8_VERSION_STRING \ 23 #define V8_VERSION_STRING \
24 V8_S(V8_MAJOR_VERSION) \ 24 V8_S(V8_MAJOR_VERSION) \
25 "." V8_S(V8_MINOR_VERSION) "." V8_S(V8_BUILD_NUMBER) "." V8_S( \ 25 "." V8_S(V8_MINOR_VERSION) "." V8_S(V8_BUILD_NUMBER) "." V8_S( \
26 V8_PATCH_LEVEL) V8_EMBEDDER_STRING V8_CANDIDATE_STRING 26 V8_PATCH_LEVEL) V8_CANDIDATE_STRING
27 #else 27 #else
28 #define V8_VERSION_STRING \ 28 #define V8_VERSION_STRING \
29 V8_S(V8_MAJOR_VERSION) \ 29 V8_S(V8_MAJOR_VERSION) \
30 "." V8_S(V8_MINOR_VERSION) "." V8_S(V8_BUILD_NUMBER) V8_CANDIDATE_STRING 30 "." V8_S(V8_MINOR_VERSION) "." V8_S(V8_BUILD_NUMBER) V8_CANDIDATE_STRING
31 #endif 31 #endif
32 32
33 #endif // V8_VERSION_STRING_H_ 33 #endif // V8_VERSION_STRING_H_
OLDNEW
« no previous file with comments | « include/v8-version.h ('k') | src/log-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698