Home | History | Annotate | Download | only in gn

Lines Matching refs:scope

9 #include "tools/gn/scope.h"
18 // the toolchain property on a scope.
21 // Reads the given string from the scope (if present) and puts the result into
23 bool ReadString(Scope& scope, const char* var, std::string* dest, Err* err) {
24 const Value* v = scope.GetValue(var, true);
42 Value RunToolchain(Scope* scope,
47 if (!EnsureNotProcessingImport(function, scope, err) ||
48 !EnsureNotProcessingBuildConfig(function, scope, err))
63 Scope block_scope(scope);
72 const BuildSettings* build_settings = scope->settings()->build_settings();
92 Value RunTool(Scope* scope,
100 scope->GetProperty(&kToolchainPropertyKey, NULL));
118 Scope block_scope(scope);