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

Unified Diff: tools/gn/xcode_object.h

Issue 2616773003: Associate xctest files with corresponding xctest targets. (Closed)
Patch Set: Addressed feedback Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/gn/xcode_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | tools/gn/xcode_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698