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

Issue 2187343003: Embeds the entitlements file in the binary in simulator builds. (Closed)

Created:
4 years, 4 months ago by sdefresne
Modified:
4 years, 4 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

Embeds the entitlements file in the binary in simulator builds. Refactor the code to generate the entitlements file from codesign.py in a file using the "generate-entitlements" command. Only generate it for the default toolchain as Info.plist is only generated for the default toolchain. BUG=626686 Committed: https://crrev.com/0f93390b516605f8487de6ec12956b00c3291a6c Cr-Commit-Position: refs/heads/master@{#409248}

Patch Set 1 #

Patch Set 2 : Fix compilation on device when code signing is disabled. #

Total comments: 2

Patch Set 3 : Supports embedding entitlements if no mobile provisioning is available. #

Patch Set 4 : Fix typo breaking code signing (not exercised by the bots). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -41 lines) Patch
M build/config/ios/codesign.py View 1 2 3 7 chunks +88 lines, -29 lines 0 comments Download
A + build/config/ios/entitlements.plist View 1 chunk +4 lines, -4 lines 0 comments Download
M build/config/ios/rules.gni View 1 8 chunks +121 lines, -7 lines 0 comments Download
M build/config/mac/base_rules.gni View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 32 (18 generated)
sdefresne
Please take a look. Work-around is for http://crbug.com/632412
4 years, 4 months ago (2016-07-28 18:04:03 UTC) #6
Dirk Pranke
lgtm if we get the GN issue fixed ...
4 years, 4 months ago (2016-07-28 19:06:02 UTC) #11
justincohen
I wonder if this is failing because the profiles aren't installed on simulator builders. smut@/dba@ ...
4 years, 4 months ago (2016-07-29 01:35:23 UTC) #13
smut
On 2016/07/29 01:35:23, justincohen wrote: > I wonder if this is failing because the profiles ...
4 years, 4 months ago (2016-07-29 21:27:05 UTC) #14
dba (chromium)
On 2016/07/29 21:27:05, smut wrote: > On 2016/07/29 01:35:23, justincohen wrote: > > I wonder ...
4 years, 4 months ago (2016-07-29 21:34:14 UTC) #15
justincohen
https://codereview.chromium.org/2187343003/diff/20001/build/config/ios/codesign.py File build/config/ios/codesign.py (right): https://codereview.chromium.org/2187343003/diff/20001/build/config/ios/codesign.py#newcode223 build/config/ios/codesign.py:223: def GenerateEntitlements(bundle_identifier, provisioning_profile, args): If the upstream bots can ...
4 years, 4 months ago (2016-07-29 22:28:10 UTC) #16
sdefresne
On 2016/07/29 22:28:10, justincohen wrote: > https://codereview.chromium.org/2187343003/diff/20001/build/config/ios/codesign.py > File build/config/ios/codesign.py (right): > > https://codereview.chromium.org/2187343003/diff/20001/build/config/ios/codesign.py#newcode223 > ...
4 years, 4 months ago (2016-08-02 05:43:07 UTC) #17
justincohen
Won't that defeat the purpose of this CL? If we don't embed entitlements, upstream iOS ...
4 years, 4 months ago (2016-08-02 14:39:16 UTC) #18
sdefresne
On 2016/08/02 14:39:16, justincohen wrote: > Won't that defeat the purpose of this CL? If ...
4 years, 4 months ago (2016-08-02 15:01:25 UTC) #19
sdefresne
justincohen: PTAL https://codereview.chromium.org/2187343003/diff/20001/build/config/ios/codesign.py File build/config/ios/codesign.py (right): https://codereview.chromium.org/2187343003/diff/20001/build/config/ios/codesign.py#newcode223 build/config/ios/codesign.py:223: def GenerateEntitlements(bundle_identifier, provisioning_profile, args): On 2016/07/29 22:28:10, ...
4 years, 4 months ago (2016-08-02 16:58:57 UTC) #22
justincohen
lgtm
4 years, 4 months ago (2016-08-02 17:04:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2187343003/60001
4 years, 4 months ago (2016-08-02 17:08:09 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-02 18:18:38 UTC) #30
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 18:20:37 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0f93390b516605f8487de6ec12956b00c3291a6c
Cr-Commit-Position: refs/heads/master@{#409248}

Powered by Google App Engine
This is Rietveld 408576698