Searched defs:Context (Results  1 – 10 of 10) sorted by relevance
| /tools/treble/build/treble_build/report/ | 
| D | run.go | 30 func binaryExecutables(ctx context.Context, dir string, recursive bool) ([]string, int, error) {60 func (rtx *Context) ResolveProjectMap(ctx context.Context, manifest string, upstreamBranch string) {
 67 func ResolveHostTools(ctx context.Context, hostToolPath string) (*app.HostReport, error) {
 85 func RunReport(ctx context.Context, rtx *Context, req *app.ReportRequest) (*app.Report, error) {
 106 func ResolveCommit(ctx context.Context, rtx *Context, commit *app.ProjectCommit) (*app.GitCommit, […
 130 func RunQuery(ctx context.Context, rtx *Context, req *app.QueryRequest) (*app.QueryResponse, error)…
 173 func RunPaths(ctx context.Context, rtx *Context, target string, singlePath bool, files []string) []…
 
 | 
| D | types.go | 37 type Context struct {  struct38 	RepoBase         string              // Absolute path to repo base
 39 	Repo             RepoDependencies    // Repo interface
 40 	Build            BuildDependencies   // Build interface
 41 	Project          ProjectDependencies // Project interface
 42 	WorkerCount      int                 // Number of worker threads
 43 	BuildWorkerCount int                 // Number of build worker threads
 44 	Info             *ProjectInfo        // Project information
 
 | 
| D | build.go | 45 func createBuildTarget(ctx context.Context, rtx *Context, buildTarget *buildTargetData) *app.BuildT…74 func targetResolvers(ctx context.Context, rtx *Context) (chan string, chan *buildTargetData) {
 107 func resolveBuildInputs(ctx context.Context, rtx *Context, inChan chan *buildTargetData) chan *app.…
 127 func queryResolvers(ctx context.Context, rtx *Context) (chan string, chan *buildSourceData) {
 150 func pathsResolvers(ctx context.Context, rtx *Context, target string, singlePath bool) (chan string…
 
 | 
| D | dependencies.go | 24 	Command(ctx context.Context, target string) (*app.BuildCommand, error)25 	Input(ctx context.Context, target string) (*app.BuildInput, error)
 26 	Query(ctx context.Context, target string) (*app.BuildQuery, error)
 27 	Path(ctx context.Context, target string, dependency string) (*app.BuildPath, error)
 28 	Paths(ctx context.Context, target string, dependency string) ([]*app.BuildPath, error)
 29 	Deps(ctx context.Context) (*app.BuildDeps, error)
 33 …Project(ctx context.Context, path string, gitDir string, remote string, revision string) (*app.Git…
 34 	PopulateFiles(ctx context.Context, proj *app.GitProject, upstream string) error
 35 	CommitInfo(ctx context.Context, proj *app.GitProject, sha string) (*app.GitCommit, error)
 
 | 
| D | projects.go | 40 func resolveProject(ctx context.Context, repoProj *app.RepoProject, remote *app.RepoRemote, proj Pr…85 func lookupProjectFile(ctx context.Context, rtx *Context, filename string) (*project, *app.GitTreeO…
 110 func resolveProjectMap(ctx context.Context, rtx *Context, manifestFile string, getFiles bool, upstr…
 
 | 
| /tools/treble/build/treble_build/local/ | 
| D | git.go | 36 	ProjectInfo(ctx context.Context, gitDir, workDir string) (out *bytes.Buffer, err error)37 	RemoteUrl(ctx context.Context, gitDir, workDir, remote string) (*bytes.Buffer, error)
 38 	Tree(ctx context.Context, gitDir, workDir, revision string) (*bytes.Buffer, error)
 39 	CommitInfo(ctx context.Context, gitDir, workDir, revision string) (*bytes.Buffer, error)
 40 	DiffBranches(ctx context.Context, gitDir, workDir, upstream, sha string) (*bytes.Buffer, error)
 
 | 
| D | ninja.go | 41 	Command(ctx context.Context, target string) (*bytes.Buffer, error)42 	Input(ctx context.Context, target string) (*bytes.Buffer, error)
 43 	Query(ctx context.Context, target string) (*bytes.Buffer, error)
 44 	Path(ctx context.Context, target string, dependency string) (*bytes.Buffer, error)
 45 	Paths(ctx context.Context, target string, dependency string) (*bytes.Buffer, error)
 46 	Deps(ctx context.Context) (*bytes.Buffer, error)
 47 	Build(ctx context.Context, target string) (*bytes.Buffer, error)
 
 | 
| D | cmd.go | 29 func runPipe(ctx context.Context, timeout time.Duration, cmdName string, args []string, parser func…53 func run(ctx context.Context, timeout time.Duration, cmdName string, args []string) (out *bytes.Buf…
 
 | 
| /tools/asuite/atest/tf_proto/ | 
| D | invocation_context.proto | 27 message Context {  message
 | 
| /tools/treble/build/treble_build/cmd/ | 
| D | main.go | 37 	Build(ctx context.Context, target string) *app.BuildCmdResult41 	Run(ctx context.Context, rtx *report.Context, rsp *response) error
 
 |