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

Issue 1752873002: Use bundle_data and create_bundle to add support for iOS app bundle. (Closed)

Created:
4 years, 9 months ago by sdefresne
Modified:
4 years, 7 months ago
Reviewers:
Dirk Pranke, brettw, Nico
CC:
brettw, chromium-reviews, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@gn-create-bundle
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use bundle_data and create_bundle to add support for iOS app bundle. Add a new script //build/config/ios/ios_gen_plist.py to generate the Info.plist by merging multiple source files, performing substitutions of variables and converting to binary1 format. Expand //build/config/ios/ios_sdk.gni to output variables required for the substitution of variables in Info.plist. Refactor ios_app template to use bundle_data and create_bundle to create the application bundle. BUG=297668 Committed: https://crrev.com/01285787153c6abbaaa7f86ace3023dd89159476 Cr-Commit-Position: refs/heads/master@{#381429}

Patch Set 1 #

Total comments: 26

Patch Set 2 : Rebase and address comments #

Total comments: 2

Patch Set 3 : Fix typo in comment and expand to answer dpranke's question #

Patch Set 4 : Rebase #

Total comments: 11

Patch Set 5 : Remove conditional around bundle_data, use response_file_contents, clean description of compile_xca… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+502 lines, -196 lines) Patch
M base/BUILD.gn View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
A build/config/ios/BuildInfo.plist View 1 chunk +35 lines, -0 lines 0 comments Download
A build/config/ios/ios_gen_plist.py View 1 1 chunk +207 lines, -0 lines 0 comments Download
M build/config/ios/ios_sdk.gni View 1 2 chunks +24 lines, -5 lines 0 comments Download
M build/config/ios/ios_sdk.py View 1 chunk +46 lines, -7 lines 0 comments Download
M build/config/ios/rules.gni View 1 2 3 4 1 chunk +125 lines, -154 lines 0 comments Download
M build/toolchain/mac/BUILD.gn View 1 2 3 4 2 chunks +29 lines, -0 lines 0 comments Download
M ios/web/shell/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M testing/test.gni View 1 2 3 3 chunks +21 lines, -29 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
sdefresne
Please take a look. This depends on my changes to tools/gn landing first and then ...
4 years, 9 months ago (2016-03-01 19:31:33 UTC) #2
Dirk Pranke
https://codereview.chromium.org/1752873002/diff/1/build/config/ios/ios_gen_plist.py File build/config/ios/ios_gen_plist.py (right): https://codereview.chromium.org/1752873002/diff/1/build/config/ios/ios_gen_plist.py#newcode30 build/config/ios/ios_gen_plist.py:30: provide a subclass to have the correct support for ...
4 years, 9 months ago (2016-03-01 23:56:30 UTC) #3
sdefresne
dpranke: please take another look https://codereview.chromium.org/1752873002/diff/1/build/config/ios/ios_gen_plist.py File build/config/ios/ios_gen_plist.py (right): https://codereview.chromium.org/1752873002/diff/1/build/config/ios/ios_gen_plist.py#newcode30 build/config/ios/ios_gen_plist.py:30: provide a subclass to ...
4 years, 9 months ago (2016-03-11 17:57:12 UTC) #5
Dirk Pranke
lgtm w/ one minor typo and a question ... https://codereview.chromium.org/1752873002/diff/40001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1752873002/diff/40001/build/config/ios/rules.gni#newcode156 build/config/ios/rules.gni:156: ...
4 years, 9 months ago (2016-03-11 20:56:21 UTC) #6
sdefresne
https://codereview.chromium.org/1752873002/diff/40001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1752873002/diff/40001/build/config/ios/rules.gni#newcode156 build/config/ios/rules.gni:156: # - find a way to make "ninja -C ...
4 years, 9 months ago (2016-03-14 09:52:48 UTC) #7
sdefresne
thakis: can you review base/BUILD.gn as OWNERS? You can see the design for create_bundle/bundle_data at ...
4 years, 9 months ago (2016-03-14 10:47:20 UTC) #9
sdefresne
-thakis (OOO), +brettw: needs OWNERS stamp for base/BUILD.gn
4 years, 9 months ago (2016-03-15 14:29:05 UTC) #11
brettw
lgtm https://codereview.chromium.org/1752873002/diff/80001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1752873002/diff/80001/base/BUILD.gn#newcode1624 base/BUILD.gn:1624: bundle_data("base_unittests_bundle_data") { Can bundles be set up in ...
4 years, 9 months ago (2016-03-15 18:02:30 UTC) #12
Dirk Pranke
https://codereview.chromium.org/1752873002/diff/80001/build/config/ios/ios_gen_plist.py File build/config/ios/ios_gen_plist.py (right): https://codereview.chromium.org/1752873002/diff/80001/build/config/ios/ios_gen_plist.py#newcode1 build/config/ios/ios_gen_plist.py:1: # Copyright 2016 The Chromium Authors. All rights reserved. ...
4 years, 9 months ago (2016-03-16 01:19:05 UTC) #13
sdefresne
Thank you for the reviews. https://codereview.chromium.org/1752873002/diff/80001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1752873002/diff/80001/base/BUILD.gn#newcode1624 base/BUILD.gn:1624: bundle_data("base_unittests_bundle_data") { On 2016/03/15 ...
4 years, 9 months ago (2016-03-16 09:58:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1752873002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1752873002/120001
4 years, 9 months ago (2016-03-16 09:59:05 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 9 months ago (2016-03-16 10:55:50 UTC) #19
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/01285787153c6abbaaa7f86ace3023dd89159476 Cr-Commit-Position: refs/heads/master@{#381429}
4 years, 9 months ago (2016-03-16 10:56:52 UTC) #21
Nico
xcodebuild is very very slow. Can you use something like this to replace at least ...
4 years, 7 months ago (2016-05-06 11:28:11 UTC) #23
Nico
4 years, 7 months ago (2016-05-06 13:55:43 UTC) #24
Message was sent while issue was closed.
On 2016/05/06 11:28:11, Nico wrote:
> xcodebuild is very very slow. Can you use something like this to replace at
> least some of the xcodebuild calls with xcrun calls? 'Path' is
--show-sdk-path,
> 'SDKVersion' is --show-sdk-version. I don't see something for
> ProductBuildVersion, but gyp doesn't query that value, so maybe we don't need
> it.

"this" above was meant to be a link to 
https://codereview.chromium.org/1521233002/

Powered by Google App Engine
This is Rietveld 408576698