| Index: tools/gn/xcode_object.h
|
| diff --git a/tools/gn/xcode_object.h b/tools/gn/xcode_object.h
|
| index 3454e85b48e5d51e2a160c2db3268d7ff34152d5..a6ab32ad8e06cb432c42631d34f6d16b8679d722 100644
|
| --- a/tools/gn/xcode_object.h
|
| +++ b/tools/gn/xcode_object.h
|
| @@ -190,6 +190,8 @@ class PBXFileReference : public PBXObject {
|
| std::string Name() const override;
|
| void Print(std::ostream& out, unsigned indent) const override;
|
|
|
| + const std::string& path() const { return path_; }
|
| +
|
| private:
|
| std::string name_;
|
| std::string path_;
|
| @@ -293,12 +295,13 @@ class PBXProject : public PBXObject {
|
| void AddAggregateTarget(const std::string& name,
|
| const std::string& shell_script);
|
| void AddIndexingTarget();
|
| - void AddNativeTarget(const std::string& name,
|
| - const std::string& type,
|
| - const std::string& output_name,
|
| - const std::string& output_type,
|
| - const std::string& shell_script,
|
| - const PBXAttributes& extra_attributes = PBXAttributes());
|
| + PBXNativeTarget* AddNativeTarget(
|
| + const std::string& name,
|
| + const std::string& type,
|
| + const std::string& output_name,
|
| + const std::string& output_type,
|
| + const std::string& shell_script,
|
| + const PBXAttributes& extra_attributes = PBXAttributes());
|
|
|
| void SetProjectDirPath(const std::string& project_dir_path);
|
| void SetProjectRoot(const std::string& project_root);
|
|
|