Home | History | Annotate | Download | only in gn

Lines Matching refs:Args

5 #include "tools/gn/args.h"
29 " If specified, arguments from the --args command line flag are used. If\n"
30 " that flag is not specified, args from previous builds in the build\n"
31 " directory will be used (this is in the file args.gn in the build\n"
46 " gn args out/FooBar\n"
52 " gn gen out/FooBar --args=\"enable_doom_melon=true os=\\\"android\\\"\"\n"
54 " (Note that the quotes inside the args command will usually need to\n"
67 " to specify build args in an \"import\"-ed file if you want such\n"
70 Args::Args() {
73 Args::Args(const Args& other)
79 Args::~Args() {
82 void Args::AddArgOverride(const char* name, const Value& value) {
89 void Args::AddArgOverrides(const Scope::KeyValueMap& overrides) {
99 const Value* Args::GetArgOverride(const char* name) const {
109 Scope::KeyValueMap Args::GetAllOverrides() const {
114 void Args::SetupRootScope(Scope* dest,
124 bool Args::DeclareArgs(const Scope::KeyValueMap& args,
129 for (Scope::KeyValueMap::const_iterator i = args.begin();
130 i != args.end(); ++i) {
171 bool Args::VerifyAllOverridesUsed(Err* err) const {
176 bool Args::VerifyAllOverridesUsed(
206 void Args::MergeDeclaredArguments(Scope::KeyValueMap* dest) const {
214 void Args::SetSystemVarsLocked(Scope* dest) const {
276 // declared. This is so they can be overridden in a toolchain build args
277 // override, and so that they will appear in the "gn args" output.
289 void Args::ApplyOverridesLocked(const Scope::KeyValueMap& values,
297 void Args::SaveOverrideRecordLocked(const Scope::KeyValueMap& values) const {