angular/devtools/projects/protocol/BUILD.bazel
Joey Perrott 5eeb9f3e7e build: move all rule/macro loading into devtools/defaults.bzl (#62627)
Move all of our loading into a local defaults.bzl file instead of mixed loading via tools/defaults and devtolls/defaults

PR Close #62627
2025-07-14 15:47:05 -07:00

40 lines
723 B
Text

load("//devtools/tools:defaults.bzl", "ng_web_test_suite", "ts_project", "ts_test_library")
package(default_visibility = ["//visibility:public"])
exports_files([
"tsconfig.lib.json",
"tsconfig.spec.json",
])
ts_project(
name = "protocol",
srcs = glob(
["**/*.ts"],
exclude = [
"**/*.spec.ts",
"src/test.ts",
],
),
deps = [
"//:node_modules/@angular/core",
],
)
ts_test_library(
name = "protocol_test",
srcs = glob(
["**/*.spec.ts"],
),
deps = [
":protocol_rjs",
"//:node_modules/@angular/core",
],
)
ng_web_test_suite(
name = "test",
deps = [
":protocol_test_rjs",
],
)