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

Unified Diff: trunk/src/tools/gn/ninja_helper.h

Issue 46313006: Revert 232657 "GN: toolchain threading cleanup" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 | « trunk/src/tools/gn/ninja_group_target_writer.cc ('k') | trunk/src/tools/gn/ninja_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/tools/gn/ninja_helper.h
===================================================================
--- trunk/src/tools/gn/ninja_helper.h (revision 232660)
+++ trunk/src/tools/gn/ninja_helper.h (working copy)
@@ -52,11 +52,12 @@
// Returns the prefix for rules on the given toolchain. We need this to
// disambiguate a given rule for each toolchain.
- std::string GetRulePrefix(const Settings* settings) const;
+ std::string GetRulePrefix(const Toolchain* toolchain) const;
// Returns the name of the rule name for the given toolchain and file/target
// type. Returns the empty string for source files with no command.
std::string GetRuleForSourceType(const Settings* settings,
+ const Toolchain* toolchain,
SourceFileType type) const;
// Returns the relative directory in either slashes or the system separator
« no previous file with comments | « trunk/src/tools/gn/ninja_group_target_writer.cc ('k') | trunk/src/tools/gn/ninja_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698