2017-12-01 17:23:03 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-03-15 21:33:52 -04:00
|
|
|
load("//tools:defaults.bzl", "ts_library", "ts_web_test")
|
2017-12-01 17:23:03 -05:00
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
|
|
|
|
ts_library(
|
2017-12-27 13:54:19 -05:00
|
|
|
name = "render3_lib",
|
2017-12-01 17:23:03 -05:00
|
|
|
testonly = 1,
|
|
|
|
srcs = glob(
|
|
|
|
["**/*.ts"],
|
2017-12-27 13:54:19 -05:00
|
|
|
exclude = [
|
|
|
|
"**/*_perf.ts",
|
|
|
|
"domino.d.ts",
|
|
|
|
"load_domino.ts",
|
|
|
|
],
|
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",
|
2017-12-19 14:38:53 -05:00
|
|
|
"//packages/core",
|
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",
|
2017-12-01 17:23:03 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2017-12-27 13:54:19 -05:00
|
|
|
ts_library(
|
|
|
|
name = "render3_node_lib",
|
|
|
|
testonly = 1,
|
|
|
|
srcs = [
|
|
|
|
"domino.d.ts",
|
|
|
|
"load_domino.ts",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
":render3_lib",
|
2018-01-03 05:42:48 -05:00
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-server",
|
2017-12-27 13:54:19 -05:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
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",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
ts_web_test(
|
|
|
|
name = "render3_web",
|
|
|
|
deps = [
|
|
|
|
":render3_lib",
|
2017-12-01 17:23:03 -05:00
|
|
|
],
|
|
|
|
)
|