mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit adds a new compiler pipeline that isn't dependent on global analysis, referred to as 'ngtsc'. This new compiler is accessed by running ngc with "enableIvy" set to "ngtsc". It reuses the same initialization logic but creates a new implementation of Program which does not perform the global-level analysis that AngularCompilerProgram does. It will be the foundation for the production Ivy compiler. PR Close #23455
32 lines
716 B
Text
32 lines
716 B
Text
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
ts_library(
|
|
name = "browser",
|
|
testonly = 1,
|
|
srcs = ["init_browser_spec.ts"],
|
|
deps = [
|
|
"//packages/core/testing",
|
|
"//packages/platform-browser-dynamic/testing",
|
|
"//packages/platform-browser/animations",
|
|
],
|
|
)
|
|
|
|
ts_library(
|
|
name = "node",
|
|
testonly = 1,
|
|
srcs = ["init_node_spec.ts"],
|
|
deps = [
|
|
"//packages/core/testing",
|
|
"//packages/platform-server",
|
|
"//packages/platform-server/testing",
|
|
],
|
|
)
|
|
|
|
ts_library(
|
|
name = "node_no_angular",
|
|
testonly = 1,
|
|
srcs = ["init_node_no_angular_spec.ts"],
|
|
deps = ["//packages:types"],
|
|
)
|