Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: src/version.cc

Issue 159494: Add a specific SONAME to the 1.2 branch (Closed) Base URL: http://v8.googlecode.com/svn/branches/1.2/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 23 matching lines...) Expand all
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 14 37 #define BUILD_NUMBER 14
38 #define PATCH_LEVEL 6 38 #define PATCH_LEVEL 6
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 "libv8.so.1"
45 45
46 namespace v8 { 46 namespace v8 {
47 namespace internal { 47 namespace internal {
48 48
49 int Version::major_ = MAJOR_VERSION; 49 int Version::major_ = MAJOR_VERSION;
50 int Version::minor_ = MINOR_VERSION; 50 int Version::minor_ = MINOR_VERSION;
51 int Version::build_ = BUILD_NUMBER; 51 int Version::build_ = BUILD_NUMBER;
52 int Version::patch_ = PATCH_LEVEL; 52 int Version::patch_ = PATCH_LEVEL;
53 bool Version::candidate_ = CANDIDATE_VERSION; 53 bool Version::candidate_ = CANDIDATE_VERSION;
54 const char* Version::soname_ = SONAME; 54 const char* Version::soname_ = SONAME;
(...skipping 24 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698