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

Issue 1907053003: Add Archive step for iOS builds. (Closed)

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

Add Archive step for iOS builds. Future xctest support will set the test's bundle_loader to Chromium and look for Chromium internals. Setting `-fvisibility=hidden` during compile and stripping after linking makes graybox testing from xctest impossible. Instead, add a new 'Archive' configuration -- the same as what Xcode does -- where visibility is set to hidden and stripping is done after linking, but skip those steps on the remaining configurations. This CL should land concurrently with an official bot script change to compile `ninja -C out/Release-iphoneos ; ninja -C out/Archive-iphoneos chrome` and to pull official binaries from out/Archive-iphoneos instead of Release-iphoneos. BUG= TBR=thakis@chromium.org Committed: https://crrev.com/aeaf816fe1be6ef1fc9f71a205bcc21e9625964f Cr-Commit-Position: refs/heads/master@{#389404}

Patch Set 1 #

Patch Set 2 : Only create Archive configuration on official builds #

Patch Set 3 : Also move strip to the Archive configuration #

Total comments: 2

Patch Set 4 : Removing offical buildtype gate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -2 lines) Patch
M build/common.gypi View 1 2 3 4 chunks +24 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (11 generated)
justincohen
It seems like the easiest, cleanest way to get xctests working with Chromium when Chromium ...
4 years, 8 months ago (2016-04-21 21:12:52 UTC) #3
sdefresne
On 2016/04/21 at 21:12:52, justincohen wrote: > It seems like the easiest, cleanest way to ...
4 years, 8 months ago (2016-04-22 07:31:02 UTC) #5
sdefresne
Arggggg again, I clicked send and it did not send my comments... https://codereview.chromium.org/1907053003/diff/40001/build/common.gypi File build/common.gypi ...
4 years, 8 months ago (2016-04-22 08:18:38 UTC) #6
baxley
On 2016/04/21 21:12:52, justincohen wrote: > It seems like the easiest, cleanest way to get ...
4 years, 8 months ago (2016-04-22 13:14:49 UTC) #7
rohitrao (ping after 24h)
LGTM This seems like a reasonable compromise. We should make sure Sana is ok with ...
4 years, 8 months ago (2016-04-22 14:06:44 UTC) #8
justincohen
https://codereview.chromium.org/1907053003/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1907053003/diff/40001/build/common.gypi#newcode3578 build/common.gypi:3578: [ 'OS=="ios" and buildtype=="Official"', { On 2016/04/22 08:18:37, sdefresne ...
4 years, 8 months ago (2016-04-22 14:09:23 UTC) #9
justincohen
Hey mark@, thakis@ This is a followup to a short conversation on IRC we had ...
4 years, 8 months ago (2016-04-22 14:12:56 UTC) #11
Nico
I don't recall any irc discussion about this, so maybe you talked to Mark. (Then ...
4 years, 8 months ago (2016-04-22 14:33:50 UTC) #12
justincohen
xctests link against their TEST_HOST with the -bundle_loader flags that points to Chromium. If we ...
4 years, 8 months ago (2016-04-22 14:42:39 UTC) #13
Nico
On 2016/04/22 14:42:39, justincohen wrote: > xctests link against their TEST_HOST with the -bundle_loader flags ...
4 years, 8 months ago (2016-04-22 15:07:50 UTC) #14
sdefresne
On 2016/04/22 at 15:07:50, thakis wrote: > On 2016/04/22 14:42:39, justincohen wrote: > > xctests ...
4 years, 8 months ago (2016-04-22 15:11:15 UTC) #15
Mark Mentovai
The IRC discussion was mostly “Xcode SUCKS!”
4 years, 8 months ago (2016-04-22 15:15:04 UTC) #16
justincohen
For unit tests that would work, and TEST_HOST would be an empty shell. However, for ...
4 years, 8 months ago (2016-04-22 15:16:12 UTC) #17
Mark Mentovai
So Archive is the new basis for shipping configurations? OK, LGTM. That matches how Xcode ...
4 years, 8 months ago (2016-04-22 15:17:17 UTC) #18
sdefresne
On 2016/04/22 at 15:16:12, justincohen wrote: > For unit tests that would work, and TEST_HOST ...
4 years, 8 months ago (2016-04-22 15:18:43 UTC) #19
Nico
I think none of Chrome's non-iOS integration tests load chrome.exe itself, they all link in ...
4 years, 8 months ago (2016-04-22 15:20:48 UTC) #20
smut
On 2016/04/22 15:20:48, Nico wrote: > I think none of Chrome's non-iOS integration tests load ...
4 years, 8 months ago (2016-04-23 01:01:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907053003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907053003/60001
4 years, 8 months ago (2016-04-24 15:32:38 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/172485)
4 years, 8 months ago (2016-04-24 15:38:12 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907053003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907053003/60001
4 years, 8 months ago (2016-04-24 15:39:58 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-24 16:44:29 UTC) #31
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/aeaf816fe1be6ef1fc9f71a205bcc21e9625964f Cr-Commit-Position: refs/heads/master@{#389404}
4 years, 8 months ago (2016-04-24 16:45:50 UTC) #33
justincohen
4 years, 8 months ago (2016-04-25 15:04:03 UTC) #34
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1919903002/ by justincohen@chromium.org.

The reason for reverting is: Downstream iOS CLs aren't ready for this yet. 
Reverting for now..

Powered by Google App Engine
This is Rietveld 408576698