https://github.com/angular/angular
Raw File
Tip revision: 09dcf8639682c02b61d1df3c42f5578374125712 authored by Joey Perrott on 24 March 2021, 16:17:05 UTC
release: cut the v11.2.7 release (#41336)
Tip revision: 09dcf86
BUILD.bazel
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")

package(default_visibility = ["//visibility:public"])

ts_library(
    name = "lib",
    testonly = True,
    srcs = glob(
        ["**/*.ts"],
        exclude = [
            "**/*_spec.ts",
            "**/*_spec",
        ],
    ),
    deps = [
        "//packages:types",
        "@npm//typescript",
    ],
)

ts_library(
    name = "test_lib",
    testonly = 1,
    srcs = glob(
        ["**/*_spec.ts"],
        exclude = ["symbol_extractor_spec/**"],
    ),
    deps = [
        ":lib",
        "//packages:types",
        "@npm//typescript",
    ],
)

jasmine_node_test(
    name = "test",
    data = glob(["symbol_extractor_spec/**"]),
    deps = [
        ":test_lib",
        "//tools/symbol-extractor/symbol_extractor_spec:es2015_class_output",
        "//tools/symbol-extractor/symbol_extractor_spec:fixtures",
    ],
)
back to top