Changeset 35278 in webkit for trunk/JavaScriptCore/Configurations


Ignore:
Timestamp:
Jul 21, 2008, 6:05:12 PM (17 years ago)
Author:
[email protected]
Message:

<rdar://problem/6091287> Revamp the handling of CFBundleShortVersionString to be fixed at the major component of the version number.

Reviewed by Sam Weinig.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/Configurations/Version.xcconfig

    r35192 r35278  
    44FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION);
    55
    6 // The bundle version is set based on the current build configuration, see below.
     6// The bundle version and short version string are set based on the current build configuration, see below.
    77BUNDLE_VERSION = $(BUNDLE_VERSION_$(CONFIGURATION));
    8 
    9 // The local builds are always just the major version with a Plus suffix.
    10 BUNDLE_VERSION_Release = $(FULL_VERSION)+;
    11 BUNDLE_VERSION_Debug = $(BUNDLE_VERSION_Release);
     8SHORT_VERSION_STRING = $(SHORT_VERSION_STRING_$(CONFIGURATION))
    129
    1310// The system version prefix is based on the current system version.
     
    2017// The production build always uses the full version with a system version prefix.
    2118BUNDLE_VERSION_Production = $(SYSTEM_VERSION_PREFIX)$(FULL_VERSION);
     19BUNDLE_VERSION_ = $(BUNDLE_VERSION_Production);
    2220
    23 // If $(CONFIGURATION) is undefined, use the Production version.
    24 BUNDLE_VERSION_ = $(BUNDLE_VERSION_Production);
     21// The production build always uses the major version with a system version prefix
     22SHORT_VERSION_STRING_Production = $(SYSTEM_VERSION_PREFIX)$(MAJOR_VERSION);
     23SHORT_VERSION_STRING_ = $(SHORT_VERSION_STRING_Production);
     24
     25// Local builds are the full version with a plus suffix.
     26BUNDLE_VERSION_Release = $(FULL_VERSION)+;
     27BUNDLE_VERSION_Debug = $(BUNDLE_VERSION_Release);
     28
     29// Local builds use the major version with a plus suffix
     30SHORT_VERSION_STRING_Release = $(MAJOR_VERSION)+;
     31SHORT_VERSION_STRING_Debug = $(SHORT_VERSION_STRING_Release);
    2532
    2633DYLIB_COMPATIBILITY_VERSION = 1;
Note: See TracChangeset for help on using the changeset viewer.