Skip to content

Commit

Permalink
Remove unused targets from the JS tree (#13129)
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c authored Nov 10, 2023
1 parent b83394c commit f556983
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 482 deletions.
38 changes: 0 additions & 38 deletions javascript/node/selenium-webdriver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -112,44 +112,6 @@ genrule(
cmd = "cp $(locations //:license) $(@D)",
)

[copy_file(
name = "browser_protocol_" + n,
src = "//common/devtools/chromium/" + n + ":browser_protocol.json",
out = "devtools/generator/" + n + "/browser_protocol.json",
) for n in BROWSER_VERSIONS]

[copy_file(
name = "js_protocol_" + n,
src = "//common/devtools/chromium/" + n + ":js_protocol.json",
out = "devtools/generator/" + n + "/js_protocol.json",
) for n in BROWSER_VERSIONS]

[nodejs_binary(
name = "cdp-srcs-generator-" + n,
data = [
":browser_protocol_" + n,
":js_protocol_" + n,
],
entry_point = "devtools/generator/protocol-dts-generator.js",
) for n in BROWSER_VERSIONS]

[genrule(
name = "create-cdp-srcs-" + n,
srcs = [
":browser_protocol_" + n,
":js_protocol_" + n,
],
outs = [
"devtools/generator/" + n + "/protocol.d.js",
"devtools/generator/" + n + "/protocol-mapping.d.js",
"devtools/generator/" + n + "/protocol-proxy-api.d.js",
],
cmd = "$(location :cdp-srcs-generator-" + n + ") $(location :browser_protocol_" + n + ") $(location :js_protocol_" + n + ") $(OUTS)",
tools = [
":cdp-srcs-generator-" + n,
],
) for n in BROWSER_VERSIONS]

copy_file(
name = "manager-linux",
src = "//common/manager:selenium-manager-linux",
Expand Down
Loading

0 comments on commit f556983

Please sign in to comment.