67 lines
1.5 KiB
Python
67 lines
1.5 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_web_test")
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
ts_library(
|
|
name = "render3_lib",
|
|
testonly = 1,
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
exclude = [
|
|
"**/*_perf.ts",
|
|
"domino.d.ts",
|
|
"load_domino.ts",
|
|
],
|
|
),
|
|
# TODO(alexeagle): should not be different tsconfig
|
|
tsconfig = "//packages:tsconfig.json",
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/animations",
|
|
"//packages/animations/browser",
|
|
"//packages/animations/browser/testing",
|
|
"//packages/core",
|
|
"//packages/platform-browser",
|
|
"//packages/platform-browser/animations",
|
|
"//packages/platform-browser/testing",
|
|
],
|
|
)
|
|
|
|
ts_library(
|
|
name = "render3_node_lib",
|
|
testonly = 1,
|
|
srcs = [
|
|
"domino.d.ts",
|
|
"load_domino.ts",
|
|
],
|
|
deps = [
|
|
":render3_lib",
|
|
"//packages/platform-browser",
|
|
"//packages/platform-server",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "render3",
|
|
bootstrap = [
|
|
"angular_src/packages/core/test/render3/load_domino",
|
|
],
|
|
deps = [
|
|
":render3_node_lib",
|
|
],
|
|
)
|
|
|
|
ts_web_test(
|
|
name = "render3_web",
|
|
bootstrap = [
|
|
"//:web_test_bootstrap_scripts",
|
|
],
|
|
# do not sort
|
|
deps = [
|
|
"//tools/testing:browser",
|
|
":render3_lib",
|
|
],
|
|
)
|