-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
/
Copy pathBUILD.bazel
37 lines (35 loc) · 929 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package(
default_visibility = [
"//dotnet/src/webdriver:__subpackages__",
"//java/src/org/openqa/selenium/devtools:__subpackages__",
"//javascript/node/selenium-webdriver:__pkg__",
"//py:__pkg__",
"//rb/lib/selenium/devtools:__pkg__",
],
)
genrule(
name = "browser_protocol",
srcs = [
"browser_protocol.pdl",
],
outs = [
"browser_protocol.json",
],
cmd = "$(location //common/devtools:pdl_to_json) $(location :browser_protocol.pdl) --map_binary_to_string=true $@",
tools = [
"//common/devtools:pdl_to_json",
],
)
genrule(
name = "js_protocol",
srcs = [
"js_protocol.pdl",
],
outs = [
"js_protocol.json",
],
cmd = "$(location //common/devtools:pdl_to_json) $(location :js_protocol.pdl) --map_binary_to_string=true $@",
tools = [
"//common/devtools:pdl_to_json",
],
)