Home
last modified time | relevance | path

Searched refs:g_scheduler (Results 1 – 25 of 30) sorted by relevance

12

/third_party/gn/src/gn/
Djson_project_writer_unittest.cc50 g_scheduler->AddGenDependency(root_path.Append(FILE_PATH_LITERAL(".gn"))); in TEST_F()
51 g_scheduler->AddGenDependency( in TEST_F()
53 g_scheduler->AddGenDependency( in TEST_F()
511 g_scheduler->AddGenDependency(root_path.Append(FILE_PATH_LITERAL(".gn")));
512 g_scheduler->AddGenDependency(
Dloader.cc216 g_scheduler->FailWithError(err); in ScheduleLoadFile()
233 g_scheduler->FailWithError(err); in ScheduleLoadBuildConfig()
247 if (g_scheduler->verbose_logging()) { in BackgroundLoadFile()
248 g_scheduler->Log("Running", in BackgroundLoadFile()
277 g_scheduler->FailWithError(err); in BackgroundLoadFile()
341 g_scheduler->FailWithError(err); in BackgroundLoadBuildConfig()
349 g_scheduler->FailWithError(Err( in BackgroundLoadBuildConfig()
446 return g_scheduler->input_file_manager()->AsyncLoadFile( in AsyncLoadFile()
Dninja_generated_file_target_writer.cc65 g_scheduler->FailWithError(err); in GenerateFile()
88 g_scheduler->FailWithError(err); in GenerateFile()
95 g_scheduler->FailWithError(err); in GenerateFile()
Dinput_file_manager.cc47 if (g_scheduler->verbose_logging()) { in DoLoadFile()
51 g_scheduler->Log("Loading", logmsg); in DoLoadFile()
142 g_scheduler->FailWithError(Err( in AsyncLoadFile()
167 g_scheduler->ScheduleWork(std::move(schedule_this)); in AsyncLoadFile()
283 g_scheduler->FailWithError(err); in BackgroundLoadFile()
Dscheduler.cc14 Scheduler* g_scheduler = nullptr; variable
19 g_scheduler = this; in Scheduler()
24 g_scheduler = nullptr; in ~Scheduler()
Dfunction_write_file.cc74 g_scheduler->AddWrittenFile(source_file); // Track that we wrote this file. in RunWriteFile()
81 g_scheduler->AddGenDependency( in RunWriteFile()
Dfunction_exec_script.cc247 if (g_scheduler->verbose_logging()) {
248 g_scheduler->Log(
Dninja_copy_target_writer.cc27 g_scheduler->FailWithError(Err( in Run()
38 g_scheduler->FailWithError(Err( in Run()
Dsetup.cc221 g_scheduler->IncrementWorkCount(); in FindDotFile()
229 g_scheduler->DecrementWorkCount(); in __anon7176c5650202()
234 g_scheduler->DecrementWorkCount(); in DecrementWorkCount()
451 g_scheduler->IncrementWorkCount(); in RunPreMessageLoop()
547 g_scheduler->AddGenDependency(build_arg_file); in FillArgsFromFile()
621 g_scheduler->AddGenDependency(build_arg_file); in SaveArgsToFile()
842 g_scheduler->AddGenDependency(dotfile_name_); in RunConfigFile()
Dbuilder.cc72 g_scheduler->FailWithError(err); in ItemDefined()
83 g_scheduler->FailWithError(err); in ItemDefined()
105 g_scheduler->FailWithError(err); in ItemDefined()
111 g_scheduler->FailWithError(err); in ItemDefined()
Dtarget.cc525 g_scheduler->AddWriteRuntimeDepsTarget(this); in OnResolved()
529 g_scheduler->AddGeneratedFile( in OnResolved()
1223 g_scheduler->IsFileGeneratedByWriteRuntimeDeps(out_file) || in CheckSourceGenerated()
1224 g_scheduler->IsFileGeneratedByTarget(source); in CheckSourceGenerated()
1231 g_scheduler->AddUnknownGeneratedInput(this, source); in CheckSourceGenerated()
Dfunction_read_file.cc64 g_scheduler->AddGenDependency(file_path); in RunReadFile()
Dscheduler.h154 extern Scheduler* g_scheduler;
Dloader_unittest.cc97 g_scheduler->input_file_manager()->set_load_file_callback(GetSyncCallback()); in MockInputFileManager()
101 g_scheduler->input_file_manager()->set_load_file_callback(nullptr); in ~MockInputFileManager()
Dinput_conversion.cc45 g_scheduler->input_file_manager()->AddDynamicInput(SourceFile(), &input_file, in ParseValueOrScope()
182 g_scheduler->input_file_manager()->AddDynamicInput(SourceFile(), &input_file, in ParseJSON()
Dtarget_generator.cc93 if (g_scheduler->verbose_logging()) in GenerateTarget()
94 g_scheduler->Log("Defining target", label.GetUserVisibleName(true)); in GenerateTarget()
Dfunctions.cc367 if (g_scheduler->verbose_logging()) in RunConfig()
368 g_scheduler->Log("Defining config", label.GetUserVisibleName(true)); in RunConfig()
871 if (g_scheduler->verbose_logging()) in RunPool()
872 g_scheduler->Log("Defining pool", label.GetUserVisibleName(true)); in RunPool()
Djson_project_writer.cc398 std::vector<base::FilePath> other_files = g_scheduler->GetGenDependencies(); in GenerateJSON()
401 g_scheduler->input_file_manager(); in GenerateJSON()
Dimport_manager.cc26 const ParseNode* node = g_scheduler->input_file_manager()->SyncLoadFile( in UncachedImport()
Dsetup_unittest.cc44 std::vector<base::FilePath> gen_deps = g_scheduler->GetGenDependencies(); in TEST_F()
Dninja_target_writer.cc53 if (g_scheduler->verbose_logging()) in RunAndWriteFile()
54 g_scheduler->Log("Computing", target->label().GetUserVisibleName(true)); in RunAndWriteFile()
Dcommand_gen.cc89 g_scheduler->ScheduleWork( in ItemResolvedAndGeneratedCallback()
159 g_scheduler->GetUnknownGeneratedInputs(); in CheckForInvalidGeneratedInputs()
Dninja_build_writer.cc310 std::vector<base::FilePath> other_files = g_scheduler->GetGenDependencies(); in WriteNinjaRules()
313 g_scheduler->input_file_manager(); in WriteNinjaRules()
Druntime_deps.cc308 for (const Target* target : g_scheduler->GetWriteRuntimeDepsTargets()) { in WriteRuntimeDepsFilesIfNecessary()
Dninja_build_writer_unittest.cc199 g_scheduler->AddGenDependency(dependency); in TEST_F()

12