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

Unified Diff: tools/gn/command_ls.cc

Issue 2152413002: GN: don't write separate files for non-binary targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 5 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 | « tools/gn/command_gen.cc ('k') | tools/gn/command_refs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_ls.cc
diff --git a/tools/gn/command_ls.cc b/tools/gn/command_ls.cc
index f53a7272a32ae2583fcaf3cef3220cf14821b104..4d14e0fa1d6491360178186a402dcade759ded3c 100644
--- a/tools/gn/command_ls.cc
+++ b/tools/gn/command_ls.cc
@@ -97,10 +97,10 @@ int RunLs(const std::vector<std::string>& args) {
target_matches.begin(), target_matches.end());
} else if (all_toolchains) {
// List all resolved targets.
- matches = setup->builder()->GetAllResolvedTargets();
+ matches = setup->builder().GetAllResolvedTargets();
} else {
// List all resolved targets in the default toolchain.
- for (auto* target : setup->builder()->GetAllResolvedTargets()) {
+ for (auto* target : setup->builder().GetAllResolvedTargets()) {
if (target->settings()->is_default())
matches.push_back(target);
}
« no previous file with comments | « tools/gn/command_gen.cc ('k') | tools/gn/command_refs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698