diff options
author | 2018-01-12 14:31:48 -0500 | |
---|---|---|
committer | 2018-01-12 19:57:33 +0000 | |
commit | 4f0f933579dd9be6e99942175ecfe2b16ab98f7f (patch) | |
tree | c241a52cff46e093b6b84a1189f0222631cbafea /infra/bots/gen_tasks.go | |
parent | d070f43961e957208c75515c882dd32450c868c0 (diff) |
Add Android ASAN bot
It should work on 32 and 64 bit android running M or newer.
Bug: skia:
Change-Id: I7e6d4000f4fee8f2704b84b7174174dd0e68d21c
Reviewed-on: https://skia-review.googlesource.com/93700
Reviewed-by: Mike Klein <mtklein@chromium.org>
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
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, |