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

Unified Diff: tools/gn/xcode_writer.h

Issue 2574643002: Add functionality to find xctest files under application target. (Closed)
Patch Set: Update comments Created 4 years 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_writer.cc » ('j') | tools/gn/xcode_writer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/xcode_writer.h
diff --git a/tools/gn/xcode_writer.h b/tools/gn/xcode_writer.h
index 87a7d589c11380b006fe4bf6a0849925aedad2eb..cbe3341ef86cba68f38f5a29f90beae18b8e30c9 100644
--- a/tools/gn/xcode_writer.h
+++ b/tools/gn/xcode_writer.h
@@ -64,6 +64,13 @@ class XcodeWriter {
std::vector<const Target*>* targets,
Err* err);
+ // Filters the list of targets to only return xctest targets and their
+ // corresonding application targets.
sdefresne 2016/12/14 13:00:03 nit: corresonding -> corresponding
liaoyuke 2016/12/15 00:03:12 Done.
+ static void FilterXCTestTargets(
+ const std::vector<const Target*>& targets,
+ std::vector<const Target*>* xctest_targets,
+ std::vector<const Target*>* application_targets);
+
// Generate the "products.xcodeproj" project that reference all products
// (i.e. targets that have a build artefact usable from Xcode, mostly
// application bundles).
« no previous file with comments | « no previous file | tools/gn/xcode_writer.cc » ('j') | tools/gn/xcode_writer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698