Skip to content

Commit af42607

Browse files
committed
Run buildifier over the tree
The command used was: buildifier -r -lint fix -mode fix .
1 parent 7b1ebf2 commit af42607

21 files changed

Lines changed: 48 additions & 50 deletions

File tree

WORKSPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ rules_proto_dependencies()
8080
rules_proto_toolchains()
8181

8282
RULES_JVM_EXTERNAL_TAG = "4.2"
83+
8384
RULES_JVM_EXTERNAL_SHA = "cd1a77b7b02e8e008439ca76fd34f5b07aecb8c752961f9640dea15e9e5ba1ca"
8485

8586
http_archive(
@@ -281,6 +282,7 @@ load(
281282
)
282283

283284
rules_ruby_dependencies()
285+
284286
rules_ruby_select_sdk(version = "host")
285287

286288
load("@bazelruby_rules_ruby//ruby:defs.bzl", "ruby_bundle")

common/extensions/BUILD.bazel

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@ filegroup(
55
"**/*",
66
]),
77
visibility = [
8-
"//javascript/node/selenium-webdriver:__pkg__",
98
"//java/test/org/openqa/selenium/chrome:__pkg__",
109
"//java/test/org/openqa/selenium/edge:__pkg__",
11-
"//java/test/org/openqa/selenium/firefox:__pkg__",
1210
"//java/test/org/openqa/selenium/environment:__pkg__",
11+
"//java/test/org/openqa/selenium/firefox:__pkg__",
12+
"//javascript/node/selenium-webdriver:__pkg__",
1313
],
1414
)
15+
1516
exports_files(
1617
[
17-
"webextensions-selenium-example.xpi"
18+
"webextensions-selenium-example.xpi",
1819
],
1920
visibility = [
2021
"//java/test/org/openqa/selenium/firefox:__pkg__",
2122
],
22-
)
23+
)

common/repositories.bzl

Lines changed: 9 additions & 11 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")
@@ -15,28 +14,28 @@ def pin_browsers():
1514
sha256 = "a63d28ae61926c0d7447f57d4e6fb514401d560abb50ce787bb6bd0e9b7b820f",
1615
build_file_content = "exports_files([\"firefox\"])",
1716
)
18-
17+
1918
dmg_archive(
2019
name = "mac_firefox",
2120
url = "https://ftp.mozilla.org/pub/firefox/releases/97.0.1/mac/en-US/Firefox%2097.0.1.dmg",
2221
sha256 = "172f90d0a2165d7abee8e5d5fdf578dd3f94d88b552c6d6f7c285480fa8f7afa",
2322
build_file_content = "exports_files([\"Firefox.app\"])",
2423
)
25-
24+
2625
http_archive(
2726
name = "linux_geckodriver",
2827
url = "https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux64.tar.gz",
2928
sha256 = "12c37f41d11ed982b7be43d02411ff2c75fb7a484e46966d000b47d1665baa88",
3029
build_file_content = "exports_files([\"geckodriver\"])",
3130
)
32-
31+
3332
http_archive(
3433
name = "mac_geckodriver",
3534
url = "https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-macos.tar.gz",
3635
sha256 = "560ba192666c1fe8796404153cfdf2d12551515601c4b3937aabcba6ee300f8c",
3736
build_file_content = "exports_files([\"geckodriver\"])",
3837
)
39-
38+
4039
pkg_archive(
4140
name = "mac_edge",
4241
url = "https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/MicrosoftEdge-98.0.1108.56.pkg?platform=Mac&Consent=0&channel=Stable",
@@ -46,40 +45,39 @@ def pin_browsers():
4645
},
4746
build_file_content = "exports_files([\"Edge.app\"])",
4847
)
49-
48+
5049
http_archive(
5150
name = "mac_edgedriver",
5251
url = "https://msedgedriver.azureedge.net/98.0.1108.56/edgedriver_mac64.zip",
5352
sha256 = "4a4a8f1808fecc50da8fef6576c9b03cc89e099c89ecaea5106826e06b65a80d",
5453
build_file_content = "exports_files([\"msedgedriver\"])",
5554
)
56-
55+
5756
http_archive(
5857
name = "linux_chrome",
5958
url = "https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/950341/chrome-linux.zip",
6059
sha256 = "7a74df8b80856f5212c12ed01833a56c1b6257b6e9999be2aa096fd15a37e5e8",
6160
build_file_content = "exports_files([\"chrome-linux\"])",
6261
)
63-
62+
6463
http_archive(
6564
name = "mac_chrome",
6665
url = "https://storage.googleapis.com/chromium-browser-snapshots/Mac/950341/chrome-mac.zip",
6766
sha256 = "61de76d4398a229e95572bb7e922dd15b876c1388593ad29521707af2a76b682",
6867
strip_prefix = "chrome-mac",
6968
build_file_content = "exports_files([\"Chromium.app\"])",
7069
)
71-
70+
7271
http_archive(
7372
name = "linux_chromedriver",
7473
url = "https://chromedriver.storage.googleapis.com/98.0.4758.102/chromedriver_linux64.zip",
7574
sha256 = "3592d3f11f9758e86d73716fba6a751f7d493e03611da5d5eecac8ff14aa9814",
7675
build_file_content = "exports_files([\"chromedriver\"])",
7776
)
78-
77+
7978
http_archive(
8079
name = "mac_chromedriver",
8180
url = "https://chromedriver.storage.googleapis.com/98.0.4758.102/chromedriver_mac64.zip",
8281
sha256 = "de3684725907a80c71a33b6d4746bc50791f043b55292f658514627ab8a2dad4",
8382
build_file_content = "exports_files([\"chromedriver\"])",
8483
)
85-

