refactor(ngcc): implement task selection for parallel task execution (#32427)

This commit adds a new `TaskQueue` implementation that supports
executing multiple tasks in parallel (while respecting interdependencies
between them).

This new implementation is currently not used, thus the behavior of
`ngcc` is not affected by this change. The parallel `TaskQueue` will be
used in a subsequent commit that will introduce parallel task execution.

PR Close #32427
This commit is contained in:
George Kalpakas
2019-08-28 15:01:39 +03:00
committed by Matias Niemelä
parent 2844dd2972
commit f4e4bb2085
3 changed files with 733 additions and 0 deletions

View File

@ -24,6 +24,7 @@ ts_library(
"//packages/compiler-cli/test/helpers",
"@npm//@types/convert-source-map",
"@npm//convert-source-map",
"@npm//dependency-graph",
"@npm//magic-string",
"@npm//typescript",
],