mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9a27c5befb
Use defaults.bzl for the common macros PR Close #63384
32 lines
734 B
Python
32 lines
734 B
Python
load("//tools:defaults.bzl", "js_binary", "ts_project")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_project(
|
|
name = "background-service_lib",
|
|
srcs = glob(["*.ts"]),
|
|
deps = [
|
|
"//:browser-providers",
|
|
"//:node_modules/@types/node",
|
|
"//:node_modules/@types/selenium-webdriver4",
|
|
"//:node_modules/chalk",
|
|
"//:node_modules/selenium-webdriver4",
|
|
"//tools/saucelabs-daemon",
|
|
],
|
|
)
|
|
|
|
js_binary(
|
|
name = "background-service",
|
|
data = [
|
|
":background-service_lib",
|
|
"//:sauce_connect",
|
|
],
|
|
entry_point = ":cli.js",
|
|
fixed_args = [
|
|
"$(rootpath //:sauce_connect)",
|
|
],
|
|
no_copy_to_bin = [
|
|
"//:sauce_connect",
|
|
],
|
|
)
|