2017-12-01 17:23:03 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-01-09 18:24:00 -05:00
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
load("@build_bazel_rules_typescript//:defs.bzl", "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
|
|
|
),
|
2018-01-09 18:24:00 -05:00
|
|
|
# TODO(alexeagle): should not be different tsconfig
|
2017-12-01 17:23:03 -05:00
|
|
|
tsconfig = "//packages:tsconfig.json",
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
2017-12-15 11:50:54 -05:00
|
|
|
"//packages/animations",
|
|
|
|
"//packages/animations/browser",
|
|
|
|
"//packages/animations/browser/testing",
|
2017-12-19 14:38:53 -05:00
|
|
|
"//packages/core",
|
|
|
|
"//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 = [
|
|
|
|
"angular_src/packages/core/test/render3/load_domino",
|
|
|
|
],
|
|
|
|
deps = [
|
2017-12-27 13:54:19 -05:00
|
|
|
":render3_node_lib",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
ts_web_test(
|
|
|
|
name = "render3_web",
|
|
|
|
bootstrap = [
|
|
|
|
"//:web_test_bootstrap_scripts",
|
|
|
|
],
|
|
|
|
# do not sort
|
|
|
|
deps = [
|
|
|
|
"//tools/testing:browser",
|
|
|
|
":render3_lib",
|
2017-12-01 17:23:03 -05:00
|
|
|
],
|
|
|
|
)
|