[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 Review-Url: https://codereview.chromium.org/2576773002 Cr-Commit-Position: refs/heads/master@{#439429}
Showing
Please register or sign in to comment