35 lines
724 B
Python
35 lines
724 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("//tools:defaults.bzl", "npm_package", "ts_library")
|
|
|
|
ts_library(
|
|
name = "benchpress",
|
|
srcs = glob(
|
|
[
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
],
|
|
),
|
|
module_name = "@angular/benchpress",
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/core",
|
|
"@ngdeps//@types/node",
|
|
"@ngdeps//reflect-metadata",
|
|
],
|
|
)
|
|
|
|
npm_package(
|
|
name = "npm_package",
|
|
srcs = [
|
|
"README.md",
|
|
"package.json",
|
|
],
|
|
# Do not add more to this list.
|
|
# Dependencies on the full npm_package cause long re-builds.
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
":benchpress",
|
|
],
|
|
)
|