aaa16f286d
This commit adds a `tracePerformance` option for tsconfig.json. When specified, it causes a JSON file with timing information from the ngtsc compiler to be emitted at the specified path. This tracing system is used to instrument the analysis/emit phases of compilation, and will be useful in debugging future integration work with @angular/cli. See ngtsc/perf/README.md for more details. PR Close #29380
37 lines
1.2 KiB
Python
37 lines
1.2 KiB
Python
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_library(
|
|
name = "ngcc",
|
|
srcs = glob([
|
|
"*.ts",
|
|
"**/*.ts",
|
|
]),
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/compiler",
|
|
"//packages/compiler-cli/src/ngtsc/annotations",
|
|
"//packages/compiler-cli/src/ngtsc/cycles",
|
|
"//packages/compiler-cli/src/ngtsc/imports",
|
|
"//packages/compiler-cli/src/ngtsc/partial_evaluator",
|
|
"//packages/compiler-cli/src/ngtsc/path",
|
|
"//packages/compiler-cli/src/ngtsc/perf",
|
|
"//packages/compiler-cli/src/ngtsc/reflection",
|
|
"//packages/compiler-cli/src/ngtsc/scope",
|
|
"//packages/compiler-cli/src/ngtsc/transform",
|
|
"//packages/compiler-cli/src/ngtsc/translator",
|
|
"//packages/compiler-cli/src/ngtsc/util",
|
|
"@npm//@types/convert-source-map",
|
|
"@npm//@types/node",
|
|
"@npm//@types/shelljs",
|
|
"@npm//@types/source-map",
|
|
"@npm//@types/yargs",
|
|
"@npm//canonical-path",
|
|
"@npm//dependency-graph",
|
|
"@npm//magic-string",
|
|
"@npm//source-map",
|
|
"@npm//typescript",
|
|
],
|
|
)
|