/third_party/gn/src/gn/ |
H A D | toolchain.cc | 36 Tool* Toolchain::GetTool(const char* name) { in GetTool() 37 DCHECK(name != Tool::kToolNone); in GetTool() 45 const Tool* Toolchain::GetTool(const char* name) const { in GetTool() 46 DCHECK(name != Tool::kToolNone); in GetTool() 55 if (Tool* tool = GetTool(name)) { in GetToolAsGeneral() 62 if (const Tool* tool = GetTool(name)) { in GetToolAsGeneral() 69 if (Tool* tool = GetTool(name)) { in GetToolAsC() 76 if (const Tool* tool = GetTool(name)) { in GetToolAsC() 83 if (Tool* tool = GetTool(name)) { in GetToolAsRust() 90 if (const Tool* too in GetToolAsRust() [all...] |
H A D | test_with_scope.cc | 92 std::unique_ptr<Tool> cc_tool = Tool::CreateTool(CTool::kCToolCc); in SetupToolchain() 102 std::unique_ptr<Tool> cxx_tool = Tool::CreateTool(CTool::kCToolCxx); in SetupToolchain() 113 std::unique_ptr<Tool> objc_tool = Tool::CreateTool(CTool::kCToolObjC); in SetupToolchain() 123 std::unique_ptr<Tool> objcxx_tool = Tool::CreateTool(CTool::kCToolObjCxx); in SetupToolchain() 135 std::unique_ptr<Tool> alink = Tool in SetupToolchain() [all...] |
H A D | tool.cc | 14 const char* Tool::kToolNone = ""; 16 Tool::Tool(const char* n) : name_(n) {} in Tool() function in Tool 18 Tool::~Tool() = default; 20 void Tool::SetToolComplete() { in SetToolComplete() 33 GeneralTool* Tool::AsGeneral() { in AsGeneral() 37 const GeneralTool* Tool::AsGeneral() const { in AsGeneral() 41 CTool* Tool::AsC() { in AsC() 45 const CTool* Tool [all...] |
H A D | toolchain.h | 57 Tool* GetTool(const char* name); 58 const Tool* GetTool(const char* name) const; 72 void SetTool(std::unique_ptr<Tool> t); 96 const Tool* GetToolForSourceType(SourceFile::Type type) const; 106 const Tool* GetToolForTargetFinalOutput(const Target* target) const; 119 const std::map<const char*, std::unique_ptr<Tool>>& tools() const { in tools() 124 std::map<const char*, std::unique_ptr<Tool>> tools_;
|
H A D | ninja_binary_target_writer.h | 65 const Tool* tool, 67 void WriteCustomLinkerFlags(std::ostream& out, const Tool* tool); 68 void WriteLibrarySearchPath(std::ostream& out, const Tool* tool); 69 void WriteLibs(std::ostream& out, const Tool* tool); 70 void WriteFrameworks(std::ostream& out, const Tool* tool); 72 const Tool* tool,
|
H A D | tool.h | 28 // To add a new Tool category, create a subclass implementing SetComplete() 31 class Tool { class 35 virtual ~Tool(); 231 static std::unique_ptr<Tool> CreateTool(const std::string& name); 232 static std::unique_ptr<Tool> CreateTool(const ParseNode* function, 243 explicit Tool(const char* t); 302 Tool(const Tool&) = delete; 303 Tool& operator=(const Tool [all...] |
H A D | substitution_writer.h | 22 class Tool; 181 const Tool* tool, 184 const Tool* tool, 223 const Tool* tool, 226 const Tool* tool, 234 const Tool* tool,
|
H A D | swift_values.cc | 28 const Tool* SwiftValues::GetTool(const Target* target) const { in GetTool() 35 const Tool* tool = GetTool(target); in GetOutputs() 82 const Tool* tool = GetTool(target); in FillModuleOutputFile()
|
H A D | builtin_tool.cc | 12 BuiltinTool::BuiltinTool(const char* n) : Tool(n) { in BuiltinTool() 39 return Tool::InitTool(scope, toolchain, err); in InitTool()
|
H A D | ninja_binary_target_writer.cc | 201 const char* tool_name = Tool::kToolNone; in AddSourceSetFiles() 296 const Tool* tool) { in WriteCustomLinkerFlags() 306 const Tool* tool) { in WriteLibrarySearchPath() 340 const Tool* tool, in WriteLinkerFlags() 353 void NinjaBinaryTargetWriter::WriteLibs(std::ostream& out, const Tool* tool) { in WriteLibs() 377 const Tool* tool) { in WriteFrameworks() 394 const Tool* tool, in WriteSwiftModules()
|
H A D | general_tool.cc | 14 GeneralTool::GeneralTool(const char* n) : Tool(n) { in GeneralTool() 39 return Tool::InitTool(scope, toolchain, err); in InitTool()
|
H A D | swift_values.h | 17 class Tool; 48 const Tool* GetTool(const Target* target) const;
|
H A D | compile_commands_writer_unittest.cc | 278 std::unique_ptr<Tool> cxx = Tool::CreateTool(CTool::kCToolCxx); in TEST_F() 290 std::unique_ptr<Tool> cc = Tool::CreateTool(CTool::kCToolCc); in TEST_F() 426 std::unique_ptr<Tool> cxx = Tool::CreateTool(CTool::kCToolCxx); in TEST_F() 439 std::unique_ptr<Tool> cc = Tool::CreateTool(CTool::kCToolCc); in TEST_F()
|
H A D | ninja_toolchain_writer.h | 20 class Tool; 43 void WriteToolRule(Tool* tool, const std::string& rule_prefix);
|
H A D | function_toolchain_unittest.cc | 63 const Tool* link = toolchain->GetTool(CTool::kCToolLink); in TEST_F() 111 const Tool* rust = toolchain->GetTool(RustTool::kRsToolBin); in TEST_F() 156 const Tool* link = toolchain->GetTool(CTool::kCToolCxx); in TEST_F()
|
H A D | target.cc | 579 const Tool* tool = toolchain_->GetToolForTargetFinalOutput(this); in GetComputedOutputName() 595 const Tool* tool = toolchain->GetToolForTargetFinalOutput(this); in SetToolchain() 599 // Tool not specified for this target type. in SetToolchain() 612 Tool::GetToolTypeForTargetFinalOutput(this))); in SetToolchain() 648 const Tool* tool = toolchain()->GetToolForTargetFinalOutput(this); in GetOutputsAsSourceFiles() 677 *computed_tool_type = Tool::kToolNone; in GetOutputFilesForSource() 714 *computed_tool_type = Tool::GetToolTypeForSourceType(file_type); in GetOutputFilesForSource() 715 if (*computed_tool_type == Tool::kToolNone) in GetOutputFilesForSource() 717 const Tool* tool = toolchain_->GetTool(*computed_tool_type); in GetOutputFilesForSource() 719 return false; // Tool doe in GetOutputFilesForSource() [all...] |
H A D | visual_studio_writer_unittest.cc | 178 std::unique_ptr<Tool> tool = Tool::CreateTool(CTool::kCToolAlink); in TEST_F() 213 std::unique_ptr<Tool> tool = Tool::CreateTool(CTool::kCToolAlink); in TEST_F()
|
H A D | rust_tool.cc | 17 RustTool::RustTool(const char* n) : Tool(n) { in RustTool() 107 if (!Tool::InitTool(scope, toolchain, err)) { in InitTool()
|
H A D | ninja_copy_target_writer.cc | 25 const Tool* copy_tool = in Run() 37 const Tool* stamp_tool = in Run()
|
H A D | substitution_writer_unittest.cc | 261 const Tool* tool = setup.toolchain()->GetToolForTargetFinalOutput(&target); in TEST() 297 std::unique_ptr<Tool> tool = Tool::CreateTool(CTool::kCToolLink); in TEST()
|
H A D | ninja_target_writer.cc | 279 const Tool* tool = target_->toolchain()->GetTool(CTool::kCToolLink); in WriteCCompilerVars() 318 &CSubstitutionAsmFlags, false, Tool::kToolNone, in WriteCCompilerVars() 330 false, Tool::kToolNone, &ConfigValues::cflags, opts, in WriteCCompilerVars() 422 &kRustSubstitutionRustFlags, false, Tool::kToolNone, in WriteRustCompilerVars() 429 &kRustSubstitutionRustEnv, false, Tool::kToolNone, in WriteRustCompilerVars()
|
H A D | substitution_writer.cc | 404 const Tool* tool, 422 const Tool* tool, 520 const Tool* tool, 536 const Tool* tool, 546 const Tool* tool,
|
/third_party/ninja/src/ |
H A D | ninja.cc | 67 struct Tool;
77 /// Tool to run rather than building.
78 const Tool* tool;
194 struct Tool {
struct 1107 /// Returns a Tool, or NULL if Ninja should exit.
1108 const Tool* ChooseTool(const string& tool_name) {
in ChooseTool() 1109 static const Tool kTools[] = {
in ChooseTool() 1111 Tool::RUN_AFTER_LOAD, &NinjaMain::ToolBrowse },
in ChooseTool() 1114 Tool::RUN_AFTER_FLAGS, &NinjaMain::ToolMSVC },
in ChooseTool() 1117 Tool in ChooseTool() [all...] |
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSProject.py | 12 class Tool: class 19 name: Tool name. 31 return ["Tool", self._attrs] 99 tools: List of tools (strings or Tool objects); may be None. 116 if isinstance(t, Tool): 119 specification.append(Tool(t)._GetSpecification()) 128 tools: List of tools (strings or Tool objects); may be None. 172 tools: List of tools (strings or Tool objects); may be None.
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSProject.py | 12 class Tool: class 19 name: Tool name. 31 return ["Tool", self._attrs] 99 tools: List of tools (strings or Tool objects); may be None. 116 if isinstance(t, Tool): 119 specification.append(Tool(t)._GetSpecification()) 128 tools: List of tools (strings or Tool objects); may be None. 172 tools: List of tools (strings or Tool objects); may be None.
|