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

Issue 2576773002: [Refactor Xcode Objects] Enable navigator paths for file references. (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] Enable navigator paths for file references. Previously, the folder hierarchy of a file reference in project navigator was forced to be the same as its physical folder hierarchy on disk. This CL refactors xcode_object.h and xcode_object.cc to enable specifying a navigator folder hierarchy when generating a file reference and it is allowed to be completely different from the physical one. This CL also corrects the mi-uses between "name" and "path" in PBXFileReference and PBXGroup. Take "ios/tool.cc" as an example, name should be "tool.cc", while path should be "ios/tool.cc", and they are different. BUG=614818 Committed: https://crrev.com/d48f4812d85338487c72a7ab2b1c2db8d60dfdb0 Cr-Commit-Position: refs/heads/master@{#439429}

Patch Set 1 #

Patch Set 2 : Correct mis-uses between name and path #

Patch Set 3 : update convert_gn_xcodeproj.py #

Total comments: 4

Patch Set 4 : Addressed feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -23 lines) Patch
M ios/build/tools/convert_gn_xcodeproj.py View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M tools/gn/xcode_object.h View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M tools/gn/xcode_object.cc View 1 2 3 6 chunks +21 lines, -14 lines 0 comments Download
M tools/gn/xcode_writer.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (14 generated)
liaoyuke
Hi Sylvain, Justin, Please take a look. Thank you very much!
4 years ago (2016-12-14 20:06:43 UTC) #3
sdefresne
lgtm once the inline function is renamed. You'll also need to ask OWNERS approval from ...
4 years ago (2016-12-16 23:47:59 UTC) #6
Dirk Pranke
lgtm w/ comments addressed.
4 years ago (2016-12-18 03:24:37 UTC) #8
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/2576773002/60001
4 years ago (2016-12-19 08:00:41 UTC) #15
liaoyuke
Thank you very much for reviewing! https://codereview.chromium.org/2576773002/diff/40001/ios/build/tools/convert_gn_xcodeproj.py File ios/build/tools/convert_gn_xcodeproj.py (left): https://codereview.chromium.org/2576773002/diff/40001/ios/build/tools/convert_gn_xcodeproj.py#oldcode103 ios/build/tools/convert_gn_xcodeproj.py:103: # Remove path ...
4 years ago (2016-12-19 08:04:39 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-19 08:04:39 UTC) #19
commit-bot: I haz the power
4 years ago (2016-12-19 08:07:08 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d48f4812d85338487c72a7ab2b1c2db8d60dfdb0
Cr-Commit-Position: refs/heads/master@{#439429}

Powered by Google App Engine
This is Rietveld 408576698