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

Issue 1877523002: Mac/iOS/GN: Generate Info.plist files for Mac apps and frameworks with gn. (Closed)

Created:
4 years, 8 months ago by Patti Lor
Modified:
4 years, 8 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac/iOS/GN: Generate Info.plist files for Mac apps and frameworks with gn. Refactor out common code between Mac and iOS Info.plist generation using gn and make separate mac_info_plist and ios_info_plist templates for use with existing mac_framework_bundle, mac_app_bundle, and ios_app_bundle templates. BUG=297668 Committed: https://crrev.com/7df5f898fc2ccd951ac36fb18a485775586b4dcf Cr-Commit-Position: refs/heads/master@{#389682}

Patch Set 1 #

Patch Set 2 : Linting. #

Patch Set 3 : Refactor out Info.plist generation into its own template. #

Total comments: 12

Patch Set 4 : Address review comments. #

Patch Set 5 : Refactor out common plist generation code between iOS and Mac. #

Patch Set 6 : Cleanup & forward extra_substitution variable for ios_app_bundle. #

Patch Set 7 : Fix unused variable issues. #

Total comments: 6

Patch Set 8 : Remove unneeded asserts and keep _output_name private. #

Total comments: 4

Patch Set 9 : Delete version information to be populated elsewhere, fix assert string. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -319 lines) Patch
D build/config/ios/ios_gen_plist.py View 1 2 1 chunk +0 lines, -207 lines 0 comments Download
M build/config/ios/ios_sdk.gni View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
D build/config/ios/ios_sdk.py View 1 2 1 chunk +0 lines, -58 lines 0 comments Download
M build/config/ios/rules.gni View 1 2 3 4 5 6 7 8 2 chunks +30 lines, -34 lines 0 comments Download
A build/config/mac/BuildInfo.plist View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A + build/config/mac/gen_plist.py View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M build/config/mac/mac_sdk.gni View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M build/config/mac/rules.gni View 1 2 3 4 5 6 7 8 4 chunks +102 lines, -10 lines 0 comments Download
A + build/config/mac/sdk_info.py View 1 2 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
Patti Lor
Hi Robert, PTAL. It's almost there (I think?) but gn is complaining about duplicate Info.plist ...
4 years, 8 months ago (2016-04-19 05:53:27 UTC) #4
Robert Sesek
Thanks for working on this! With the changes we discussed over email, this should work. ...
4 years, 8 months ago (2016-04-19 14:49:04 UTC) #5
Patti Lor
Thanks Robert, here are the changes you suggested! I went ahead and created a ios_info_plist ...
4 years, 8 months ago (2016-04-21 08:02:09 UTC) #8
Robert Sesek
https://codereview.chromium.org/1877523002/diff/140001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1877523002/diff/140001/build/config/ios/rules.gni#newcode9 build/config/ios/rules.gni:9: assert(defined(invoker.info_plist), I think you can rely on the asserts ...
4 years, 8 months ago (2016-04-21 15:36:21 UTC) #9
Patti Lor
https://codereview.chromium.org/1877523002/diff/140001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1877523002/diff/140001/build/config/ios/rules.gni#newcode9 build/config/ios/rules.gni:9: assert(defined(invoker.info_plist), On 2016/04/21 15:36:21, Robert Sesek wrote: > I ...
4 years, 8 months ago (2016-04-22 02:49:55 UTC) #10
Robert Sesek
LGTM w/ two nits. https://codereview.chromium.org/1877523002/diff/160001/build/config/mac/rules.gni File build/config/mac/rules.gni (right): https://codereview.chromium.org/1877523002/diff/160001/build/config/mac/rules.gni#newcode28 build/config/mac/rules.gni:28: "The output_name file must be ...
4 years, 8 months ago (2016-04-22 04:34:40 UTC) #11
Patti Lor
https://codereview.chromium.org/1877523002/diff/160001/build/config/mac/rules.gni File build/config/mac/rules.gni (right): https://codereview.chromium.org/1877523002/diff/160001/build/config/mac/rules.gni#newcode28 build/config/mac/rules.gni:28: "The output_name file must be specified for $target_name") On ...
4 years, 8 months ago (2016-04-26 03:25:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1877523002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1877523002/180001
4 years, 8 months ago (2016-04-26 03:25:43 UTC) #15
commit-bot: I haz the power
Committed patchset #9 (id:180001)
4 years, 8 months ago (2016-04-26 03:30:03 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 03:31:22 UTC) #19
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/7df5f898fc2ccd951ac36fb18a485775586b4dcf
Cr-Commit-Position: refs/heads/master@{#389682}

Powered by Google App Engine
This is Rietveld 408576698