2018-09-11 21:11:32 -04:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library", "ts_web_test_suite")
|
2017-12-01 17:23:03 -05:00
|
|
|
|
2019-01-16 04:19:01 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2017-12-01 17:23:03 -05:00
|
|
|
ts_library(
|
2017-12-27 13:54:19 -05:00
|
|
|
name = "render3_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2017-12-01 17:23:03 -05:00
|
|
|
srcs = glob(
|
|
|
|
["**/*.ts"],
|
2017-12-27 13:54:19 -05:00
|
|
|
exclude = [
|
|
|
|
"**/*_perf.ts",
|
|
|
|
"domino.d.ts",
|
|
|
|
"load_domino.ts",
|
2018-05-09 11:35:25 -04:00
|
|
|
"jit_spec.ts",
|
2017-12-27 13:54:19 -05:00
|
|
|
],
|
2017-12-01 17:23:03 -05:00
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
2017-12-15 11:50:54 -05:00
|
|
|
"//packages/animations",
|
|
|
|
"//packages/animations/browser",
|
|
|
|
"//packages/animations/browser/testing",
|
2018-01-17 13:09:05 -05:00
|
|
|
"//packages/common",
|
2018-06-13 11:39:32 -04:00
|
|
|
"//packages/compiler",
|
2017-12-19 14:38:53 -05:00
|
|
|
"//packages/core",
|
2019-01-09 16:49:16 -05:00
|
|
|
"//packages/core/src/di/interface",
|
|
|
|
"//packages/core/src/interface",
|
|
|
|
"//packages/core/src/util",
|
2018-02-03 23:34:30 -05:00
|
|
|
"//packages/core/testing",
|
2017-12-19 14:38:53 -05:00
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-browser/animations",
|
2018-01-03 05:42:48 -05:00
|
|
|
"//packages/platform-browser/testing",
|
2018-07-27 16:49:22 -04:00
|
|
|
"//packages/private/testing",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//rxjs",
|
2017-12-01 17:23:03 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2017-12-27 13:54:19 -05:00
|
|
|
ts_library(
|
2018-05-09 11:35:25 -04:00
|
|
|
name = "domino",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2017-12-27 13:54:19 -05:00
|
|
|
srcs = [
|
|
|
|
"domino.d.ts",
|
|
|
|
"load_domino.ts",
|
|
|
|
],
|
|
|
|
deps = [
|
2018-10-24 19:02:25 -04:00
|
|
|
"//packages/compiler",
|
2018-01-03 05:42:48 -05:00
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-server",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//zone.js",
|
2017-12-27 13:54:19 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2018-05-09 11:35:25 -04:00
|
|
|
ts_library(
|
|
|
|
name = "render3_node_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2018-05-09 11:35:25 -04:00
|
|
|
srcs = [],
|
|
|
|
deps = [
|
|
|
|
":domino",
|
|
|
|
":render3_lib",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2017-12-01 17:23:03 -05:00
|
|
|
jasmine_node_test(
|
|
|
|
name = "render3",
|
|
|
|
bootstrap = [
|
2017-12-19 18:03:29 -05:00
|
|
|
"angular/packages/core/test/render3/load_domino",
|
2017-12-01 17:23:03 -05:00
|
|
|
],
|
|
|
|
deps = [
|
2017-12-27 13:54:19 -05:00
|
|
|
":render3_node_lib",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//zone.js",
|
2017-12-27 13:54:19 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2018-05-11 12:43:06 -04:00
|
|
|
ts_web_test_suite(
|
2017-12-27 13:54:19 -05:00
|
|
|
name = "render3_web",
|
|
|
|
deps = [
|
|
|
|
":render3_lib",
|
2017-12-01 17:23:03 -05:00
|
|
|
],
|
|
|
|
)
|