Skip to content

Commit c3450b1

Browse files
committed
Run buildifier over the tree
Should be no logical changes :) The command used was: buildifier -r -lint fix -mode fix .
1 parent 6449881 commit c3450b1

File tree

75 files changed

+171
-209
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+171
-209
lines changed

WORKSPACE

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ bazel_skylib_workspace()
5050

5151
http_archive(
5252
name = "rules_python",
53-
url = "https://github.com/bazelbuild/rules_python/releases/download/0.3.0/rules_python-0.3.0.tar.gz",
5453
sha256 = "934c9ceb552e84577b0faf1e5a2f0450314985b4d8712b2b70717dc679fdc01b",
54+
url = "https://github.com/bazelbuild/rules_python/releases/download/0.3.0/rules_python-0.3.0.tar.gz",
5555
)
5656

5757
# This one is only needed if you're using the packaging rules.
@@ -127,18 +127,16 @@ http_archive(
127127
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.1.0/rules_nodejs-4.1.0.tar.gz"],
128128
)
129129

130-
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")
130+
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "npm_install")
131131

132132
node_repositories(
133-
package_json = [
134-
"//:package.json",
135-
"//javascript/grid-ui:package.json",
136-
],
137-
node_version = "16.4.1",
133+
node_version = "16.4.1",
134+
package_json = [
135+
"//:package.json",
136+
"//javascript/grid-ui:package.json",
137+
],
138138
)
139139

140-
load("@build_bazel_rules_nodejs//:index.bzl", "npm_install")
141-
142140
npm_install(
143141
name = "npm",
144142
package_json = "//:package.json",

common/repositories.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# This file has been generated using `bazel run scripts:pinned_browsers`
32

43
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
@@ -82,4 +81,3 @@ def pin_browsers():
8281
sha256 = "ff4469d533dd09998fc99767468995b81b2ccd180811d961496e3b4f9d058284",
8382
build_file_content = "exports_files([\"chromedriver\"])",
8483
)
85-

