Skip to content

Commit c14a537

Browse files
[Build] Run buildifier over the project & clean up
1 parent 5347266 commit c14a537

5 files changed

Lines changed: 21 additions & 18 deletions

File tree

common/devtools/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports_files(
55
],
66
visibility = [
77
"//java/client/src/org/openqa/selenium/devtools:__pkg__",
8+
"//javascript/node/selenium-webdriver:__pkg__",
89
"//py:__pkg__",
9-
"//javascript/node/selenium-webdriver:__pkg__"
1010
],
1111
)

java/client/src/org/openqa/selenium/remote/tracing/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ java_library(
2828
"//java/client/src/org/openqa/selenium/remote/http",
2929
artifact("io.opentelemetry:opentelemetry-api"),
3030
artifact("io.opentelemetry:opentelemetry-context-prop"),
31-
artifact("io.netty:netty-codec-http")
31+
artifact("io.netty:netty-codec-http"),
3232
],
3333
)

java/server/src/org/openqa/selenium/redis/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ java_library(
88
"//java/server/test/org/openqa/selenium:__subpackages__",
99
],
1010
deps = [
11-
artifact("io.lettuce:lettuce-core"),
12-
],
11+
artifact("io.lettuce:lettuce-core"),
12+
],
1313
)

java/server/test/org/openqa/selenium/netty/server/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ java_test_suite(
2121
java_test_suite(
2222
name = "medium-tests",
2323
size = "medium",
24-
srcs = glob(["*.java"], exclude = SMALL_TEST_SRCS),
24+
srcs = glob(
25+
["*.java"],
26+
exclude = SMALL_TEST_SRCS,
27+
),
2528
deps = [
2629
"//java/client/src/org/openqa/selenium:core",
2730
"//java/client/src/org/openqa/selenium/remote/http",

javascript/node/selenium-webdriver/BUILD.bazel

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ SRC_FILES = [
1515
"net/*.js",
1616
"remote/*.js",
1717
"testing/*.js",
18-
"devtools/*.js"
18+
"devtools/*.js",
1919
])
2020

2121
pkg_npm(
@@ -94,11 +94,11 @@ genrule(
9494

9595
nodejs_binary(
9696
name = "cdp-srcs-generator",
97-
entry_point = "devtools/generator/protocol-dts-generator.js",
9897
data = [
99-
":browser_protocol",
100-
":js_protocol"
98+
":browser_protocol",
99+
":js_protocol",
101100
],
101+
entry_point = "devtools/generator/protocol-dts-generator.js",
102102
)
103103

104104
copy_file(
@@ -114,18 +114,18 @@ copy_file(
114114
)
115115

116116
genrule(
117-
name="create-cdp-srcs",
117+
name = "create-cdp-srcs",
118118
srcs = [
119-
":browser_protocol",
120-
":js_protocol",
119+
":browser_protocol",
120+
":js_protocol",
121121
],
122-
outs=[
123-
"devtools/generator/protocol.d.js",
124-
"devtools/generator/protocol-mapping.d.js",
125-
"devtools/generator/protocol-proxy-api.d.js",
122+
outs = [
123+
"devtools/generator/protocol.d.js",
124+
"devtools/generator/protocol-mapping.d.js",
125+
"devtools/generator/protocol-proxy-api.d.js",
126126
],
127127
cmd = "$(location :cdp-srcs-generator) $(location :browser_protocol) $(location :js_protocol) $(OUTS)",
128-
tools=[
129-
":cdp-srcs-generator"
128+
tools = [
129+
":cdp-srcs-generator",
130130
],
131131
)

0 commit comments

Comments
 (0)