summaryrefslogtreecommitdiffstats
path: root/chrome/tools/build/version.py
Commit message (Collapse)AuthorAgeFilesLines
* Change how version_build_patch is computed to allow PATCH > 255mark@chromium.org2010-03-261-7/+15
| | | | | | | | | | | | | | | | | | | | version_build_patch is built as BUILD.PATCH and then used to set DYLIB_CURRENT_VERSION and DYLIB_COMPATIBILITY_VERSION on Mac OS X. These VERSION strings have the format X.Y.Z, where X cannot exceed 65535 and Y and Z cannot exceed 255 (see the ld man page). In order to allow PATCH to exceed 255, change version_build_patch to BUILD.PATCH/256.PATCH%256. BUG=39244 TEST=Set PATCH > 255 in chrome/VERSION, rebuild, and use otool -L to confirm version Patch by Jay Soffian <jaysoffian@gmail.com> Review URL: http://codereview.chromium.org/1322002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42771 0039d316-1c4b-4281-b951-d872f2087c98
* Let version.py accept its template on the command linemark@chromium.org2009-10-081-14/+30
| | | | | | Review URL: http://codereview.chromium.org/266016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28398 0039d316-1c4b-4281-b951-d872f2087c98
* Fetch last change (revision) info in a separate action that can runsgk@google.com2009-06-041-53/+1
| | | | | | | | | | every build, instead of having it occur as a side effect of updating some other target for which we want to use normal up-to-date checks. BUG=none TEST=none Review URL: http://codereview.chromium.org/118192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17634 0039d316-1c4b-4281-b951-d872f2087c98
* Add default version information and ability to output to stdout.mmoss@chromium.org2009-05-281-9/+35
| | | | | | | | | | This is useful for getting general build version information, such as needed for Linux packaging. Review URL: http://codereview.chromium.org/115842 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17096 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite version.sh as version.py to work better with gyp and be moresgk@google.com2009-05-151-0/+199
generic (no hard-coded list of substitution variables, only use file names specified from the command line). Update base.gyp with the to generate file_version_info_linux.h with the new calling convention. Review URL: http://codereview.chromium.org/113432 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16211 0039d316-1c4b-4281-b951-d872f2087c98