2019-11-13 12:08:38 -05:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "karma_web_test_suite", "ts_library")
|
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",
|
2020-08-05 22:16:20 -04:00
|
|
|
"is_shape_of.ts",
|
2018-05-09 11:35:25 -04:00
|
|
|
"jit_spec.ts",
|
2020-08-05 22:16:20 -04:00
|
|
|
"matchers.ts",
|
2017-12-27 13:54:19 -05:00
|
|
|
],
|
2017-12-01 17:23:03 -05:00
|
|
|
),
|
|
|
|
deps = [
|
2020-08-05 22:16:20 -04:00
|
|
|
":matchers",
|
2017-12-01 17:23:03 -05:00
|
|
|
"//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
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-08-05 22:16:20 -04:00
|
|
|
ts_library(
|
|
|
|
name = "matchers",
|
|
|
|
testonly = True,
|
|
|
|
srcs = [
|
|
|
|
"is_shape_of.ts",
|
|
|
|
"matchers.ts",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
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 = [
|
2019-08-22 22:16:25 -04:00
|
|
|
"//packages/common",
|
2018-10-24 19:02:25 -04:00
|
|
|
"//packages/compiler",
|
2018-01-03 05:42:48 -05:00
|
|
|
"//packages/platform-server",
|
2019-10-05 23:06:53 -04:00
|
|
|
"//packages/zone.js/lib:zone_d_ts",
|
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",
|
2020-07-01 17:35:19 -04:00
|
|
|
bootstrap = [
|
|
|
|
":domino_es5",
|
|
|
|
"//tools/testing:node_es5",
|
|
|
|
],
|
2020-12-15 16:44:19 -05:00
|
|
|
tags = [
|
|
|
|
"ivy-only",
|
|
|
|
],
|
2017-12-01 17:23:03 -05:00
|
|
|
deps = [
|
2017-12-27 13:54:19 -05:00
|
|
|
":render3_node_lib",
|
2019-10-05 23:06:53 -04:00
|
|
|
"//packages/zone.js/lib",
|
2017-12-27 13:54:19 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-11-13 12:08:38 -05:00
|
|
|
karma_web_test_suite(
|
2017-12-27 13:54:19 -05:00
|
|
|
name = "render3_web",
|
2020-12-15 16:44:19 -05:00
|
|
|
tags = [
|
|
|
|
"ivy-only",
|
|
|
|
],
|
2017-12-27 13:54:19 -05:00
|
|
|
deps = [
|
|
|
|
":render3_lib",
|
2017-12-01 17:23:03 -05:00
|
|
|
],
|
|
|
|
)
|