diff options
Diffstat (limited to 'infra/bots/gen_tasks.go')
-rw-r--r-- | infra/bots/gen_tasks.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go index ef79dd531a..6534fe9221 100644 --- a/infra/bots/gen_tasks.go +++ b/infra/bots/gen_tasks.go @@ -849,9 +849,14 @@ func doUpload(name string) bool { // test generates a Test task. Returns the name of the last task in the // generated chain of tasks, which the Job should add as a dependency. func test(b *specs.TasksCfgBuilder, name string, parts map[string]string, compileTaskName string, pkgs []*specs.CipdPackage) string { + deps := []string{compileTaskName} + if strings.Contains(name, "Android_ASAN") { + deps = append(deps, isolateCIPDAsset(b, ISOLATE_NDK_LINUX_NAME)) + } + s := &specs.TaskSpec{ CipdPackages: pkgs, - Dependencies: []string{compileTaskName}, + Dependencies: deps, Dimensions: swarmDimensions(parts), ExecutionTimeout: 4 * time.Hour, Expiration: 20 * time.Hour, |