mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit adds `common/http/testing` and `platform-browser/animations/async`. PR Close #54517
47 lines
1 KiB
Text
47 lines
1 KiB
Text
load("//tools:defaults.bzl", "ng_module", "tsec_test")
|
|
load("@npm//@angular/build-tooling/bazel/api-gen:generate_api_docs.bzl", "generate_api_docs")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
exports_files(["package.json"])
|
|
|
|
ng_module(
|
|
name = "async",
|
|
srcs = glob(
|
|
[
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
],
|
|
),
|
|
deps = [
|
|
"//packages/animations",
|
|
"//packages/animations/browser",
|
|
"//packages/common",
|
|
"//packages/core",
|
|
"//packages/platform-browser",
|
|
],
|
|
)
|
|
|
|
tsec_test(
|
|
name = "tsec_test",
|
|
target = "async",
|
|
tsconfig = "//packages:tsec_config",
|
|
)
|
|
|
|
filegroup(
|
|
name = "files_for_docgen",
|
|
srcs = glob([
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
]) + ["PACKAGE.md"],
|
|
)
|
|
|
|
generate_api_docs(
|
|
name = "platform-browser_animations_async_docs",
|
|
srcs = [
|
|
":files_for_docgen",
|
|
"//packages:common_files_and_deps_for_docs",
|
|
],
|
|
entry_point = ":index.ts",
|
|
module_name = "@angular/platform-browser/animations/async",
|
|
)
|