OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #include "src/version.h" |
| 6 |
5 #include "include/v8-version.h" | 7 #include "include/v8-version.h" |
6 #include "src/v8.h" | 8 #include "src/utils.h" |
7 #include "src/version.h" | |
8 | 9 |
9 // Define SONAME to have the build system put a specific SONAME into the | 10 // Define SONAME to have the build system put a specific SONAME into the |
10 // shared library instead the generic SONAME generated from the V8 version | 11 // shared library instead the generic SONAME generated from the V8 version |
11 // number. This define is mainly used by the build system script. | 12 // number. This define is mainly used by the build system script. |
12 #define SONAME "" | 13 #define SONAME "" |
13 | 14 |
14 #if V8_IS_CANDIDATE_VERSION | 15 #if V8_IS_CANDIDATE_VERSION |
15 #define CANDIDATE_STRING " (candidate)" | 16 #define CANDIDATE_STRING " (candidate)" |
16 #else | 17 #else |
17 #define CANDIDATE_STRING "" | 18 #define CANDIDATE_STRING "" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 GetMajor(), GetMinor(), GetBuild(), candidate); | 75 GetMajor(), GetMinor(), GetBuild(), candidate); |
75 } | 76 } |
76 } else { | 77 } else { |
77 // Use specific SONAME. | 78 // Use specific SONAME. |
78 SNPrintF(str, "%s", soname_); | 79 SNPrintF(str, "%s", soname_); |
79 } | 80 } |
80 } | 81 } |
81 | 82 |
82 } // namespace internal | 83 } // namespace internal |
83 } // namespace v8 | 84 } // namespace v8 |
OLD | NEW |