OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "v8.h" | 28 #include "v8.h" |
29 | 29 |
30 #include "version.h" | 30 #include "version.h" |
31 | 31 |
32 // These macros define the version number for the current version. | 32 // These macros define the version number for the current version. |
33 // NOTE these macros are used by the SCons build script so their names | 33 // NOTE these macros are used by the SCons build script so their names |
34 // cannot be changed without changing the SCons build script. | 34 // cannot be changed without changing the SCons build script. |
35 #define MAJOR_VERSION 2 | 35 #define MAJOR_VERSION 2 |
36 #define MINOR_VERSION 2 | 36 #define MINOR_VERSION 2 |
37 #define BUILD_NUMBER 0 | 37 #define BUILD_NUMBER 0 |
38 #define PATCH_LEVEL 2 | 38 #define PATCH_LEVEL 3 |
39 #define CANDIDATE_VERSION false | 39 #define CANDIDATE_VERSION false |
40 | 40 |
41 // Define SONAME to have the SCons build the put a specific SONAME into the | 41 // Define SONAME to have the SCons build the put a specific SONAME into the |
42 // shared library instead the generic SONAME generated from the V8 version | 42 // shared library instead the generic SONAME generated from the V8 version |
43 // number. This define is mainly used by the SCons build script. | 43 // number. This define is mainly used by the SCons build script. |
44 #define SONAME "" | 44 #define SONAME "" |
45 | 45 |
46 namespace v8 { | 46 namespace v8 { |
47 namespace internal { | 47 namespace internal { |
48 | 48 |
(...skipping 30 matching lines...) Expand all Loading... |
79 OS::SNPrintF(str, "libv8-%d.%d.%d%s.so", | 79 OS::SNPrintF(str, "libv8-%d.%d.%d%s.so", |
80 GetMajor(), GetMinor(), GetBuild(), candidate); | 80 GetMajor(), GetMinor(), GetBuild(), candidate); |
81 } | 81 } |
82 } else { | 82 } else { |
83 // Use specific SONAME. | 83 // Use specific SONAME. |
84 OS::SNPrintF(str, "%s", soname_); | 84 OS::SNPrintF(str, "%s", soname_); |
85 } | 85 } |
86 } | 86 } |
87 | 87 |
88 } } // namespace v8::internal | 88 } } // namespace v8::internal |
OLD | NEW |