Skip to content

Commit

Permalink
Run buildifier over the tree
Browse files Browse the repository at this point in the history
Should be no logical changes :)

The command used was:

buildifier -r -lint fix -mode fix .
  • Loading branch information
shs96c committed Sep 27, 2021
1 parent 6449881 commit c3450b1
Show file tree
Hide file tree
Showing 75 changed files with 171 additions and 209 deletions.
16 changes: 7 additions & 9 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ bazel_skylib_workspace()

http_archive(
name = "rules_python",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.3.0/rules_python-0.3.0.tar.gz",
sha256 = "934c9ceb552e84577b0faf1e5a2f0450314985b4d8712b2b70717dc679fdc01b",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.3.0/rules_python-0.3.0.tar.gz",
)

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

load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "npm_install")

node_repositories(
package_json = [
"//:package.json",
"//javascript/grid-ui:package.json",
],
node_version = "16.4.1",
node_version = "16.4.1",
package_json = [
"//:package.json",
"//javascript/grid-ui:package.json",
],
)

load("@build_bazel_rules_nodejs//:index.bzl", "npm_install")

npm_install(
name = "npm",
package_json = "//:package.json",
Expand Down
2 changes: 0 additions & 2 deletions common/repositories.bzl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# This file has been generated using `bazel run scripts:pinned_browsers`

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

2 changes: 0 additions & 2 deletions java/src/com/thoughtworks/selenium/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ java_library(
"SeleniumLogLevels.java",
],
visibility = [
"//java/src/com/thoughtworks/selenium:__subpackages__",
"//java/test/com/thoughtworks/selenium:__subpackages__",
"//java/src/com/thoughtworks/selenium:__subpackages__",
"//java/src/org/openqa/selenium/server/htmlrunner:__pkg__",
"//java/test/com/thoughtworks/selenium:__subpackages__",
Expand Down
12 changes: 6 additions & 6 deletions java/src/com/thoughtworks/selenium/webdriven/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ java_export(
"WebDriverBackedSeleniumHandler.java",
"WebDriverCommandProcessor.java",
],
maven_coordinates = "org.seleniumhq.selenium:selenium-leg-rc:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
resources = [
"htmlutils.js",
"injectableSelenium.js",
Expand All @@ -29,17 +31,15 @@ java_export(
":fireEventAt",
":getAttribute",
":getText",
":linkLocator",
":isElementPresent",
":isSomethingSelected",
":isTextPresent",
":isVisible",
":linkLocator",
":setCursorPosition",
":type",
":sizzle",
":type",
],
maven_coordinates = "org.seleniumhq.selenium:selenium-leg-rc:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
visibility = [
"//visibility:public",
],
Expand All @@ -51,12 +51,12 @@ java_export(
"//java/src/org/openqa/selenium/chrome",
"//java/src/org/openqa/selenium/edge",
"//java/src/org/openqa/selenium/firefox",
"//java/src/org/openqa/selenium/grid",
"//java/src/org/openqa/selenium/ie",
"//java/src/org/openqa/selenium/opera",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/safari",
"//java/src/org/openqa/selenium/grid",
"//java/src/org/openqa/selenium/remote/server",
"//java/src/org/openqa/selenium/safari",
artifact("com.google.guava:guava"),
],
)
Expand Down
4 changes: 2 additions & 2 deletions java/src/org/openqa/selenium/events/zeromq/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ java_library(
visibility = [
"//java/src/org/openqa/selenium/grid:__subpackages__",
"//java/test/org/openqa/selenium/events:__subpackages__",
"//java/test/org/openqa/selenium/grid/router:__pkg__",
"//java/test/org/openqa/selenium/grid/distributor:__pkg__",
"//java/test/org/openqa/selenium/grid/router:__pkg__",
],
deps = [
"//java/src/org/openqa/selenium:core",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/events",
"//java/src/org/openqa/selenium/grid/config",
"//java/src/org/openqa/selenium/grid/security",
"//java/src/org/openqa/selenium/json",
artifact("com.google.guava:guava"),
artifact("net.jodah:failsafe"),
artifact("org.zeromq:jeromq"),
Expand Down
3 changes: 1 addition & 2 deletions java/src/org/openqa/selenium/grid/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ java_library(
],
deps = [
"//java/src/org/openqa/selenium:core",
"//java/src/org/openqa/selenium/remote/http",
"//java/src/org/openqa/selenium/cli",
"//java/src/org/openqa/selenium/grid/config",
"//java/src/org/openqa/selenium/grid/log",
"//java/src/org/openqa/selenium/grid/server",
"//java/src/org/openqa/selenium/netty/server",
"//java/src/org/openqa/selenium/remote/http",
artifact("com.beust:jcommander"),
artifact("com.google.guava:guava"),
],
Expand Down Expand Up @@ -145,7 +145,6 @@ java_binary(
"//:__pkg__",
"//deploys/docker:__pkg__",
"//java/test:__subpackages__",
"//java/test:__subpackages__",
"//javascript:__subpackages__",
"//py:__pkg__",
"//rb:__pkg__",
Expand Down
4 changes: 2 additions & 2 deletions java/src/org/openqa/selenium/grid/commands/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ java_library(
deps = [
"//java:auto-service",
"//java/src/org/openqa/selenium:core",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/cli",
"//java/src/org/openqa/selenium/events",
"//java/src/org/openqa/selenium/grid:base-command",
Expand All @@ -40,7 +38,9 @@ java_library(
"//java/src/org/openqa/selenium/grid/sessionqueue/config",
"//java/src/org/openqa/selenium/grid/sessionqueue/local",
"//java/src/org/openqa/selenium/grid/web",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/netty/server",
"//java/src/org/openqa/selenium/remote",
artifact("com.beust:jcommander"),
artifact("com.google.guava:guava"),
],
Expand Down
6 changes: 3 additions & 3 deletions java/src/org/openqa/selenium/grid/config/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ java_library(
name = "config",
srcs = glob(["*.java"]),
visibility = [
"//java/src/org/openqa/selenium/remote:__pkg__",
"//java/src/org/openqa/selenium/remote/tracing:__subpackages__",
"//java/src/org/openqa/selenium/cli:__pkg__",
"//java/src/org/openqa/selenium/events:__subpackages__",
"//java/src/org/openqa/selenium/grid:__subpackages__",
"//java/src/org/openqa/selenium/netty/server:__pkg__",
"//java/src/org/openqa/selenium/remote:__pkg__",
"//java/src/org/openqa/selenium/remote/tracing:__subpackages__",
"//java/src/org/openqa/selenium/server/htmlrunner:__pkg__",
"//java/test/com/thoughtworks/selenium/webdriven:__pkg__",
"//java/test/org/openqa/selenium:__pkg__",
"//java/test/org/openqa/selenium/environment:__pkg__",
"//java/test/org/openqa/selenium:__subpackages__",
"//java/test/org/openqa/selenium/environment:__pkg__",
],
deps = [
"//java:auto-service",
Expand Down
4 changes: 2 additions & 2 deletions java/src/org/openqa/selenium/grid/data/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ java_library(
],
deps = [
"//java/src/org/openqa/selenium:core",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/events",
"//java/src/org/openqa/selenium/grid/security",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ java_library(
"//java/test/org/openqa/selenium/grid:__subpackages__",
],
deps = [
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/concurrent",
"//java/src/org/openqa/selenium/events",
"//java/src/org/openqa/selenium/grid/config",
Expand All @@ -29,6 +27,8 @@ java_library(
"//java/src/org/openqa/selenium/grid/sessionqueue",
"//java/src/org/openqa/selenium/grid/sessionqueue/config",
"//java/src/org/openqa/selenium/grid/sessionqueue/remote",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
artifact("com.google.guava:guava"),
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ java_library(
],
deps = [
"//java/src/org/openqa/selenium:core",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/grid/data",
"//java/src/org/openqa/selenium/grid/distributor",
"//java/src/org/openqa/selenium/grid/node",
"//java/src/org/openqa/selenium/grid/security",
"//java/src/org/openqa/selenium/grid/sessionmap",
"//java/src/org/openqa/selenium/grid/web",
"//java/src/org/openqa/selenium/remote",
],
)
6 changes: 3 additions & 3 deletions java/src/org/openqa/selenium/grid/graphql/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ java_library(
],
deps = [
"//java/src/org/openqa/selenium:core",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/remote/http",
"//java/src/org/openqa/selenium/grid/data",
"//java/src/org/openqa/selenium/grid/distributor",
"//java/src/org/openqa/selenium/grid/sessionqueue",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/remote/http",
artifact("com.google.guava:guava"),
artifact("com.graphql-java:graphql-java"),
],
Expand Down
2 changes: 1 addition & 1 deletion java/src/org/openqa/selenium/grid/log/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ java_library(
],
deps = [
"//java:auto-service",
"//java/src/org/openqa/selenium/grid/config",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/grid/config",
artifact("com.beust:jcommander"),
],
)
4 changes: 2 additions & 2 deletions java/src/org/openqa/selenium/grid/node/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ java_library(
deps = [
"//java/src/org/openqa/selenium:core",
"//java/src/org/openqa/selenium/devtools",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/grid/component",
"//java/src/org/openqa/selenium/grid/data",
"//java/src/org/openqa/selenium/grid/jmx",
"//java/src/org/openqa/selenium/grid/node/locators",
"//java/src/org/openqa/selenium/grid/security",
"//java/src/org/openqa/selenium/grid/web",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/status",
artifact("com.google.guava:guava"),
],
Expand Down
4 changes: 2 additions & 2 deletions java/src/org/openqa/selenium/grid/node/config/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ java_library(
"//java:auto-service",
"//java/src/org/openqa/selenium/chromium",
"//java/src/org/openqa/selenium/devtools",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/grid/config",
"//java/src/org/openqa/selenium/grid/data",
"//java/src/org/openqa/selenium/grid/node",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
artifact("com.beust:jcommander"),
artifact("com.google.guava:guava"),
],
Expand Down
6 changes: 3 additions & 3 deletions java/src/org/openqa/selenium/grid/node/docker/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ java_library(
],
deps = [
"//java:auto-service",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/support",
"//java/src/org/openqa/selenium/docker",
"//java/src/org/openqa/selenium/grid/config",
"//java/src/org/openqa/selenium/grid/data",
"//java/src/org/openqa/selenium/grid/node",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/support",
artifact("com.beust:jcommander"),
artifact("com.google.guava:guava"),
],
Expand Down
2 changes: 1 addition & 1 deletion java/src/org/openqa/selenium/grid/node/httpd/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ java_library(
],
deps = [
"//java:auto-service",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/cli",
"//java/src/org/openqa/selenium/events",
"//java/src/org/openqa/selenium/grid:base-command",
Expand All @@ -22,6 +21,7 @@ java_library(
"//java/src/org/openqa/selenium/grid/node/config",
"//java/src/org/openqa/selenium/grid/server",
"//java/src/org/openqa/selenium/netty/server",
"//java/src/org/openqa/selenium/remote",
artifact("com.google.guava:guava"),
artifact("net.jodah:failsafe"),
],
Expand Down
2 changes: 1 addition & 1 deletion java/src/org/openqa/selenium/grid/node/k8s/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ java_library(
],
deps = [
"//java:auto-service",
"//java/src/org/openqa/selenium/grid",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/grid",
artifact("com.beust:jcommander"),
artifact("com.google.guava:guava"),
],
Expand Down
6 changes: 3 additions & 3 deletions java/src/org/openqa/selenium/grid/node/local/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ java_library(
"//java/test/org/openqa/selenium/grid:__subpackages__",
],
deps = [
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/concurrent",
"//java/src/org/openqa/selenium/events",
"//java/src/org/openqa/selenium/grid/component",
Expand All @@ -23,10 +21,12 @@ java_library(
"//java/src/org/openqa/selenium/grid/log",
"//java/src/org/openqa/selenium/grid/node",
"//java/src/org/openqa/selenium/grid/node/config",
"//java/src/org/openqa/selenium/grid/node/docker:docker",
"//java/src/org/openqa/selenium/grid/node/docker",
"//java/src/org/openqa/selenium/grid/node/relay",
"//java/src/org/openqa/selenium/grid/security",
"//java/src/org/openqa/selenium/grid/server",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
artifact("com.google.guava:guava"),
],
)
4 changes: 2 additions & 2 deletions java/src/org/openqa/selenium/grid/node/relay/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ java_library(
],
deps = [
"//java:auto-service",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/grid/data",
"//java/src/org/openqa/selenium/grid/node",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
artifact("com.beust:jcommander"),
artifact("com.google.guava:guava"),
],
Expand Down
4 changes: 2 additions & 2 deletions java/src/org/openqa/selenium/grid/node/remote/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ java_library(
"//java/test/org/openqa/selenium/grid/router:__pkg__",
],
deps = [
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/grid/component",
"//java/src/org/openqa/selenium/grid/data",
"//java/src/org/openqa/selenium/grid/node",
"//java/src/org/openqa/selenium/grid/security",
"//java/src/org/openqa/selenium/grid/web",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
artifact("com.google.guava:guava"),
],
)
4 changes: 2 additions & 2 deletions java/src/org/openqa/selenium/grid/router/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ java_library(
],
deps = [
"//java/src/org/openqa/selenium:core",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/concurrent",
"//java/src/org/openqa/selenium/grid/data",
"//java/src/org/openqa/selenium/grid/distributor",
"//java/src/org/openqa/selenium/grid/sessionmap",
"//java/src/org/openqa/selenium/grid/sessionqueue",
"//java/src/org/openqa/selenium/grid/web",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/status",
artifact("com.google.guava:guava"),
],
Expand Down
Loading

0 comments on commit c3450b1

Please sign in to comment.