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

Issue 2574643002: Add functionality to find xctest files under application target. (Closed)

Created:
4 years ago by liaoyuke
Modified:
3 years, 11 months ago
CC:
chromium-reviews, Dirk Pranke, tfarina, agrieve+watch_chromium.org, baxley
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add functionality to find xctest files under application target. Previously, our generated Xcode project has the issue that Xcode couldn't find our xctests. And to fix it, one must first find the list of xctest files under each of the application targets and then associate them with the corresponding xctest target. This CL enables identifying application targets and also find the list of xctest files (xctests.mm and egtest.mm) under them recursively. BUG=614818 Committed: https://crrev.com/043a15ddcc6c864d6b68ba471c330b0bcdccbf0d Cr-Commit-Position: refs/heads/master@{#441482}

Patch Set 1 #

Patch Set 2 : Check XCTest bundle always has a corresonding application bundle. #

Patch Set 3 : Move code to be within CreateProductProject #

Patch Set 4 : Update comments #

Total comments: 20

Patch Set 5 : Addressed feedback #

Total comments: 1

Patch Set 6 : Remove unused variables and add DCHECK_EQ #

Patch Set 7 : Update function names #

Total comments: 4

Patch Set 8 : Addressed feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -0 lines) Patch
M tools/gn/xcode_writer.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M tools/gn/xcode_writer.cc View 1 2 3 4 5 6 7 4 chunks +133 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (12 generated)
liaoyuke
Hi Sylvain, Justin, Please take a look. Thank you very much!
4 years ago (2016-12-13 07:18:27 UTC) #3
liaoyuke
On 2016/12/13 07:18:27, liaoyuke wrote: > Hi Sylvain, Justin, > > Please take a look. ...
4 years ago (2016-12-14 07:41:36 UTC) #4
sdefresne
https://codereview.chromium.org/2574643002/diff/60001/tools/gn/xcode_writer.cc File tools/gn/xcode_writer.cc (right): https://codereview.chromium.org/2574643002/diff/60001/tools/gn/xcode_writer.cc#newcode37 tools/gn/xcode_writer.cc:37: typedef std::unordered_map<const Target*, Target::FileList> TargetToFileList; nit: it is recommend ...
4 years ago (2016-12-14 13:00:03 UTC) #5
liaoyuke
Addressed comments. PTAL! Thank you very much! https://codereview.chromium.org/2574643002/diff/60001/tools/gn/xcode_writer.cc File tools/gn/xcode_writer.cc (right): https://codereview.chromium.org/2574643002/diff/60001/tools/gn/xcode_writer.cc#newcode37 tools/gn/xcode_writer.cc:37: typedef std::unordered_map<const ...
4 years ago (2016-12-15 00:03:12 UTC) #8
justincohen
https://codereview.chromium.org/2574643002/diff/100001/tools/gn/xcode_writer.cc File tools/gn/xcode_writer.cc (right): https://codereview.chromium.org/2574643002/diff/100001/tools/gn/xcode_writer.cc#newcode37 tools/gn/xcode_writer.cc:37: Is there a better, less sticky way of finding ...
4 years ago (2016-12-15 00:30:24 UTC) #9
liaoyuke
PTAL! I know you are pretty busy with upstreaming. So, no rush, take your time ...
4 years ago (2016-12-19 08:03:23 UTC) #10
sdefresne
https://codereview.chromium.org/2574643002/diff/140001/tools/gn/xcode_writer.cc File tools/gn/xcode_writer.cc (right): https://codereview.chromium.org/2574643002/diff/140001/tools/gn/xcode_writer.cc#newcode94 tools/gn/xcode_writer.cc:94: void SearchEarlGreyFiles(const Target* target, Maybe we can make this ...
4 years ago (2016-12-21 12:46:07 UTC) #11
liaoyuke
PTAL. Thank you very much! https://codereview.chromium.org/2574643002/diff/140001/tools/gn/xcode_writer.cc File tools/gn/xcode_writer.cc (right): https://codereview.chromium.org/2574643002/diff/140001/tools/gn/xcode_writer.cc#newcode94 tools/gn/xcode_writer.cc:94: void SearchEarlGreyFiles(const Target* target, ...
4 years ago (2016-12-21 18:25:19 UTC) #13
liaoyuke
On 2016/12/21 18:25:19, liaoyuke wrote: > PTAL. > > Thank you very much! > > ...
3 years, 11 months ago (2017-01-03 17:35:23 UTC) #14
Justin Cohen (wrong one)
Please update CL description to clarify this captures xctests.mm and egtest.mm
3 years, 11 months ago (2017-01-03 17:38:39 UTC) #16
liaoyuke
Done. Thank you for catching this! On Tue, Jan 3, 2017 at 9:38 AM <justincohen@google.com> ...
3 years, 11 months ago (2017-01-03 17:47:37 UTC) #18
sdefresne
lgtm
3 years, 11 months ago (2017-01-04 14:13:05 UTC) #19
liaoyuke
On 2017/01/04 14:13:05, sdefresne wrote: > lgtm Thank you for reviewing :) Hello Dirk, Could ...
3 years, 11 months ago (2017-01-04 17:20:27 UTC) #21
Dirk Pranke
lgtm
3 years, 11 months ago (2017-01-04 20:24:43 UTC) #22
liaoyuke
Thank you :) On Wed, Jan 4, 2017 at 12:24 PM <dpranke@chromium.org> wrote: > lgtm ...
3 years, 11 months ago (2017-01-04 20:25:45 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/2574643002/180001
3 years, 11 months ago (2017-01-04 21:55:35 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:180001)
3 years, 11 months ago (2017-01-04 22:11:10 UTC) #28
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 22:14:34 UTC) #30
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/043a15ddcc6c864d6b68ba471c330b0bcdccbf0d
Cr-Commit-Position: refs/heads/master@{#441482}

Powered by Google App Engine
This is Rietveld 408576698