Skip to content

Commit

Permalink
Fix the build after recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Jun 3, 2019
1 parent a7887c9 commit fc427c0
Show file tree
Hide file tree
Showing 20 changed files with 93 additions and 74 deletions.
1 change: 1 addition & 0 deletions java/client/src/org/openqa/selenium/chrome/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ java_library(
visibility = ["//visibility:public"],
deps = [
"//java/client/src/org/openqa/selenium:core",
"//java/client/src/org/openqa/selenium/chromium",
"//java/client/src/org/openqa/selenium/devtools",
"//java/client/src/org/openqa/selenium/json",
"//java/client/src/org/openqa/selenium/remote",
Expand Down
14 changes: 14 additions & 0 deletions java/client/src/org/openqa/selenium/chromium/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
java_library(
name = "chromium",
srcs = glob(["*.java"]),
visibility = [
"//visibility:public",
],
deps = [
"//java/client/src/org/openqa/selenium/devtools",
"//java/client/src/org/openqa/selenium/json",
"//java/client/src/org/openqa/selenium/remote",
"//third_party/java/guava",
"//third_party/java/service",
],
)
2 changes: 2 additions & 0 deletions java/client/src/org/openqa/selenium/devtools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ java_library(
srcs = glob(["**/*.java"]),
visibility = [
"//java/client/src/org/openqa/selenium/chrome:__pkg__",
"//java/client/src/org/openqa/selenium/chromium:__pkg__",
"//java/client/src/org/openqa/selenium/edge:__pkg__",
"//java/client/src/org/openqa/selenium/remote:__pkg__",
],
deps = [
Expand Down
1 change: 1 addition & 0 deletions java/client/src/org/openqa/selenium/edge/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ java_library(
visibility = ["//visibility:public"],
deps = [
"//java/client/src/org/openqa/selenium:core",
"//java/client/src/org/openqa/selenium/chromium",
"//java/client/src/org/openqa/selenium/remote",
"//third_party/java/guava",
"//third_party/java/service",
Expand Down
1 change: 1 addition & 0 deletions java/client/src/org/openqa/selenium/remote/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ java_library(
"HandshakeResponse.java",
"HttpCommandExecutor.java",
"InitialHandshakeResponse.java",
"JsonToWebElementConverter.java",
"JsonWireProtocolResponse.java",
"LocalFileDetector.java",
"NewSessionPayload.java",
Expand Down
8 changes: 4 additions & 4 deletions java/server/src/org/openqa/selenium/cli/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
java_library(
name = "cli",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
],
deps = [
"//third_party/java/guava",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
]
)
)
8 changes: 4 additions & 4 deletions java/server/src/org/openqa/selenium/docker/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
java_library(
name = "docker",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid/docker:__pkg__",
],
deps = [
"//java/client/src/org/openqa/selenium/json",
"//java/client/src/org/openqa/selenium/remote",
"//third_party/java/guava",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid/docker:__pkg__",
]
)
)
10 changes: 5 additions & 5 deletions java/server/src/org/openqa/selenium/grid/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
java_binary(
name = "grid",
main_class = "org.openqa.selenium.grid.Main",
srcs = glob(["*.java"]),
deps = [
"//java/server/src/org/openqa/selenium/cli",
],
main_class = "org.openqa.selenium.grid.Main",
runtime_deps = [
"//java/client/src/org/openqa/selenium/chrome",
"//java/client/src/org/openqa/selenium/edge",
Expand All @@ -18,5 +15,8 @@ java_binary(
"//java/server/src/org/openqa/selenium/grid/node/httpd",
"//java/server/src/org/openqa/selenium/grid/router/httpd",
"//java/server/src/org/openqa/selenium/grid/sessionmap/httpd",
]
],
deps = [
"//java/server/src/org/openqa/selenium/cli",
],
)
14 changes: 7 additions & 7 deletions java/server/src/org/openqa/selenium/grid/commands/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
java_library(
name = "commands",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
],
runtime_deps = [
"//java/server/src/org/openqa/selenium/events/local",
],
deps = [
"//java/client/src/org/openqa/selenium:core",
"//java/client/src/org/openqa/selenium/net",
Expand All @@ -25,10 +31,4 @@ java_library(
"//third_party/java/guava",
"//third_party/java/service",
],
runtime_deps = [
"//java/server/src/org/openqa/selenium/events/local",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
],
)
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
java_library(
name = "config",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
],
deps = [
"//java/client/src/org/openqa/selenium/net",
"//java/client/src/org/openqa/selenium/remote/http",
Expand All @@ -10,7 +13,4 @@ java_library(
"//java/server/src/org/openqa/selenium/grid/distributor/remote",
"//third_party/java/beust:jcommander",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
]
)
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
java_library(
name = "httpd",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
],
deps = [
"//java/client/src/org/openqa/selenium/remote/tracing",
"//java/server/src/org/openqa/selenium/cli",
Expand All @@ -17,7 +20,4 @@ java_library(
"//third_party/java/guava",
"//third_party/java/service",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
]
)
)
10 changes: 5 additions & 5 deletions java/server/src/org/openqa/selenium/grid/docker/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
java_library(
name = "docker",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid/commands:__pkg__",
"//java/server/src/org/openqa/selenium/grid/node/httpd:__pkg__",
],
deps = [
"//java/client/src/org/openqa/selenium/json",
"//java/client/src/org/openqa/selenium/net",
Expand All @@ -14,8 +18,4 @@ java_library(
"//third_party/java/beust:jcommander",
"//third_party/java/guava",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid/commands:__pkg__",
"//java/server/src/org/openqa/selenium/grid/node/httpd:__pkg__",
]
)
)
8 changes: 4 additions & 4 deletions java/server/src/org/openqa/selenium/grid/log/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
java_library(
name = "log",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
],
deps = [
"//java/client/src/org/openqa/selenium/json",
"//java/client/src/org/openqa/selenium/remote/tracing",
"//java/server/src/org/openqa/selenium/grid/config",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
]
)
)
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
java_library(
name = "config",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
],
deps = [
"//java/client/src/org/openqa/selenium/remote",
"//java/server/src/org/openqa/selenium/grid/config",
"//java/server/src/org/openqa/selenium/grid/data",
"//java/server/src/org/openqa/selenium/grid/node",
"//java/server/src/org/openqa/selenium/grid/node/local",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
]
)
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
java_library(
name = "httpd",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
],
deps = [
"//java/client/src/org/openqa/selenium/remote/tracing",
"//java/server/src/org/openqa/selenium/cli",
Expand All @@ -19,7 +22,4 @@ java_library(
"//third_party/java/guava",
"//third_party/java/service",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
]
)
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
java_library(
name = "httpd",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
],
deps = [
"//java/client/src/org/openqa/selenium/remote/http",
"//java/client/src/org/openqa/selenium/remote/tracing",
Expand All @@ -18,7 +21,4 @@ java_library(
"//third_party/java/beust:jcommander",
"//third_party/java/service",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
]
)
)
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
java_library(
name = "config",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
],
deps = [
"//java/client/src/org/openqa/selenium/remote/http",
"//java/server/src/org/openqa/selenium/grid/config",
"//java/server/src/org/openqa/selenium/grid/sessionmap",
"//java/server/src/org/openqa/selenium/grid/sessionmap/remote",
"//third_party/java/beust:jcommander",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
]
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
java_library(
name = "httpd",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
],
deps = [
"//java/client/src/org/openqa/selenium/remote/tracing",
"//java/server/src/org/openqa/selenium/cli",
Expand All @@ -15,7 +18,4 @@ java_library(
"//third_party/java/guava",
"//third_party/java/service",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
]
)
)
18 changes: 9 additions & 9 deletions third_party/java/contrib/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ package(default_visibility = ["//visibility:public"])

