mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
579cbb20d9
This commit prepares the code of the `BrowserTestingModule` to include the `MockPlatformLocation` by deafult in the future. With this change, the set of providers to add the `MockPlatformLocation` would be disabled by a flag, which will be switched in v16. PR Close #48651
27 lines
535 B
Python
27 lines
535 B
Python
load("//tools:defaults.bzl", "ng_module")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
exports_files(["package.json"])
|
|
|
|
ng_module(
|
|
name = "testing",
|
|
srcs = glob(["**/*.ts"]),
|
|
deps = [
|
|
"//packages/common/testing",
|
|
"//packages/core",
|
|
"//packages/core/testing",
|
|
"//packages/platform-browser",
|
|
"@npm//@types/jasmine",
|
|
"@npm//rxjs",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "files_for_docgen",
|
|
srcs = glob([
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
]) + ["PACKAGE.md"],
|
|
)
|