java/src/com/thoughtworks/selenium/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ java_library(
2929
"SeleniumLogLevels.java",
3030
],
3131
visibility = [
32-
"//java/src/com/thoughtworks/selenium:__subpackages__",
33-
"//java/test/com/thoughtworks/selenium:__subpackages__",
3432
"//java/src/com/thoughtworks/selenium:__subpackages__",
3533
"//java/src/org/openqa/selenium/server/htmlrunner:__pkg__",
3634
"//java/test/com/thoughtworks/selenium:__subpackages__",

java/src/com/thoughtworks/selenium/webdriven/BUILD.bazel

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ java_export(
2020
"WebDriverBackedSeleniumHandler.java",
2121
"WebDriverCommandProcessor.java",
2222
],
23+
maven_coordinates = "org.seleniumhq.selenium:selenium-leg-rc:%s" % SE_VERSION,
24+
pom_template = "//java/src/org/openqa/selenium:template-pom",
2325
resources = [
2426
"htmlutils.js",
2527
"injectableSelenium.js",
@@ -29,17 +31,15 @@ java_export(
2931
":fireEventAt",
3032
":getAttribute",
3133
":getText",
32-
":linkLocator",
3334
":isElementPresent",
3435
":isSomethingSelected",
3536
":isTextPresent",
3637
":isVisible",
38+
":linkLocator",
3739
":setCursorPosition",
38-
":type",
3940
":sizzle",
41+
":type",
4042
],
41-
maven_coordinates = "org.seleniumhq.selenium:selenium-leg-rc:%s" % SE_VERSION,
42-
pom_template = "//java/src/org/openqa/selenium:template-pom",
4343
visibility = [
4444
"//visibility:public",
4545
],
@@ -51,12 +51,12 @@ java_export(
5151
"//java/src/org/openqa/selenium/chrome",
5252
"//java/src/org/openqa/selenium/edge",
5353
"//java/src/org/openqa/selenium/firefox",
54+
"//java/src/org/openqa/selenium/grid",
5455
"//java/src/org/openqa/selenium/ie",
5556
"//java/src/org/openqa/selenium/opera",
5657
"//java/src/org/openqa/selenium/remote",
57-
"//java/src/org/openqa/selenium/safari",
58-
"//java/src/org/openqa/selenium/grid",
5958
"//java/src/org/openqa/selenium/remote/server",
59+
"//java/src/org/openqa/selenium/safari",
6060
artifact("com.google.guava:guava"),
6161
],
6262
)

java/src/org/openqa/selenium/events/zeromq/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ java_library(
77
visibility = [
88
"//java/src/org/openqa/selenium/grid:__subpackages__",
99
"//java/test/org/openqa/selenium/events:__subpackages__",
10-
"//java/test/org/openqa/selenium/grid/router:__pkg__",
1110
"//java/test/org/openqa/selenium/grid/distributor:__pkg__",
11+
"//java/test/org/openqa/selenium/grid/router:__pkg__",
1212
],
1313
deps = [
1414
"//java/src/org/openqa/selenium:core",
15-
"//java/src/org/openqa/selenium/json",
1615
"//java/src/org/openqa/selenium/events",
1716
"//java/src/org/openqa/selenium/grid/config",
1817
"//java/src/org/openqa/selenium/grid/security",
18+
"//java/src/org/openqa/selenium/json",
1919
artifact("com.google.guava:guava"),
2020
artifact("net.jodah:failsafe"),
2121
artifact("org.zeromq:jeromq"),

java/src/org/openqa/selenium/grid/BUILD.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ java_library(
7171
],
7272
deps = [
7373
"//java/src/org/openqa/selenium:core",
74-
"//java/src/org/openqa/selenium/remote/http",
7574
"//java/src/org/openqa/selenium/cli",
7675
"//java/src/org/openqa/selenium/grid/config",
7776
"//java/src/org/openqa/selenium/grid/log",
7877
"//java/src/org/openqa/selenium/grid/server",
7978
"//java/src/org/openqa/selenium/netty/server",
79+
"//java/src/org/openqa/selenium/remote/http",
8080
artifact("com.beust:jcommander"),
8181
artifact("com.google.guava:guava"),
8282
],
@@ -145,7 +145,6 @@ java_binary(
145145
"//:__pkg__",
146146
"//deploys/docker:__pkg__",
147147
"//java/test:__subpackages__",
148-
"//java/test:__subpackages__",
149148
"//javascript:__subpackages__",
150149
"//py:__pkg__",
151150
"//rb:__pkg__",

java/src/org/openqa/selenium/grid/commands/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ java_library(
1616
deps = [
1717
"//java:auto-service",
1818
"//java/src/org/openqa/selenium:core",
19-
"//java/src/org/openqa/selenium/json",
20-
"//java/src/org/openqa/selenium/remote",
2119
"//java/src/org/openqa/selenium/cli",
2220
"//java/src/org/openqa/selenium/events",
2321
"//java/src/org/openqa/selenium/grid:base-command",
@@ -40,7 +38,9 @@ java_library(
4038
"//java/src/org/openqa/selenium/grid/sessionqueue/config",
4139
"//java/src/org/openqa/selenium/grid/sessionqueue/local",
4240
"//java/src/org/openqa/selenium/grid/web",
41+
"//java/src/org/openqa/selenium/json",
4342
"//java/src/org/openqa/selenium/netty/server",
43+
"//java/src/org/openqa/selenium/remote",
4444
artifact("com.beust:jcommander"),
4545
artifact("com.google.guava:guava"),
4646
],

java/src/org/openqa/selenium/grid/config/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ java_library(
55
name = "config",
66
srcs = glob(["*.java"]),
77
visibility = [
8-
"//java/src/org/openqa/selenium/remote:__pkg__",
9-
"//java/src/org/openqa/selenium/remote/tracing:__subpackages__",
108
"//java/src/org/openqa/selenium/cli:__pkg__",
119
"//java/src/org/openqa/selenium/events:__subpackages__",
1210
"//java/src/org/openqa/selenium/grid:__subpackages__",
1311
"//java/src/org/openqa/selenium/netty/server:__pkg__",
12+
"//java/src/org/openqa/selenium/remote:__pkg__",
13+
"//java/src/org/openqa/selenium/remote/tracing:__subpackages__",
1414
"//java/src/org/openqa/selenium/server/htmlrunner:__pkg__",
1515
"//java/test/com/thoughtworks/selenium/webdriven:__pkg__",
1616
"//java/test/org/openqa/selenium:__pkg__",
17-
"//java/test/org/openqa/selenium/environment:__pkg__",
1817
"//java/test/org/openqa/selenium:__subpackages__",
18+
"//java/test/org/openqa/selenium/environment:__pkg__",
1919
],
2020
deps = [
2121
"//java:auto-service",

java/src/org/openqa/selenium/grid/data/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ java_library(
1111
],
1212
deps = [
1313
"//java/src/org/openqa/selenium:core",
14-
"//java/src/org/openqa/selenium/json",
15-
"//java/src/org/openqa/selenium/remote",
1614
"//java/src/org/openqa/selenium/events",
1715
"//java/src/org/openqa/selenium/grid/security",
16+
"//java/src/org/openqa/selenium/json",
17+
"//java/src/org/openqa/selenium/remote",
1818
],
1919
)

java/src/org/openqa/selenium/grid/distributor/local/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ java_library(
1010
"//java/test/org/openqa/selenium/grid:__subpackages__",
1111
],
1212
deps = [
13-
"//java/src/org/openqa/selenium/json",
14-
"//java/src/org/openqa/selenium/remote",
1513
"//java/src/org/openqa/selenium/concurrent",
1614
"//java/src/org/openqa/selenium/events",
1715
"//java/src/org/openqa/selenium/grid/config",
@@ -29,6 +27,8 @@ java_library(
2927
"//java/src/org/openqa/selenium/grid/sessionqueue",
3028
"//java/src/org/openqa/selenium/grid/sessionqueue/config",
3129
"//java/src/org/openqa/selenium/grid/sessionqueue/remote",
30+
"//java/src/org/openqa/selenium/json",
31+
"//java/src/org/openqa/selenium/remote",
3232
artifact("com.google.guava:guava"),
3333
],
3434
)

0 commit comments

Comments
 (0)