perf(ngcc): only create tasks for non-processed formats (#35719)

Change the behaviour in `analyzeEntryPoints` to only create tasks for non-processed formats.

PR Close #35719
This commit is contained in:
Alan Agius
2020-02-28 08:53:07 +01:00
committed by atscott
parent dc40a93317
commit d7efc45c04
3 changed files with 9 additions and 20 deletions

View File

@ -61,7 +61,7 @@ export interface Task extends JsonObject {
/**
* The list of all format properties (including `task.formatProperty`) that should be marked as
* processed once the taksk has been completed, because they point to the format-path that will be
* processed once the task has been completed, because they point to the format-path that will be
* processed as part of the task.
*/
formatPropertiesToMarkAsProcessed: EntryPointJsonProperty[];
@ -75,9 +75,6 @@ export type TaskCompletedCallback = (task: Task, outcome: TaskProcessingOutcome)
/** Represents the outcome of processing a `Task`. */
export const enum TaskProcessingOutcome {
/** The target format property was already processed - didn't have to do anything. */
AlreadyProcessed,
/** Successfully processed the target format property. */
Processed,
}