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

Unified Diff: tools/gn/args.h

Issue 26561005: GYP generator for GN (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/BUILD.gn ('k') | tools/gn/args.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/args.h
diff --git a/tools/gn/args.h b/tools/gn/args.h
index d3225ca1d7f3e55ff660b23e04c6ec5d3b9ba23c..5abc127d5fcaf36ad48ce3feb24a669a45eb333e 100644
--- a/tools/gn/args.h
+++ b/tools/gn/args.h
@@ -23,10 +23,12 @@ extern const char kBuildArgs_Help[];
class Args {
public:
Args();
+ Args(const Args& other);
~Args();
// Specifies overrides of the build arguments. These are normally specified
// on the command line.
+ void AddArgOverride(const char* name, const Value& value);
void AddArgOverrides(const Scope::KeyValueMap& overrides);
// Sets up the root scope for a toolchain. This applies the default system
@@ -82,7 +84,7 @@ class Args {
// the user set variables on the command line that are not used anywhere.
mutable Scope::KeyValueMap declared_arguments_;
- DISALLOW_COPY_AND_ASSIGN(Args);
+ Args& operator=(const Args& other); // Disallow assignment.
};
#endif // TOOLS_GN_ARGS_H_
« no previous file with comments | « tools/gn/BUILD.gn ('k') | tools/gn/args.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698