Home
last modified time | relevance | path

Searched refs:toolchain_label (Results 1 – 22 of 22) sorted by relevance

/third_party/gn/src/gn/
Dloader.cc56 const Label& toolchain_label, in ToolchainRecord()
60 GetOutputSubdirName(toolchain_label, in ToolchainRecord()
61 toolchain_label == default_toolchain_label)), in ToolchainRecord()
65 settings.set_toolchain_label(toolchain_label); in ToolchainRecord()
250 settings->toolchain_label().GetUserVisibleName(false)); in BackgroundLoadFile()
263 trace.SetToolchain(settings->toolchain_label()); in BackgroundLoadFile()
275 err.set_toolchain_label(settings->toolchain_label()); in BackgroundLoadFile()
315 trace.SetToolchain(settings->toolchain_label()); in BackgroundLoadBuildConfig()
339 err.set_toolchain_label(settings->toolchain_label()); in BackgroundLoadBuildConfig()
355 DCHECK(settings->toolchain_label().is_null()); in BackgroundLoadBuildConfig()
[all …]
Dbuilder_unittest.cc80 settings_.set_default_toolchain_label(settings_.toolchain_label()); in BuilderTest()
84 Toolchain* tc = new Toolchain(&settings_, settings_.toolchain_label()); in DefineToolchain()
99 SourceDir toolchain_dir = settings_.toolchain_label().dir(); in TEST_F()
100 std::string toolchain_name = settings_.toolchain_label().name(); in TEST_F()
122 builder_.GetRecord(settings_.toolchain_label()); in TEST_F()
190 SourceDir toolchain_dir = settings_.toolchain_label().dir(); in TEST_F()
191 std::string toolchain_name = settings_.toolchain_label().name(); in TEST_F()
235 Label a_label(SourceDir("//foo/"), "a", settings_.toolchain_label().dir(), in TEST_F()
279 Label a_label(SourceDir("//a/"), "a", settings_.toolchain_label().dir(), in TEST_F()
280 settings_.toolchain_label().name()); in TEST_F()
[all …]
Derr.h34 Label toolchain_label; member
91 void set_toolchain_label(const Label& toolchain_label) { in set_toolchain_label() argument
92 info_->toolchain_label = toolchain_label; in set_toolchain_label()
Danalyzer_unittest.cc56 settings_.set_default_toolchain_label(settings_.toolchain_label()); in AnalyzerTest()
57 tc_dir_ = settings_.toolchain_label().dir(); in AnalyzerTest()
58 tc_name_ = settings_.toolchain_label().name(); in AnalyzerTest()
62 other_settings_.toolchain_label()); in AnalyzerTest()
63 tc_other_dir_ = other_settings_.toolchain_label().dir(); in AnalyzerTest()
64 tc_other_name_ = other_settings_.toolchain_label().name(); in AnalyzerTest()
439 Toolchain* toolchain = new Toolchain(&settings_, settings_.toolchain_label());
Dfilesystem_utils.h200 std::string GetOutputSubdirName(const Label& toolchain_label, bool is_default);
256 BuildDirContext(const Scope* execution_scope, const Label& toolchain_label);
260 const Label& toolchain_label,
264 const Label& toolchain_label; variable
Derr.cc173 if (!info_->toolchain_label.is_null()) in InternalPrintToStdout()
177 if (!info_->toolchain_label.is_null()) { in InternalPrintToStdout()
178 toolchain_str += "(" + info_->toolchain_label.GetUserVisibleName(false) + ")"; in InternalPrintToStdout()
Dfilesystem_utils.cc915 std::string GetOutputSubdirName(const Label& toolchain_label, bool is_default) { in GetOutputSubdirName() argument
922 return toolchain_label.name() + "/"; in GetOutputSubdirName()
973 settings->toolchain_label(), in BuildDirContext()
980 const Label& toolchain_label) in BuildDirContext() argument
982 toolchain_label, in BuildDirContext()
984 toolchain_label) {} in BuildDirContext()
990 toolchain_label(in_toolchain_label), in BuildDirContext()
1001 OutputFile result(GetOutputSubdirName(context.toolchain_label, in GetBuildDirAsOutputFile()
Dimport_manager.cc24 load_trace.SetToolchain(settings->toolchain_label()); in UncachedImport()
134 scope->settings()->toolchain_label().GetUserVisibleName(false)); in DoImport()
Dninja_utils.cc29 return settings->toolchain_label().name() + "_"; in GetNinjaRulePrefixForToolchain()
Dbuilder.cc64 trace.SetToolchain(item->settings()->toolchain_label()); in ItemDefined()
455 target->settings()->toolchain_label(), target->defined_from(), in AddToolchainDep()
566 target->settings()->toolchain_label(), target->defined_from(), in ResolveToolchain()
572 target->settings()->toolchain_label().GetUserVisibleName(false)); in ResolveToolchain()
Dtarget_generator.cc89 const Label& toolchain_label = ToolchainLabelForScope(scope); in GenerateTarget() local
91 toolchain_label.dir(), toolchain_label.name()); in GenerateTarget()
Dsettings.h45 const Label& toolchain_label() const { return toolchain_label_; } in toolchain_label() function
Dlabel_pattern.h34 const Label& toolchain_label);
Dargs.cc280 return a->toolchain_label() < b->toolchain_label(); in GetAllArguments()
Dscope_per_file_provider.cc53 scope_->settings()->toolchain_label().GetUserVisibleName(false)); in GetCurrentToolchain()
Dlabel_pattern.cc211 return LabelPattern(type, dir, std::string_view(), toolchain_label);
Dfunctions.cc163 return scope->settings()->toolchain_label(); in ToolchainLabelForScope()
169 const Label& toolchain_label = ToolchainLabelForScope(scope); in MakeLabelForScope() local
170 return Label(scope->GetSourceDir(), name, toolchain_label.dir(), in MakeLabelForScope()
171 toolchain_label.name()); in MakeLabelForScope()
Dcommand_gen.cc126 if (target->settings()->toolchain_label() != default_toolchain) { in PrintInvalidGeneratedInput()
134 generator->settings()->toolchain_label() != default_toolchain) in PrintInvalidGeneratedInput()
Dtarget.cc454 trace.SetToolchain(settings()->toolchain_label()); in OnResolved()
1292 settings()->toolchain_label(), next, err); in GetMetadata()
Dninja_target_writer.cc51 trace.SetToolchain(settings->toolchain_label()); in RunAndWriteFile()
Dninja_build_writer.cc252 builder.GetToolchain(target->settings()->toolchain_label()); in RunAndWriteFile()
/third_party/gn/docs/
Dreference.md3050 set_default_toolchain(toolchain_label)
3071 toolchain_label