DescriptionFix version format used on iOS by build/mac/tweak_info_plist.py.
Chrome on iOS uses different format by default for the "CFBundleVersion"
and "CFBundleShortVersionString" Info.plist values.
Change _AddVersionKeys function to take as parameter a dictionary from
Info.plist keys to version format using @MAJOR@, @MINOR@, @BUILD@ and
@PATCH@ patterns to represent the different component of the version,
and pass a different dictionary depending on the platform.
Refactor how the version is extracted using the build/util/version.py
script (it was invoked twice, but the second invocation can be removed
as the output needs to be post-processed).
BUG=502295, 616750
Committed: https://crrev.com/8001eee13920c32ca685f6700bbe2db77eed8046
Cr-Commit-Position: refs/heads/master@{#398323}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Remove debug "print" statements #Messages
Total messages: 16 (7 generated)
|