Skip to content

Commit

Permalink
[bazel]: add the node to the new grid
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Nov 23, 2018
1 parent 2de9df9 commit c86c8a9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
8 changes: 8 additions & 0 deletions java/server/src/org/openqa/selenium/concurrent/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
java_library(
name = "concurrent",
srcs = glob(["*.java"]),
visibility = [
"//java/server/src/org/openqa/selenium:__subpackages__",
"//java/server/test/org/openqa/selenium:__subpackages__",
],
)
2 changes: 1 addition & 1 deletion java/server/src/org/openqa/selenium/grid/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ java_binary(
"//java/client/src/org/openqa/selenium/safari:safari",
# "//java/server/src/org/openqa/selenium/grid/commands:commands",
# "//java/server/src/org/openqa/selenium/grid/distributor/httpd:httpd",
# "//java/server/src/org/openqa/selenium/grid/node/httpd:httpd",
"//java/server/src/org/openqa/selenium/grid/node/httpd:httpd",
# "//java/server/src/org/openqa/selenium/grid/router/httpd:httpd",
"//java/server/src/org/openqa/selenium/grid/sessionmap/httpd",
],
Expand Down
21 changes: 21 additions & 0 deletions java/server/src/org/openqa/selenium/grid/node/httpd/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
java_library(
name = "httpd",
srcs = glob(["*.java"]),
deps = [
"//java/client/src/org/openqa/selenium/remote/tracing",
"//java/server/src/org/openqa/selenium/cli",
"//java/server/src/org/openqa/selenium/concurrent",
"//java/server/src/org/openqa/selenium/grid/config",
"//java/server/src/org/openqa/selenium/grid/distributor",
"//java/server/src/org/openqa/selenium/grid/distributor/remote",
"//java/server/src/org/openqa/selenium/grid/node/local",
"//java/server/src/org/openqa/selenium/grid/server",
"//java/server/src/org/openqa/selenium/grid/sessionmap",
"//java/server/src/org/openqa/selenium/grid/sessionmap/remote",
"//third_party/java/beust:jcommander",
"//third_party/java/service",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__pkg__",
]
)

0 comments on commit c86c8a9

Please sign in to comment.