| 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 1 | 35 #define MAJOR_VERSION 1 |
| 36 #define MINOR_VERSION 2 | 36 #define MINOR_VERSION 2 |
| 37 #define BUILD_NUMBER 3 | 37 #define BUILD_NUMBER 3 |
| 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 { namespace internal { | 46 namespace v8 { namespace internal { |
| 47 | 47 |
| 48 int Version::major_ = MAJOR_VERSION; | 48 int Version::major_ = MAJOR_VERSION; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 78 OS::SNPrintF(str, "libv8-%d.%d.%d%s.so", | 78 OS::SNPrintF(str, "libv8-%d.%d.%d%s.so", |
| 79 GetMajor(), GetMinor(), GetBuild(), candidate); | 79 GetMajor(), GetMinor(), GetBuild(), candidate); |
| 80 } | 80 } |
| 81 } else { | 81 } else { |
| 82 // Use specific SONAME. | 82 // Use specific SONAME. |
| 83 OS::SNPrintF(str, "%s", soname_); | 83 OS::SNPrintF(str, "%s", soname_); |
| 84 } | 84 } |
| 85 } | 85 } |
| 86 | 86 |
| 87 } } // namespace v8::internal | 87 } } // namespace v8::internal |
| OLD | NEW |