Home | History | Annotate | Download | only in gn

Lines Matching refs:info

50 struct ToolchainManager::Info {
51 Info(const BuildSettings* build_settings,
127 Info* info = LoadNewToolchainLocked(LocationRange(), Label(), &err);
130 CHECK(info);
131 info->scheduled_invocations[build_file_name] = LocationRange();
132 info->all_invocations.insert(build_file_name);
139 base::Unretained(this), info, true),
152 Info* info = NULL;
154 info = LoadNewToolchainLocked(from_here, toolchain_name, err);
155 if (!info)
158 info = found->second;
160 info->EnsureItemNode();
162 return &info->settings;
221 Info* info = NULL;
224 info = LoadNewToolchainLocked(defined_from, tc.label(), err);
225 if (!info)
230 info = found->second;
234 CHECK(info->toolchain.label() == tc.label());
236 info->toolchain = tc;
237 if (info->toolchain_set) {
240 info->toolchain_definition_location,
252 info->EnsureItemNode();
254 info->toolchain_set = true;
255 info->toolchain_definition_location = defined_from;
274 Info* info = NULL;
277 info = LoadNewToolchainLocked(specified_from, toolchain_name, err);
278 if (!info)
282 info = found->second;
283 if (info->all_invocations.find(build_file) !=
284 info->all_invocations.end()) {
291 info->all_invocations.insert(build_file);
299 switch (info->state) {
302 info->scheduled_invocations[build_file] = specified_from;
306 info->scheduled_invocations[build_file] = specified_from;
321 base::Unretained(this), info, false),
332 base::Unretained(this), info, build_file),
351 ToolchainManager::Info* ToolchainManager::LoadNewToolchainLocked(
356 Info* info = new Info(build_settings_,
360 toolchains_[toolchain_name] = info;
372 return info;
392 Info* info = old_default->second;
393 toolchains_[default_toolchain_] = info;
397 CHECK(!info->toolchain_set);
403 info->toolchain = Toolchain(default_toolchain_);
404 info->EnsureItemNode();
409 info->settings.set_greedy_target_generation(true);
419 void ToolchainManager::BackgroundLoadBuildConfig(Info* info,
426 Scope* base_config = info->settings.base_config();
427 SetSystemVars(info->settings, base_config);
444 Info::ScheduledInvocationMap schedule_these;
447 schedule_these.swap(info->scheduled_invocations);
448 info->state = TOOLCHAIN_SETTINGS_LOADED;
455 for (Info::ScheduledInvocationMap::iterator i = schedule_these.begin();
462 info, i->first),
474 void ToolchainManager::BackgroundInvoke(const Info* info,
480 info->toolchain.label().GetUserVisibleName(false));
483 Scope our_scope(info->settings.base_config());