2018-07-06 18:42:07 -04:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2019-01-05 08:01:47 -05:00
|
|
|
load("//tools:defaults.bzl", "npm_package", "ts_library")
|
2018-07-06 18:42:07 -04:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "benchpress",
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
|
|
|
"src/**/*.ts",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
module_name = "@angular/benchpress",
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
|
|
|
"//packages/core",
|
2018-10-04 16:14:14 -04:00
|
|
|
"@ngdeps//@types/node",
|
2018-10-25 23:47:28 -04:00
|
|
|
"@ngdeps//reflect-metadata",
|
2018-07-06 18:42:07 -04:00
|
|
|
],
|
|
|
|
)
|
2019-01-05 08:01:47 -05:00
|
|
|
|
|
|
|
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",
|
|
|
|
],
|
|
|
|
)
|