/third_party/gn/src/gn/ |
H A 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() 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 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() in BackgroundLoadBuildConfig() [all...] |
H A D | err.h | 36 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 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; member in BuildDirContext
|
H A 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());
|
H A D | err.cc | 173 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 D | filesystem_utils.cc | 959 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 D | ninja_generated_file_target_writer.cc | 61 trace.SetToolchain(target_->settings()->toolchain_label()); in GenerateFile() 75 trace.SetToolchain(target_->settings()->toolchain_label()); in GenerateFile()
|
H A D | import_manager.cc | 24 load_trace.SetToolchain(settings->toolchain_label()); in UncachedImport() 134 scope->settings()->toolchain_label().GetUserVisibleName(false)); in DoImport()
|
H A D | ninja_utils.cc | 29 return settings->toolchain_label().name() + "_"; in GetNinjaRulePrefixForToolchain()
|
H A D | builder.cc | 64 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 D | label_pattern.h | 34 const Label& toolchain_label);
|
H A D | settings.h | 45 const Label& toolchain_label() const { return toolchain_label_; } in toolchain_label() function in Settings
|
H A D | target_generator.cc | 92 const Label& toolchain_label = ToolchainLabelForScope(scope); in GenerateTarget() local 94 toolchain_label.dir(), toolchain_label.name()); in GenerateTarget()
|
H A D | args.cc | 287 return a->toolchain_label() < b->toolchain_label();
|
H A D | scope_per_file_provider.cc | 53 scope_->settings()->toolchain_label().GetUserVisibleName(false)); in GetCurrentToolchain()
|
H A D | template.cc | 40 trace.SetToolchain(scope->settings()->toolchain_label()); in Invoke()
|
H A D | functions.cc | 166 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 D | command_gen.cc | 169 if (target->settings()->toolchain_label() != default_toolchain) { in PrintInvalidGeneratedInput() 177 generator->settings()->toolchain_label() != default_toolchain) in PrintInvalidGeneratedInput()
|
H A D | target.cc | 458 trace.SetToolchain(settings()->toolchain_label()); in OnResolved() 1306 settings()->toolchain_label(), next, err); in GetMetadata()
|
H A D | ninja_build_writer.cc | 253 builder.GetToolchain(target->settings()->toolchain_label()); in RunAndWriteFile()
|
H A D | ninja_target_writer.cc | 106 trace.SetToolchain(settings->toolchain_label()); in RunAndWriteFile()
|