Home
last modified time | relevance | path

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

/third_party/gn/src/gn/
H A 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()
236 Label a_label(SourceDir("//foo/"), "a", settings_.toolchain_label().dir(), in TEST_F()
280 Label a_label(SourceDir("//a/"), "a", settings_.toolchain_label().dir(), in TEST_F()
281 settings_.toolchain_label() in TEST_F()
[all...]
H A 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() in BackgroundLoadBuildConfig()
[all...]
H A Derr.h36 Label toolchain_label; member
95 void set_toolchain_label(const Label& toolchain_label) { in set_toolchain_label() argument
96 info_->toolchain_label = toolchain_label; in set_toolchain_label()
H A 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; member in BuildDirContext
H A 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());
H A Derr.cc173 if (!info_->toolchain_label.is_null()) in InternalPrintToStdout()
177 if (!info_->toolchain_label.is_null()) { in InternalPrintToStdout()
179 "(" + info_->toolchain_label.GetUserVisibleName(false) + ")"; in InternalPrintToStdout()
H A Dfilesystem_utils.cc959 std::string GetOutputSubdirName(const Label& toolchain_label, bool is_default) { in GetOutputSubdirName() argument
966 return toolchain_label.name() + "/"; in GetOutputSubdirName()
1017 settings->toolchain_label(), in BuildDirContext()
1024 const Label& toolchain_label) in BuildDirContext()
1026 toolchain_label, in BuildDirContext()
1028 toolchain_label) {} in BuildDirContext()
1034 toolchain_label(in_toolchain_label), in BuildDirContext()
1045 OutputFile result(GetOutputSubdirName(context.toolchain_label, in GetBuildDirAsOutputFile()
1023 BuildDirContext(const Scope* execution_scope, const Label& toolchain_label) BuildDirContext() argument
H A Dninja_generated_file_target_writer.cc61 trace.SetToolchain(target_->settings()->toolchain_label()); in GenerateFile()
75 trace.SetToolchain(target_->settings()->toolchain_label()); in GenerateFile()
H A Dimport_manager.cc24 load_trace.SetToolchain(settings->toolchain_label()); in UncachedImport()
134 scope->settings()->toolchain_label().GetUserVisibleName(false)); in DoImport()
H A Dninja_utils.cc29 return settings->toolchain_label().name() + "_"; in GetNinjaRulePrefixForToolchain()
H A Dbuilder.cc64 trace.SetToolchain(item->settings()->toolchain_label()); in ItemDefined()
458 target->settings()->toolchain_label(), target->defined_from(), in AddToolchainDep()
568 target->settings()->toolchain_label(), target->defined_from(), in ResolveToolchain()
574 target->settings()->toolchain_label().GetUserVisibleName(false)); in ResolveToolchain()
H A Dlabel_pattern.h34 const Label& toolchain_label);
H A Dsettings.h45 const Label& toolchain_label() const { return toolchain_label_; } in toolchain_label() function in Settings
H A Dtarget_generator.cc92 const Label& toolchain_label = ToolchainLabelForScope(scope); in GenerateTarget() local
94 toolchain_label.dir(), toolchain_label.name()); in GenerateTarget()
H A Dargs.cc287 return a->toolchain_label() < b->toolchain_label();
H A Dscope_per_file_provider.cc53 scope_->settings()->toolchain_label().GetUserVisibleName(false)); in GetCurrentToolchain()
H A Dtemplate.cc40 trace.SetToolchain(scope->settings()->toolchain_label()); in Invoke()
H A Dfunctions.cc166 return scope->settings()->toolchain_label(); in ToolchainLabelForScope()
172 const Label& toolchain_label = ToolchainLabelForScope(scope); in MakeLabelForScope() local
173 return Label(scope->GetSourceDir(), name, toolchain_label.dir(), in MakeLabelForScope()
174 toolchain_label.name()); in MakeLabelForScope()
1061 scope->settings()->toolchain_label().GetUserVisibleName(false);
H A Dcommand_gen.cc169 if (target->settings()->toolchain_label() != default_toolchain) { in PrintInvalidGeneratedInput()
177 generator->settings()->toolchain_label() != default_toolchain) in PrintInvalidGeneratedInput()
H A Dtarget.cc458 trace.SetToolchain(settings()->toolchain_label()); in OnResolved()
1306 settings()->toolchain_label(), next, err); in GetMetadata()
H A Dninja_build_writer.cc253 builder.GetToolchain(target->settings()->toolchain_label()); in RunAndWriteFile()
H A Dninja_target_writer.cc106 trace.SetToolchain(settings->toolchain_label()); in RunAndWriteFile()

Completed in 16 milliseconds