Searched defs:cmakeRule (Results 1 – 2 of 2) sorted by relevance
17 type cmakeRule struct { struct18 contents []byte // Data to be written to CMake file.19 deps []string // Names of Bazel targets (not files) on which this rule directly depends.20 rule *build.Rule // Holding pointer because struct contains a Mutex.29 func (r *cmakeRule) getName() string {34 func (r *cmakeRule) hasSrcs() bool {40 func (r *cmakeRule) hasDependency(ruleName string) bool {45 func (r *cmakeRule) addDependency(ruleName string) error {62 func (r *cmakeRule) setContents(contents []byte) {68 func (r *cmakeRule) write(writer io.Writer) (int, error) {
112 def cmakeRule( line ): function