OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 3 | 35 #define MAJOR_VERSION 3 |
36 #define MINOR_VERSION 6 | 36 #define MINOR_VERSION 6 |
37 #define BUILD_NUMBER 6 | 37 #define BUILD_NUMBER 6 |
38 #define PATCH_LEVEL 15 | 38 #define PATCH_LEVEL 16 |
39 // Use 1 for candidates and 0 otherwise. | 39 // Use 1 for candidates and 0 otherwise. |
40 // (Boolean macro values are not supported by all preprocessors.) | 40 // (Boolean macro values are not supported by all preprocessors.) |
41 #define IS_CANDIDATE_VERSION 0 | 41 #define IS_CANDIDATE_VERSION 0 |
42 | 42 |
43 // Define SONAME to have the SCons build the put a specific SONAME into the | 43 // Define SONAME to have the SCons build the put a specific SONAME into the |
44 // shared library instead the generic SONAME generated from the V8 version | 44 // shared library instead the generic SONAME generated from the V8 version |
45 // number. This define is mainly used by the SCons build script. | 45 // number. This define is mainly used by the SCons build script. |
46 #define SONAME "" | 46 #define SONAME "" |
47 | 47 |
48 #if IS_CANDIDATE_VERSION | 48 #if IS_CANDIDATE_VERSION |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 OS::SNPrintF(str, "libv8-%d.%d.%d%s.so", | 107 OS::SNPrintF(str, "libv8-%d.%d.%d%s.so", |
108 GetMajor(), GetMinor(), GetBuild(), candidate); | 108 GetMajor(), GetMinor(), GetBuild(), candidate); |
109 } | 109 } |
110 } else { | 110 } else { |
111 // Use specific SONAME. | 111 // Use specific SONAME. |
112 OS::SNPrintF(str, "%s", soname_); | 112 OS::SNPrintF(str, "%s", soname_); |
113 } | 113 } |
114 } | 114 } |
115 | 115 |
116 } } // namespace v8::internal | 116 } } // namespace v8::internal |
OLD | NEW |