Bug 1280231: refactor task kinds to task classes; r=jonasfj

MozReview-Commit-ID: 1cNukxBgfey
This commit is contained in:
Dustin J. Mitchell
2016-06-27 22:57:44 +00:00
parent 7a70524719
commit 95e890d6db
18 changed files with 201 additions and 194 deletions

View File

@@ -88,7 +88,7 @@ def annotate_task_graph(target_task_graph, do_not_optimize, named_links_dict, la
optimized = False
# otherwise, examine the task itself (which may be an expensive operation)
else:
optimized, replacement_task_id = task.kind.optimize_task(task, named_task_dependencies)
optimized, replacement_task_id = task.optimize()
task.optimized = optimized
task.task_id = replacement_task_id