Revert "Use bundled recipes on all Test/Perf tasks"

This reverts commit 43b9c6bbf66b0927a99062c68dff9ea8358f82db.

Reason for revert: Windows failing

Original change's description:
> Use bundled recipes on all Test/Perf tasks
> 
> It won't save as much time for faster machines, but it should still
> shave a few seconds, and it'll be nice to be consistent.
> 
> Bug: skia:5813
> Change-Id: I5724e7aae83851edff3129265a9ffee5c3f95825
> Reviewed-on: https://skia-review.googlesource.com/11340
> Commit-Queue: Eric Boren <borenet@google.com>
> Reviewed-by: Kevin Lubick <kjlubick@google.com>
> 

TBR=borenet@google.com,kjlubick@google.com,reviews@skia.org,iannucci@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Change-Id: I2a9cc1c12079755969879e37da5cae9f93921ddd
Reviewed-on: https://skia-review.googlesource.com/11416
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go
index 71a53a2..0301034 100644
--- a/infra/bots/gen_tasks.go
+++ b/infra/bots/gen_tasks.go
@@ -244,13 +244,6 @@
 	return BUNDLE_RECIPES_NAME
 }
 
-// useBundledRecipes returns true iff the given bot should use bundled recipes
-// instead of syncing recipe DEPS itself.
-func useBundledRecipes(parts map[string]string) bool {
-	// Use bundled recipes for all test/perf tasks.
-	return true
-}
-
 // compile generates a compile task. Returns the name of the last task in the
 // generated chain of tasks, which the Job should add as a dependency.
 func compile(b *specs.TasksCfgBuilder, name string, parts map[string]string) string {
@@ -484,7 +477,7 @@
 		MaxAttempts: 1,
 		Priority:    0.8,
 	}
-	if useBundledRecipes(parts) {
+	if parts["os"] == "Android" {
 		s.Dependencies = append(s.Dependencies, BUNDLE_RECIPES_NAME)
 		s.Isolate = "test_skia_bundled.isolate"
 	}
@@ -534,10 +527,10 @@
 	if strings.Contains(parts["extra_config"], "Skpbench") {
 		recipe = "swarm_skpbench"
 		isolate = "skpbench_skia.isolate"
-		if useBundledRecipes(parts) {
+		if parts["os"] == "Android" {
 			isolate = "skpbench_skia_bundled.isolate"
 		}
-	} else if useBundledRecipes(parts) {
+	} else if parts["os"] == "Android" {
 		isolate = "perf_skia_bundled.isolate"
 	}
 	s := &specs.TaskSpec{
@@ -565,7 +558,7 @@
 		MaxAttempts: 1,
 		Priority:    0.8,
 	}
-	if useBundledRecipes(parts) {
+	if parts["os"] == "Android" {
 		s.Dependencies = append(s.Dependencies, BUNDLE_RECIPES_NAME)
 	}
 	if strings.Contains(parts["extra_config"], "Valgrind") {