mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
303bb4d27c
Reformat BUILD file usage of globs. PR Close #48181
37 lines
696 B
Python
37 lines
696 B
Python
load("//tools:defaults.bzl", "ng_module", "tsec_test")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
exports_files(["package.json"])
|
|
|
|
ng_module(
|
|
name = "animations",
|
|
srcs = glob(
|
|
[
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
],
|
|
),
|
|
deps = [
|
|
"//packages/animations",
|
|
"//packages/animations/browser",
|
|
"//packages/common",
|
|
"//packages/core",
|
|
"//packages/platform-browser",
|
|
],
|
|
)
|
|
|
|
tsec_test(
|
|
name = "tsec_test",
|
|
target = "animations",
|
|
tsconfig = "//packages:tsec_config",
|
|
)
|
|
|
|
filegroup(
|
|
name = "files_for_docgen",
|
|
srcs = glob([
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
]) + ["PACKAGE.md"],
|
|
)
|