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

Issue 2577753002: [Refactor Xcode Objects] Decouple file references and indexing target. (Closed)

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

Description

[Refactor Xcode Objects] Decouple file references and indexing target. Previously, whenever a file reference needs to be added for indexing, a default target with the same name as the project is always assumed to be the one to bound to. This CL decouples file references from the default indexing target, and allows file references to be bound to any of the native targets. BUG=614818 Committed: https://crrev.com/898a56b7966c5686d276b6aa7f27ec922b37ab38 Cr-Commit-Position: refs/heads/master@{#439894}

Patch Set 1 #

Patch Set 2 : Rename one PBXProject::AddSourceFile to PBXProject::AddSourceFileForIndexingTarget #

Total comments: 2

Patch Set 3 : Addressed feedback #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -22 lines) Patch
M tools/gn/xcode_object.h View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M tools/gn/xcode_object.cc View 1 2 3 2 chunks +31 lines, -20 lines 0 comments Download
M tools/gn/xcode_writer.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 21 (9 generated)
liaoyuke
Hi Sylvain, Justin, Please take a look. Thank you very much!
4 years ago (2016-12-14 20:21:00 UTC) #3
sdefresne
LG but I have a question/comment. https://codereview.chromium.org/2577753002/diff/20001/tools/gn/xcode_object.h File tools/gn/xcode_object.h (right): https://codereview.chromium.org/2577753002/diff/20001/tools/gn/xcode_object.h#newcode280 tools/gn/xcode_object.h:280: PBXNativeTarget* AddNativeTarget(const std::string& ...
4 years ago (2016-12-16 23:51:55 UTC) #5
liaoyuke
PTAL! I know you are pretty busy with upstreaming. So, no rush, take your time ...
4 years ago (2016-12-19 08:03:35 UTC) #6
sdefresne
lgtm
4 years ago (2016-12-19 08:09:53 UTC) #7
sdefresne
You'll need dpranke or brettw approval for OWNERS.
4 years ago (2016-12-19 08:10:07 UTC) #8
liaoyuke
Thank you for reviewing! Hello Dirk, Could you please take a look for owner's approval? ...
4 years ago (2016-12-19 08:22:58 UTC) #10
liaoyuke
On 2016/12/19 08:22:58, liaoyuke wrote: > Thank you for reviewing! > > Hello Dirk, > ...
4 years ago (2016-12-20 17:24:52 UTC) #11
Dirk Pranke
lgtm, sorry for the delay.
4 years ago (2016-12-20 21:24:13 UTC) #12
liaoyuke
Thank you for reviewing :) On Tue, Dec 20, 2016 at 1:24 PM <dpranke@chromium.org> wrote: ...
4 years ago (2016-12-20 21:59:00 UTC) #13
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/2577753002/60001
4 years ago (2016-12-20 22:14:48 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-20 22:28:34 UTC) #19
commit-bot: I haz the power
4 years ago (2016-12-20 22:30:19 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/898a56b7966c5686d276b6aa7f27ec922b37ab38
Cr-Commit-Position: refs/heads/master@{#439894}

Powered by Google App Engine
This is Rietveld 408576698