build: change visible compiler name during ng_module builds to be Ivy/ViewEngine (#33995)

Previously the visible compiler name during the ng_module build action was
ngc/ngtsc.  These names however are only really known to the compiler team.
Instead we should use more general terms for which compiler is used to match
how we speak about compiler choices.

PR Close #33995
This commit is contained in:
Joey Perrott 2019-11-22 12:33:55 -08:00 committed by Matias Niemelä
parent 17857a311f
commit a4c3ceeddb
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def _compiler_name(ctx):
The name of the current compiler to be displayed in build output The name of the current compiler to be displayed in build output
""" """
return "ngtsc" if _is_ivy_enabled(ctx) else "ngc" return "Ivy" if _is_ivy_enabled(ctx) else "ViewEngine"
def _is_view_engine_enabled(ctx): def _is_view_engine_enabled(ctx):
"""Determines whether Angular outputs will be produced by the current compilation strategy. """Determines whether Angular outputs will be produced by the current compilation strategy.