maven_java_import(
name = "opentracing-concurrent",
coords = "io.opentracing.contrib:opentracing-concurrent:jar:0.1.0",
jar = "opentracing-concurrent-0.1.0.jar",
srcjar = "opentracing-concurrent-0.1.0-sources.jar",
coords = "io.opentracing.contrib:opentracing-concurrent:jar:0.4.0",
jar = "opentracing-concurrent-0.4.0.jar",
srcjar = "opentracing-concurrent-0.4.0-sources.jar",
deps = [
"//third_party/java/opentracing:opentracing-api",
"//third_party/java/opentracing:opentracing-noop",
Expand All @@ -17,9 +17,9 @@ maven_java_import(

maven_java_import(
name = "opentracing-okhttp3",
coords = "io.opentracing.contrib:opentracing-okhttp3:jar:0.1.0",
jar = "opentracing-okhttp3-0.1.0.jar",
srcjar = "opentracing-okhttp3-0.1.0-sources.jar",
coords = "io.opentracing.contrib:opentracing-okhttp3:jar:2.0.1",
jar = "opentracing-okhttp3-2.0.1.jar",
srcjar = "opentracing-okhttp3-2.0.1-sources.jar",
deps = [
":opentracing-concurrent",
"//third_party/java/okhttp3:okhttp",
Expand All @@ -30,9 +30,9 @@ maven_java_import(

maven_java_import(
name = "opentracing-tracerresolver",
coords = "io.opentracing.contrib:opentracing-tracerresolver:jar:0.1.5",
jar = "opentracing-tracerresolver-0.1.5.jar",
srcjar = "opentracing-tracerresolver-0.1.5-sources.jar",
coords = "io.opentracing.contrib:opentracing-tracerresolver:jar:0.1.7",
jar = "opentracing-tracerresolver-0.1.7.jar",
srcjar = "opentracing-tracerresolver-0.1.7-sources.jar",
deps = [
"//third_party/java/opentracing:opentracing-api",
"//third_party/java/opentracing:opentracing-util",
Expand Down
18 changes: 9 additions & 9 deletions third_party/java/opentracing/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ package(default_visibility = ["//visibility:public"])

maven_java_import(
name = "opentracing-api",
coords = "io.opentracing:opentracing-api:jar:0.31.0",
jar = "opentracing-api-0.31.0.jar",
srcjar = "opentracing-api-0.31.0-sources.jar",
coords = "io.opentracing:opentracing-api:jar:0.33.0",
jar = "opentracing-api-0.33.0.jar",
srcjar = "opentracing-api-0.33.0-sources.jar",
)

maven_java_import(
name = "opentracing-noop",
coords = "io.opentracing:opentracing-noop:jar:0.31.0",
jar = "opentracing-noop-0.31.0.jar",
srcjar = "opentracing-noop-0.31.0-sources.jar",
coords = "io.opentracing:opentracing-noop:jar:0.33.0",
jar = "opentracing-noop-0.33.0.jar",
srcjar = "opentracing-noop-0.33.0-sources.jar",
deps = [
":opentracing-api",
],
)

maven_java_import(
name = "opentracing-util",
coords = "io.opentracing:opentracing-util:jar:0.31.0",
jar = "opentracing-util-0.31.0.jar",
srcjar = "opentracing-util-0.31.0-sources.jar",
coords = "io.opentracing:opentracing-util:jar:0.33.0",
jar = "opentracing-util-0.33.0.jar",
srcjar = "opentracing-util-0.33.0-sources.jar",
deps = [
":opentracing-api",
":opentracing-noop",
Expand Down

0 comments on commit fc427c0

Please sign in to comment.