dotnet/private/generate_devtools.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ generate_devtools = rule(
5555
allow_single_file = True,
5656
),
5757
"templates": attr.label_list(
58-
allow_files = True
58+
allow_files = True,
5959
),
6060
"out": attr.string(
6161
doc = "File name, without extension, of the built assembly.",

dotnet/selenium-dotnet-version.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SUPPORTED_DEVTOOLS_VERSIONS = [
99
"v85",
1010
"v97",
1111
"v98",
12-
"v99"
12+
"v99",
1313
]
1414

1515
ASSEMBLY_COMPANY = "Selenium Committers"

dotnet/src/webdriver/cdp/BUILD.bazel

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ load("//dotnet:selenium-dotnet-version.bzl", "SUPPORTED_DEVTOOLS_VERSIONS")
99
js_protocol = "//common/devtools/chromium/{}:js_protocol".format(devtools_version),
1010
protocol_version = "{}".format(devtools_version),
1111
templates = [
12-
"//third_party/dotnet/devtools/src/generator/Templates:command.hbs",
13-
"//third_party/dotnet/devtools/src/generator/Templates:DevToolsSessionDomains.hbs",
14-
"//third_party/dotnet/devtools/src/generator/Templates:domain.hbs",
15-
"//third_party/dotnet/devtools/src/generator/Templates:event.hbs",
16-
"//third_party/dotnet/devtools/src/generator/Templates:project.hbs",
17-
"//third_party/dotnet/devtools/src/generator/Templates:type-enum.hbs",
18-
"//third_party/dotnet/devtools/src/generator/Templates:type-hash.hbs",
19-
"//third_party/dotnet/devtools/src/generator/Templates:type-object.hbs",
12+
"//third_party/dotnet/devtools/src/generator/Templates:command.hbs",
13+
"//third_party/dotnet/devtools/src/generator/Templates:DevToolsSessionDomains.hbs",
14+
"//third_party/dotnet/devtools/src/generator/Templates:domain.hbs",
15+
"//third_party/dotnet/devtools/src/generator/Templates:event.hbs",
16+
"//third_party/dotnet/devtools/src/generator/Templates:project.hbs",
17+
"//third_party/dotnet/devtools/src/generator/Templates:type-enum.hbs",
18+
"//third_party/dotnet/devtools/src/generator/Templates:type-hash.hbs",
19+
"//third_party/dotnet/devtools/src/generator/Templates:type-object.hbs",
2020
],
2121
visibility = ["//visibility:public"],
2222
) for devtools_version in SUPPORTED_DEVTOOLS_VERSIONS]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ java_library(
55
srcs = glob(["*.java"]),
66
visibility = [
77
"//java/src/org/openqa/selenium/grid:__subpackages__",
8-
"//java/src/org/openqa/selenium/remote:__subpackages__"
8+
"//java/src/org/openqa/selenium/remote:__subpackages__",
99
],
1010
deps = [
1111
"//java/src/org/openqa/selenium:core",

java/src/org/openqa/selenium/devtools/versions.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CDP_VERSIONS = [
22
"v85", # Required by Firefox
33
"v97",
44
"v98",
5-
"v99"
5+
"v99",
66
]
77

88
CDP_DEPS = ["//java/src/org/openqa/selenium/devtools/%s" % v for v in CDP_VERSIONS]

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
load("@rules_jvm_external//:defs.bzl", "artifact")
2-
load("//common:defs.bzl", "copy_file")
32
load("//java:defs.bzl", "java_export")
43
load("//java:version.bzl", "SE_VERSION")
54

@@ -17,4 +16,3 @@ java_export(
1716
artifact("com.google.guava:guava"),
1817
],
1918
)
20-

java/src/org/openqa/selenium/remote/http/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ java_export(
1717
"//java/src/org/openqa/selenium:core",
1818
"//java/src/org/openqa/selenium/json",
1919
artifact("com.google.guava:guava"),
20-
artifact("dev.failsafe:failsafe")
20+
artifact("dev.failsafe:failsafe"),
2121
],
2222
)

0 commit comments

Comments
 (0)