/third_party/gn/src/gn/ |
D | loader.cc | 56 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 …]
|
D | builder_unittest.cc | 80 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 …]
|
D | err.h | 34 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()
|
D | analyzer_unittest.cc | 56 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());
|
D | filesystem_utils.h | 200 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
|
D | err.cc | 173 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()
|
D | filesystem_utils.cc | 915 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()
|
D | import_manager.cc | 24 load_trace.SetToolchain(settings->toolchain_label()); in UncachedImport() 134 scope->settings()->toolchain_label().GetUserVisibleName(false)); in DoImport()
|
D | ninja_utils.cc | 29 return settings->toolchain_label().name() + "_"; in GetNinjaRulePrefixForToolchain()
|
D | builder.cc | 64 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()
|
D | target_generator.cc | 89 const Label& toolchain_label = ToolchainLabelForScope(scope); in GenerateTarget() local 91 toolchain_label.dir(), toolchain_label.name()); in GenerateTarget()
|
D | settings.h | 45 const Label& toolchain_label() const { return toolchain_label_; } in toolchain_label() function
|
D | label_pattern.h | 34 const Label& toolchain_label);
|
D | args.cc | 280 return a->toolchain_label() < b->toolchain_label(); in GetAllArguments()
|
D | scope_per_file_provider.cc | 53 scope_->settings()->toolchain_label().GetUserVisibleName(false)); in GetCurrentToolchain()
|
D | label_pattern.cc | 211 return LabelPattern(type, dir, std::string_view(), toolchain_label);
|
D | functions.cc | 163 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()
|
D | command_gen.cc | 126 if (target->settings()->toolchain_label() != default_toolchain) { in PrintInvalidGeneratedInput() 134 generator->settings()->toolchain_label() != default_toolchain) in PrintInvalidGeneratedInput()
|
D | target.cc | 454 trace.SetToolchain(settings()->toolchain_label()); in OnResolved() 1292 settings()->toolchain_label(), next, err); in GetMetadata()
|
D | ninja_target_writer.cc | 51 trace.SetToolchain(settings->toolchain_label()); in RunAndWriteFile()
|
D | ninja_build_writer.cc | 252 builder.GetToolchain(target->settings()->toolchain_label()); in RunAndWriteFile()
|
/third_party/gn/docs/ |
D | reference.md | 3050 set_default_toolchain(toolchain_label) 3071 toolchain_label
|