| Index: src/version.cc
|
| diff --git a/src/version.cc b/src/version.cc
|
| index a8a82ca8c8082c93074d20798d3022af24fef19d..7305bf2576ef49a0da53d97630899d2732f6e237 100644
|
| --- a/src/version.cc
|
| +++ b/src/version.cc
|
| @@ -22,10 +22,9 @@
|
| #define S(x) SX(x)
|
|
|
| #if V8_PATCH_LEVEL > 0
|
| -#define VERSION_STRING \
|
| - S(V8_MAJOR_VERSION) \
|
| - "." S(V8_MINOR_VERSION) "." S(V8_BUILD_NUMBER) "." S(V8_PATCH_LEVEL) \
|
| - V8_EMBEDDER_STRING CANDIDATE_STRING
|
| +#define VERSION_STRING \
|
| + S(V8_MAJOR_VERSION) "." S(V8_MINOR_VERSION) "." S(V8_BUILD_NUMBER) "." S( \
|
| + V8_PATCH_LEVEL) CANDIDATE_STRING
|
| #else
|
| #define VERSION_STRING \
|
| S(V8_MAJOR_VERSION) "." S(V8_MINOR_VERSION) "." S(V8_BUILD_NUMBER) \
|
| @@ -39,7 +38,6 @@
|
| int Version::minor_ = V8_MINOR_VERSION;
|
| int Version::build_ = V8_BUILD_NUMBER;
|
| int Version::patch_ = V8_PATCH_LEVEL;
|
| -const char* Version::embedder_ = V8_EMBEDDER_STRING;
|
| bool Version::candidate_ = (V8_IS_CANDIDATE_VERSION != 0);
|
| const char* Version::soname_ = SONAME;
|
| const char* Version::version_string_ = VERSION_STRING;
|
| @@ -53,8 +51,9 @@
|
| const char* is_simulator = "";
|
| #endif // USE_SIMULATOR
|
| if (GetPatch() > 0) {
|
| - SNPrintF(str, "%d.%d.%d.%d%s%s%s", GetMajor(), GetMinor(), GetBuild(),
|
| - GetPatch(), GetEmbedder(), candidate, is_simulator);
|
| + SNPrintF(str, "%d.%d.%d.%d%s%s",
|
| + GetMajor(), GetMinor(), GetBuild(), GetPatch(), candidate,
|
| + is_simulator);
|
| } else {
|
| SNPrintF(str, "%d.%d.%d%s%s",
|
| GetMajor(), GetMinor(), GetBuild(), candidate,
|
| @@ -69,8 +68,8 @@
|
| // Generate generic SONAME if no specific SONAME is defined.
|
| const char* candidate = IsCandidate() ? "-candidate" : "";
|
| if (GetPatch() > 0) {
|
| - SNPrintF(str, "libv8-%d.%d.%d.%d%s%s.so", GetMajor(), GetMinor(),
|
| - GetBuild(), GetPatch(), GetEmbedder(), candidate);
|
| + SNPrintF(str, "libv8-%d.%d.%d.%d%s.so",
|
| + GetMajor(), GetMinor(), GetBuild(), GetPatch(), candidate);
|
| } else {
|
| SNPrintF(str, "libv8-%d.%d.%d%s.so",
|
| GetMajor(), GetMinor(), GetBuild(), candidate);
|
|
|