Home
last modified time | relevance | path

Searched refs:kCToolCc (Results 1 - 12 of 12) sorted by relevance

/third_party/gn/src/gn/
H A Dc_tool.cc11 const char* CTool::kCToolCc = "cc"; member in CTool
45 return name == kCToolCc || name == kCToolCxx || name == kCToolCxxModule || in ValidateName()
245 if (name_ == kCToolCc || name_ == kCToolCxx || name_ == kCToolCxxModule || in ValidateSubstitution()
261 if (name_ == kCToolCc || name_ == kCToolCxx || name_ == kCToolCxxModule || in ValidateOutputSubstitution()
H A Dninja_toolchain_writer_unittest.cc16 writer.WriteToolRule(setup.toolchain()->GetTool(CTool::kCToolCc), in TEST()
H A Dtool.cc261 if (name == CTool::kCToolCc) in CreateTool()
262 return std::make_unique<CTool>(CTool::kCToolCc); in CreateTool()
321 return CTool::kCToolCc; in GetToolTypeForSourceType()
H A Dc_tool.h22 static const char* kCToolCc; member in CTool
H A Dninja_c_binary_target_writer.cc66 if (name == CTool::kCToolCc) in GetPCHLangForToolType()
282 const CTool* tool_c = target_->toolchain()->GetToolAsC(CTool::kCToolCc); in WritePCHCommands()
285 WritePCHCommand(&CSubstitutionCFlagsC, CTool::kCToolCc, in WritePCHCommands()
368 if (tool_name == CTool::kCToolCc) { in WriteGCCPCHCommand()
H A Dninja_target_command_util.cc16 if (name == CTool::kCToolCc) in GetPCHLangSuffixForToolType()
H A Dninja_binary_target_writer.cc225 const CTool* tool = source_set->toolchain()->GetToolAsC(CTool::kCToolCc); in AddSourceSetFiles()
227 GetPCHOutputFiles(source_set, CTool::kCToolCc, &tool_outputs); in AddSourceSetFiles()
H A Dcompile_commands_writer_unittest.cc290 std::unique_ptr<Tool> cc = Tool::CreateTool(CTool::kCToolCc); in TEST_F()
439 std::unique_ptr<Tool> cc = Tool::CreateTool(CTool::kCToolCc); in TEST_F()
H A Dcompile_commands_writer.cc118 CTool::kCToolCc, &ConfigValues::cflags_c); in SetupCompileFlags()
H A Dtest_with_scope.cc92 std::unique_ptr<Tool> cc_tool = Tool::CreateTool(CTool::kCToolCc); in SetupToolchain()
H A Dninja_target_writer.cc337 has_precompiled_headers, CTool::kCToolCc, in WriteCCompilerVars()
H A Dninja_c_binary_target_writer_unittest.cc883 std::unique_ptr<Tool> cc = std::make_unique<CTool>(CTool::kCToolCc); in TEST_F()
1029 std::unique_ptr<Tool> cc = std::make_unique<CTool>(CTool::kCToolCc); in TEST_F()

Completed in 11 milliseconds