"Fossies" - the Fresh Open Source Software Archive 
Member "selenium-selenium-4.8.1/rb/lib/selenium/devtools/BUILD.bazel" (17 Feb 2023, 1138 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the last
Fossies "Diffs" side-by-side code changes report for "BUILD.bazel":
4.8.0_vs_4.8.1.
1 load("@rules_ruby//ruby:defs.bzl", "rb_library")
2
3 package(default_visibility = ["//rb:__subpackages__"])
4
5 CDP_VERSIONS = [
6 "v85",
7 "v108",
8 "v109",
9 "v110",
10 ]
11
12 rb_library(
13 name = "devtools",
14 data = [":cdp-" + n for n in CDP_VERSIONS],
15 deps = [":version"],
16 )
17
18 rb_library(
19 name = "version",
20 srcs = ["version.rb"],
21 )
22
23 rb_library(
24 name = "cdp-generate",
25 srcs = ["support/cdp_client_generator.rb"],
26 )
27
28 filegroup(
29 name = "cdp-generate-file",
30 srcs = ["support/cdp_client_generator.rb"],
31 )
32
33 [
34 genrule(
35 name = "cdp-" + n,
36 srcs = [
37 "//common/devtools/chromium/" + n + ":browser_protocol",
38 "//common/devtools/chromium/" + n + ":js_protocol",
39 ":cdp-generate-file",
40 ],
41 outs = [
42 n,
43 n + ".rb",
44 ],
45 cmd = "$(location @rules_ruby_dist//:ruby) $(location :cdp-generate-file) $(location //common/devtools/chromium/" + n + ":browser_protocol) $(location //common/devtools/chromium/" + n + ":js_protocol) $(OUTS) " + n,
46 tools = ["@rules_ruby_dist//:ruby"],
47 )
48 for n in CDP_VERSIONS
49 ]