ab5bc42da0
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
33 lines
716 B
Python
33 lines
716 B
Python
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"],
|
|
)
|