2019-01-16 04:19:01 -05:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ng_module", "ts_library")
|
2018-07-27 10:47:12 -04:00
|
|
|
|
|
|
|
ng_module(
|
|
|
|
name = "aot_routing_module",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2018-07-27 10:47:12 -04:00
|
|
|
srcs = ["aot_router_module.ts"],
|
2019-11-12 12:52:34 -05:00
|
|
|
generate_ve_shims = True,
|
2018-07-27 10:47:12 -04:00
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/router",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//rxjs",
|
2018-07-27 10:47:12 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "aot_test_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2018-07-27 10:47:12 -04:00
|
|
|
srcs = ["aot_router_bootstrap.spec.ts"],
|
|
|
|
deps = [
|
|
|
|
":aot_routing_module",
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/core/testing",
|
|
|
|
"//packages/router",
|
|
|
|
"//packages/router/testing",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
2020-01-10 16:40:02 -05:00
|
|
|
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
2018-07-27 10:47:12 -04:00
|
|
|
deps = [
|
|
|
|
":aot_test_lib",
|
2020-01-10 16:39:37 -05:00
|
|
|
"//tools/testing:node",
|
2018-07-27 10:47:12 -04:00
|
|
|
],
|
|
|
|
)
|