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

Unified Diff: tools/gn/loader.h

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/command_gyp.cc ('k') | tools/gn/loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/loader.h
diff --git a/tools/gn/loader.h b/tools/gn/loader.h
index 3b119c22c954937e368ff09e0fb5f942a5f0f385..4d9e4cdd505e52d55dc0ab187c37bc8ff283f5cf 100644
--- a/tools/gn/loader.h
+++ b/tools/gn/loader.h
@@ -48,7 +48,7 @@ class Loader : public base::RefCountedThreadSafe<Loader> {
// Returns information about the toolchain with the given label. Will return
// false if we haven't processed this toolchain yet.
- virtual const Settings* GetToolchainSettings(const Label& label) = 0;
+ virtual const Settings* GetToolchainSettings(const Label& label) const = 0;
// Helper function that extracts the file and toolchain name from the given
// label, and calls Load().
@@ -84,7 +84,8 @@ class LoaderImpl : public Loader {
const Label& toolchain_name) OVERRIDE;
virtual void ToolchainLoaded(const Toolchain* toolchain) OVERRIDE;
virtual Label GetDefaultToolchain() const OVERRIDE;
- virtual const Settings* GetToolchainSettings(const Label& label) OVERRIDE;
+ virtual const Settings* GetToolchainSettings(
+ const Label& label) const OVERRIDE;
// Sets the message loop corresponding to the main thread. By default this
// class will use the thread active during construction, but there is not
« no previous file with comments | « tools/gn/command_gyp.cc ('k') | tools/gn/loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698