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

Issue 2044893002: Fix version format used on iOS by build/mac/tweak_info_plist.py. (Closed)

Created:
4 years, 6 months ago by sdefresne
Modified:
4 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -35 lines) Patch
M build/mac/tweak_info_plist.py View 1 2 chunks +57 lines, -35 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
sdefresne
olivierrobin: can you review to ensure this now use the correct values on iOS? thomasvl: ...
4 years, 6 months ago (2016-06-07 14:37:50 UTC) #2
Olivier
LGTM after you remove the print https://codereview.chromium.org/2044893002/diff/1/build/mac/tweak_info_plist.py File build/mac/tweak_info_plist.py (right): https://codereview.chromium.org/2044893002/diff/1/build/mac/tweak_info_plist.py#newcode92 build/mac/tweak_info_plist.py:92: print version_format, values, ...
4 years, 6 months ago (2016-06-07 14:51:24 UTC) #3
sdefresne
Thank you for the review Olivier. https://codereview.chromium.org/2044893002/diff/1/build/mac/tweak_info_plist.py File build/mac/tweak_info_plist.py (right): https://codereview.chromium.org/2044893002/diff/1/build/mac/tweak_info_plist.py#newcode92 build/mac/tweak_info_plist.py:92: print version_format, values, ...
4 years, 6 months ago (2016-06-07 14:57:36 UTC) #4
sdefresne
+carusom: FYI
4 years, 6 months ago (2016-06-07 15:44:59 UTC) #7
Andy Caruso
On 2016/06/07 15:44:59, sdefresne wrote: > +carusom: FYI tvl: This issue is breaking compile on ...
4 years, 6 months ago (2016-06-07 15:56:02 UTC) #8
TVL
lgtm
4 years, 6 months ago (2016-06-07 17:31:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2044893002/20001
4 years, 6 months ago (2016-06-07 17:33:49 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-07 17:38:24 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 17:40:33 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8001eee13920c32ca685f6700bbe2db77eed8046
Cr-Commit-Position: refs/heads/master@{#398323}

Powered by Google App Engine
This is Rietveld 408576698