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

Unified Diff: tools/gn/loader.cc

Issue 152683004: Work on GN GYP host build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests compiling Created 6 years, 10 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/loader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/loader.cc
diff --git a/tools/gn/loader.cc b/tools/gn/loader.cc
index e0a0517882ff96b031ef12fe5df558c83438dc27..1384b925542ad00c2d1b18b4a26d9c7e74cf491d 100644
--- a/tools/gn/loader.cc
+++ b/tools/gn/loader.cc
@@ -186,8 +186,8 @@ Label LoaderImpl::GetDefaultToolchain() const {
return default_toolchain_label_;
}
-const Settings* LoaderImpl::GetToolchainSettings(const Label& label) {
- ToolchainRecordMap::iterator found_toolchain;
+const Settings* LoaderImpl::GetToolchainSettings(const Label& label) const {
+ ToolchainRecordMap::const_iterator found_toolchain;
if (label.is_null()) {
if (default_toolchain_label_.is_null())
return NULL;
« no previous file with comments | « tools/gn/loader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698