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

Issue 1611363003: Add support for iOS application bundle to GN. (Closed)

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

Description

Add support for iOS application bundle to GN. Add a new script to generate the Info.plist (variable substitution and merging of multiple Info.plist) and update ios_sdk.py to report extra informations required for the generation of the application Info.plist. Most of that code was baked into gyp itself. Add a new template "ios_test_app" to limit the amount to iOS-specific code into testing/test.gni. Configure it to use the default signing identity, default Info.plist, default application background (required to get correct scaling), Cleanup ios_app.py as it is only used for signing the application and rename it to ios_code_sign.py (to better reflect its purpose). BUG=546283, 297668

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address comments #

Total comments: 1

Patch Set 3 : Address comments #

Patch Set 4 : Filter .xcassets from the copy_bundle_data step #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+550 lines, -285 lines) Patch
M base/BUILD.gn View 1 2 3 1 chunk +35 lines, -0 lines 6 comments Download
A build/config/ios/BuildInfo.plist View 1 chunk +27 lines, -0 lines 0 comments Download
D build/config/ios/ios_app.py View 1 chunk +0 lines, -99 lines 0 comments Download
A build/config/ios/ios_code_sign.py View 1 1 chunk +36 lines, -0 lines 0 comments Download
A build/config/ios/ios_gen_plist.py View 1 1 chunk +143 lines, -0 lines 0 comments Download
M build/config/ios/ios_sdk.gni View 1 2 2 chunks +16 lines, -5 lines 0 comments Download
M build/config/ios/ios_sdk.py View 1 2 1 chunk +45 lines, -7 lines 0 comments Download
M build/config/ios/rules.gni View 1 2 3 2 chunks +214 lines, -134 lines 5 comments Download
M build/toolchain/mac/BUILD.gn View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M testing/test.gni View 1 1 chunk +30 lines, -40 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (1 generated)
sdefresne
Please take a look. brettw: for OWNERS of base/BUILD.gn dpranke: for the rest of the ...
4 years, 11 months ago (2016-01-21 22:02:08 UTC) #2
sdefresne
It is expected that the bots fails since the CL requires a new version of ...
4 years, 11 months ago (2016-01-21 22:02:51 UTC) #3
brettw
lgtm https://codereview.chromium.org/1611363003/diff/1/build/config/ios/ios_code_sign.py File build/config/ios/ios_code_sign.py (right): https://codereview.chromium.org/1611363003/diff/1/build/config/ios/ios_code_sign.py#newcode6 build/config/ios/ios_code_sign.py:6: import errno I think "errno" and "os" are ...
4 years, 11 months ago (2016-01-22 19:00:12 UTC) #4
sdefresne
https://codereview.chromium.org/1611363003/diff/1/build/config/ios/ios_code_sign.py File build/config/ios/ios_code_sign.py (right): https://codereview.chromium.org/1611363003/diff/1/build/config/ios/ios_code_sign.py#newcode6 build/config/ios/ios_code_sign.py:6: import errno On 2016/01/22 at 19:00:12, brettw wrote: > ...
4 years, 11 months ago (2016-01-25 14:01:22 UTC) #5
sdefresne
https://codereview.chromium.org/1611363003/diff/20001/build/toolchain/mac/BUILD.gn File build/toolchain/mac/BUILD.gn (right): https://codereview.chromium.org/1611363003/diff/20001/build/toolchain/mac/BUILD.gn#newcode235 build/toolchain/mac/BUILD.gn:235: command = "rm -rf {{output}} && ./gyp-mac-tool copy-bundle-resource {{source}} ...
4 years, 11 months ago (2016-01-26 12:12:06 UTC) #6
Dirk Pranke
lgtm, but see comments below. For base unittests, the list of files is small enough ...
4 years, 10 months ago (2016-01-29 00:54:25 UTC) #7
Dirk Pranke
I don't know if I've missed (or forgotten) some previous discussion of this design, but ...
4 years, 10 months ago (2016-01-29 01:11:57 UTC) #8
sdefresne
On 2016/01/29 at 01:11:57, dpranke wrote: > I don't know if I've missed (or forgotten) ...
4 years, 10 months ago (2016-01-29 11:44:21 UTC) #9
Dirk Pranke
On 2016/01/29 11:44:21, sdefresne (OOO till Feb 1st) wrote: > In hindsight, I think a ...
4 years, 10 months ago (2016-01-29 21:09:33 UTC) #10
sdefresne
On 2016/01/29 at 21:09:33, dpranke wrote: > On 2016/01/29 11:44:21, sdefresne (OOO till Feb 1st) ...
4 years, 10 months ago (2016-01-30 10:37:26 UTC) #11
sdefresne
https://codereview.chromium.org/1611363003/diff/60001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1611363003/diff/60001/base/BUILD.gn#newcode1881 base/BUILD.gn:1881: bundle_test_name = "baseunittests" On 2016/01/29 at 00:54:25, Dirk Pranke ...
4 years, 10 months ago (2016-02-05 10:20:00 UTC) #12
Dirk Pranke
https://codereview.chromium.org/1611363003/diff/60001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1611363003/diff/60001/base/BUILD.gn#newcode1881 base/BUILD.gn:1881: bundle_test_name = "baseunittests" On 2016/02/05 10:20:00, sdefresne wrote: > ...
4 years, 10 months ago (2016-02-10 01:18:13 UTC) #13
sdefresne
4 years, 9 months ago (2016-03-10 18:23:13 UTC) #14
Message was sent while issue was closed.
Obsolete.

Powered by Google App Engine
This is Rietveld 408576698