https://github.com/angular/angular
Raw File
Tip revision: b31098d5e935fa055ba3c3275463f17cc822d7ec authored by Joey Perrott on 17 February 2021, 18:47:41 UTC
release: cut the v12.0.0-next.1 release (#40889)
Tip revision: b31098d
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