Lines Matching defs:RuleBuilderCommand
746 type RuleBuilderCommand struct { struct
747 rule *RuleBuilder
749 buf strings.Builder
750 inputs Paths
751 implicits Paths
752 orderOnlys Paths
753 validations Paths
754 outputs WritablePaths
755 symlinkOutputs WritablePaths
756 depFiles WritablePaths
757 tools Paths
758 packagedTools []PackagingSpec
759 rspFiles []rspFileAndPaths
767 func (c *RuleBuilderCommand) addInput(path Path) string {
772 func (c *RuleBuilderCommand) addImplicit(path Path) {
776 func (c *RuleBuilderCommand) addOrderOnly(path Path) {
784 func (c *RuleBuilderCommand) PathForInput(path Path) string {
799 func (c *RuleBuilderCommand) PathsForInputs(paths Paths) []string {
811 func (c *RuleBuilderCommand) PathForOutput(path WritablePath) string {
869 func (c *RuleBuilderCommand) PathForPackagedTool(spec PackagingSpec) string {
880 func (c *RuleBuilderCommand) PathForTool(path Path) string {
890 func (c *RuleBuilderCommand) PathsForTools(paths Paths) []string {
903 func (c *RuleBuilderCommand) PackagedTool(spec PackagingSpec) *RuleBuilderCommand {
915 func (c *RuleBuilderCommand) ImplicitPackagedTool(spec PackagingSpec) *RuleBuilderCommand {
926 func (c *RuleBuilderCommand) ImplicitPackagedTools(specs []PackagingSpec) *RuleBuilderCommand {
937 func (c *RuleBuilderCommand) Text(text string) *RuleBuilderCommand {
947 func (c *RuleBuilderCommand) Textf(format string, a ...interface{}) *RuleBuilderCommand {
953 func (c *RuleBuilderCommand) Flag(flag string) *RuleBuilderCommand {
959 func (c *RuleBuilderCommand) OptionalFlag(flag *string) *RuleBuilderCommand {
969 func (c *RuleBuilderCommand) Flags(flags []string) *RuleBuilderCommand {
979 func (c *RuleBuilderCommand) FlagWithArg(flag, arg string) *RuleBuilderCommand {
985 func (c *RuleBuilderCommand) FlagForEachArg(flag string, args []string) *RuleBuilderCommand {
995 … (c *RuleBuilderCommand) FlagWithList(flag string, list []string, sep string) *RuleBuilderCommand {
1001 func (c *RuleBuilderCommand) Tool(path Path) *RuleBuilderCommand {
1007 func (c *RuleBuilderCommand) ImplicitTool(path Path) *RuleBuilderCommand {
1013 func (c *RuleBuilderCommand) ImplicitTools(paths Paths) *RuleBuilderCommand {
1023 func (c *RuleBuilderCommand) BuiltTool(tool string) *RuleBuilderCommand {
1032 func (c *RuleBuilderCommand) PrebuiltBuildTool(ctx PathContext, tool string) *RuleBuilderCommand {
1038 func (c *RuleBuilderCommand) Input(path Path) *RuleBuilderCommand {
1044 func (c *RuleBuilderCommand) Inputs(paths Paths) *RuleBuilderCommand {
1053 func (c *RuleBuilderCommand) Implicit(path Path) *RuleBuilderCommand {
1060 func (c *RuleBuilderCommand) Implicits(paths Paths) *RuleBuilderCommand {
1068 func (c *RuleBuilderCommand) GetImplicits() Paths {
1074 func (c *RuleBuilderCommand) OrderOnly(path Path) *RuleBuilderCommand {
1081 func (c *RuleBuilderCommand) OrderOnlys(paths Paths) *RuleBuilderCommand {
1090 func (c *RuleBuilderCommand) Validation(path Path) *RuleBuilderCommand {
1097 func (c *RuleBuilderCommand) Validations(paths Paths) *RuleBuilderCommand {
1104 func (c *RuleBuilderCommand) Output(path WritablePath) *RuleBuilderCommand {
1111 func (c *RuleBuilderCommand) Outputs(paths WritablePaths) *RuleBuilderCommand {
1120 func (c *RuleBuilderCommand) OutputDir() *RuleBuilderCommand {
1130 func (c *RuleBuilderCommand) DepFile(path WritablePath) *RuleBuilderCommand {
1137 func (c *RuleBuilderCommand) ImplicitOutput(path WritablePath) *RuleBuilderCommand {
1144 func (c *RuleBuilderCommand) ImplicitOutputs(paths WritablePaths) *RuleBuilderCommand {
1152 func (c *RuleBuilderCommand) ImplicitSymlinkOutput(path WritablePath) *RuleBuilderCommand {
1160 func (c *RuleBuilderCommand) ImplicitSymlinkOutputs(paths WritablePaths) *RuleBuilderCommand {
1169 func (c *RuleBuilderCommand) SymlinkOutput(path WritablePath) *RuleBuilderCommand {
1176 func (c *RuleBuilderCommand) SymlinkOutputs(paths WritablePaths) *RuleBuilderCommand {
1187 func (c *RuleBuilderCommand) ImplicitDepFile(path WritablePath) *RuleBuilderCommand {
1194 func (c *RuleBuilderCommand) FlagWithInput(flag string, path Path) *RuleBuilderCommand {
1201 … *RuleBuilderCommand) FlagWithInputList(flag string, paths Paths, sep string) *RuleBuilderCommand {
1212 func (c *RuleBuilderCommand) FlagForEachInput(flag string, paths Paths) *RuleBuilderCommand {
1221 func (c *RuleBuilderCommand) FlagWithOutput(flag string, path WritablePath) *RuleBuilderCommand {
1228 func (c *RuleBuilderCommand) FlagWithDepFile(flag string, path WritablePath) *RuleBuilderCommand {
1238 …and) FlagWithRspFileInputList(flag string, rspFile WritablePath, paths Paths) *RuleBuilderCommand {
1259 func (c *RuleBuilderCommand) String() string {