func addMacroDefs(
	ix *resolve.RuleIndex,
	toolRepo string,
	tools []ToolName,
	from label.Label,
	ys *[]string,
) {
	for _, tool := range tools {
		toolLabel := findToolLabel(ix, toolRepo, tool, from)
		macroDef := "-D" + toolMacroName(tool) + "=$(location " + toolLabel.String() + ")"
		*ys = append(*ys, macroDef)
	}
}
// Adds macros defining the paths for the given tools
Adds macros defining the paths for the given tools
// Adds macros defining the paths for the given tools
func addMacroDefs(
	ix *resolve.RuleIndex,
	toolRepo string,
	tools []ToolName,
	from label.Label,
	ys *[]string,
) {
	for _, tool := range tools {
		toolLabel := findToolLabel(ix, toolRepo, tool, from)
		macroDef := "-D" + toolMacroName(tool) + "=$(location " + toolLabel.String() + ")"
		*ys = append(*ys, macroDef)
	}
}
func addMacroDefs ( ix * resolve . RuleIndex , toolRepo string , tools [ ] ToolName , from label . Label , ys * [ ] string , ) { for _ , tool := range tools { toolLabel := findToolLabel ( ix , toolRepo , tool , from ) macroDef := " " + toolMacroName ( tool ) + " " + toolLabel . String ( ) + " " * ys = append ( * ys , macroDef ) } }
Adds macros defining the paths for the given tools
Adds macros defining the paths for the given tools