aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/gen_tasks.go
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2017-04-12 10:50:18 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-12 16:51:21 +0000
commit671cd72c0ae64b1a4d368591f1ec974acab23635 (patch)
treeddfbf3773c473a31aba438985d912838df2572a1 /infra/bots/gen_tasks.go
parente0b728726d3b44bf18219b8c5bc5599332be7c34 (diff)
Add jobs for Samsung Chromebook Plus
Also refactor the cipd package used to compile these, as it can be reused. Bug: skia: NOTRY=true Change-Id: I53cf5b7fdfcb8cafd50791a0beaaf557fafa65c3 Reviewed-on: https://skia-review.googlesource.com/13252 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/gen_tasks.go')
-rw-r--r--infra/bots/gen_tasks.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go
index 07eea947ff..1f652f8533 100644
--- a/infra/bots/gen_tasks.go
+++ b/infra/bots/gen_tasks.go
@@ -103,7 +103,7 @@ func deriveCompileTaskName(jobName string, parts map[string]string) string {
task_os = "Ubuntu"
ec = "Chromecast"
} else if strings.Contains(task_os, "ChromeOS") {
- ec = parts["model"]
+ ec = "Chromebook_ARM_GLES"
task_os = "Ubuntu"
} else if task_os == "iOS" {
ec = task_os
@@ -270,9 +270,7 @@ func compile(b *specs.TasksCfgBuilder, name string, parts map[string]string) str
} else if strings.Contains(name, "Chromebook") {
pkgs = append(pkgs, b.MustGetCipdPackageFromAsset("clang_linux"))
pkgs = append(pkgs, b.MustGetCipdPackageFromAsset("armhf_sysroot"))
- if strings.Contains(name, "Chromebook_C100p") {
- pkgs = append(pkgs, b.MustGetCipdPackageFromAsset("chromebook_c100p_lib"))
- }
+ pkgs = append(pkgs, b.MustGetCipdPackageFromAsset("chromebook_arm_gles"))
} else if strings.Contains(name, "Ubuntu") {
if strings.Contains(name, "Clang") {
pkgs = append(pkgs, b.MustGetCipdPackageFromAsset("clang_linux"))