DescriptionChange how version_build_patch is computed to allow PATCH > 255
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>
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42771
Patch Set 1 #Patch Set 2 : rebased against trunk and simplified changes to version.py a bit #
Total comments: 2
Patch Set 3 : incorporated Mark's feedback #
Messages
Total messages: 5 (0 generated)
|