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

Issue 2882253002: [ObjC ARC] Converts ios/chrome/test/earl_grey:ios_chrome_device_check_egtests to ARC. (Closed)

Created:
3 years, 7 months ago by liaoyuke
Modified:
3 years, 7 months ago
Reviewers:
stkhapugin, sdefresne
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, baxley+watch_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, huangml+watch_chromium.org, liaoyuke+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ObjC ARC] Converts ios/chrome/test/earl_grey:ios_chrome_device_check_egtests to ARC. The automatic arc script doesn't work for this target because it simply adds configs += [ "//build/config/compiler:enable_arc" ] to chrome_ios_eg_test("ios_chrome_device_check_egtests"), however, the body of a template invocation doesn't take configs. This CL manually moves "device_check_egtest.mm" to a separate source_set and adds configs += [ "//build/config/compiler:enable_arc" ] to that source_set. Notable issues:None BUG=624363 TEST=None Review-Url: https://codereview.chromium.org/2882253002 Cr-Commit-Position: refs/heads/master@{#472430} Committed: https://chromium.googlesource.com/chromium/src/+/8677520a8befbd56e37e6a864ec395eb9146f540

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M ios/chrome/test/earl_grey/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/test/earl_grey/chrome_ios_eg_test.gni View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ios/chrome/test/earl_grey/device_check_egtest.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
liaoyuke
Hi Stepan, Sylvain, PTAL. Please let me know if you can come up with a ...
3 years, 7 months ago (2017-05-16 06:06:58 UTC) #7
sdefresne
https://codereview.chromium.org/2882253002/diff/1/ios/chrome/test/earl_grey/BUILD.gn File ios/chrome/test/earl_grey/BUILD.gn (right): https://codereview.chromium.org/2882253002/diff/1/ios/chrome/test/earl_grey/BUILD.gn#newcode101 ios/chrome/test/earl_grey/BUILD.gn:101: chrome_ios_eg_test("ios_chrome_device_check_egtests") { I think a better change would be ...
3 years, 7 months ago (2017-05-16 08:26:20 UTC) #8
sdefresne
https://codereview.chromium.org/2882253002/diff/1/ios/chrome/test/earl_grey/BUILD.gn File ios/chrome/test/earl_grey/BUILD.gn (right): https://codereview.chromium.org/2882253002/diff/1/ios/chrome/test/earl_grey/BUILD.gn#newcode110 ios/chrome/test/earl_grey/BUILD.gn:110: "device_check_egtest.mm", This CL needs to add guards to "device_check_egtest.mm" ...
3 years, 7 months ago (2017-05-16 08:27:17 UTC) #9
liaoyuke
Hi Sylvain, PTAL. Thank you very much! https://codereview.chromium.org/2882253002/diff/1/ios/chrome/test/earl_grey/BUILD.gn File ios/chrome/test/earl_grey/BUILD.gn (right): https://codereview.chromium.org/2882253002/diff/1/ios/chrome/test/earl_grey/BUILD.gn#newcode101 ios/chrome/test/earl_grey/BUILD.gn:101: chrome_ios_eg_test("ios_chrome_device_check_egtests") { ...
3 years, 7 months ago (2017-05-16 16:08:31 UTC) #11
sdefresne
On 2017/05/16 16:08:31, liaoyuke wrote: > Hi Sylvain, > > PTAL. Thank you very much! ...
3 years, 7 months ago (2017-05-17 09:25:17 UTC) #14
sdefresne
lgtm
3 years, 7 months ago (2017-05-17 09:28:34 UTC) #15
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/2882253002/40001
3 years, 7 months ago (2017-05-17 09:28:55 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:40001) as https://chromium.googlesource.com/chromium/src/+/8677520a8befbd56e37e6a864ec395eb9146f540
3 years, 7 months ago (2017-05-17 12:39:36 UTC) #21
liaoyuke
On 2017/05/17 12:39:36, commit-bot: I haz the power wrote: > Committed patchset #2 (id:40001) as ...
3 years, 7 months ago (2017-05-17 15:19:41 UTC) #22
sdefresne
On 2017/05/17 15:19:41, liaoyuke wrote: > On 2017/05/17 12:39:36, commit-bot: I haz the power wrote: ...
3 years, 7 months ago (2017-05-17 15:25:16 UTC) #23
liaoyuke
3 years, 7 months ago (2017-05-17 15:34:23 UTC) #24
Message was sent while issue was closed.
Yeah, I think so, that clears everything! Thank you for the downstream fix!

On Wed, May 17, 2017 at 8:25 AM <sdefresne@chromium.org> wrote:

> On 2017/05/17 15:19:41, liaoyuke wrote:
> > On 2017/05/17 12:39:36, commit-bot: I haz the power wrote:
> > > Committed patchset #2 (id:40001) as
> > >
> >
>
>
https://chromium.googlesource.com/chromium/src/+/8677520a8befbd56e37e6a864ec3...
> >
> > hmmm, that's odd, but anyway, thank you for helping confirm that it
> works!
>
> There is a downstream target that independently compile this file. The
> target
> had to be fixed as it prevented the roll to land. Maybe this is what you
> were
> experiencing.
>
> https://codereview.chromium.org/2882253002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698