dashboard: build only default repos on aix

Exclude x/mobile, x/exp, and x/term from builds on aix.

Change-Id: I09881c4bf7267ee2c8bef56bad21a346e85152f0
Reviewed-on: https://go-review.googlesource.com/c/build/+/180437
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/dashboard/builders.go b/dashboard/builders.go
index 6383113..8016036 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -2194,7 +2194,7 @@
 				// it ready by Go 1.13. See https://golang.org/issue/31564#issuecomment-484786144
 				return atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13)
 			}
-			return atLeastGo1(branch, 12) && atLeastGo1(goBranch, 12)
+			return atLeastGo1(branch, 12) && atLeastGo1(goBranch, 12) && defaultBuildsRepoPolicy(repo, branch, goBranch)
 		},
 	})
 
diff --git a/dashboard/builders_test.go b/dashboard/builders_test.go
index ed27c90..5f42f92 100644
--- a/dashboard/builders_test.go
+++ b/dashboard/builders_test.go
@@ -351,11 +351,17 @@
 		// AIX starts at Go 1.12
 		{b("aix-ppc64", "go"), onlyPost},
 		{b("aix-ppc64", "net"), onlyPost},
+		{b("aix-ppc64", "mobile"), none},
+		{b("aix-ppc64", "exp"), none},
+		{b("aix-ppc64", "term"), none},
 		{b("aix-ppc64@go1.12", "go"), onlyPost},
 		{b("aix-ppc64@go1.12", "net"), none},
+		{b("aix-ppc64@go1.12", "mobile"), none},
 		{b("aix-ppc64@go1.13", "net"), onlyPost},
+		{b("aix-ppc64@go1.13", "mobile"), none},
 		{b("aix-ppc64@go1.11", "go"), none},
 		{b("aix-ppc64@go1.11", "net"), none},
+		{b("aix-ppc64@go1.11", "mobile"), none},
 
 		// Illumos starts at Go 1.13
 		{b("illumos-amd64-joyent", "go"), onlyPost},