Merge "Add GlobWithDeps to MakeVarsContext"
am: 3ea15b5a72
Change-Id: Ia5fd8513ec766fc936e9329ee25dc8da05ea0b88
This commit is contained in:
commit
7de9de871c
1 changed files with 6 additions and 0 deletions
|
@ -80,6 +80,12 @@ type MakeVarsContext interface {
|
|||
// Eval().
|
||||
StrictRaw(name, value string)
|
||||
CheckRaw(name, value string)
|
||||
|
||||
// GlobWithDeps returns a list of files that match the specified pattern but do not match any
|
||||
// of the patterns in excludes. It also adds efficient dependencies to rerun the primary
|
||||
// builder whenever a file matching the pattern as added or removed, without rerunning if a
|
||||
// file that does not match the pattern is added to a searched directory.
|
||||
GlobWithDeps(pattern string, excludes []string) ([]string, error)
|
||||
}
|
||||
|
||||
var _ PathContext = MakeVarsContext(nil)
|
||||
|
|
Loading…
Reference in a new issue