Skip to content

Commit

Permalink
[java] Adding bazel build files for drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Nov 22, 2018
1 parent 47758c4 commit 444cea2
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 0 deletions.
17 changes: 17 additions & 0 deletions java/client/src/org/openqa/selenium/chrome/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
load("//java:version.bzl", "SE_VERSION")

java_library(
name = "chrome",
tags = [
"maven_coordinates=org.seleniumhq.selenium:selenium-chrome-driver:" + SE_VERSION,
],
srcs = glob(["*.java"]),
deps = [
"//java/client/src/org/openqa/selenium/remote:remote",
"//third_party/java/guava:guava",
"//third_party/java/service",
],
visibility = [
"//visibility:public",
],
)
17 changes: 17 additions & 0 deletions java/client/src/org/openqa/selenium/edge/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
load("//java:version.bzl", "SE_VERSION")

java_library(
name = "edge",
tags = [
"maven_coordinates=org.seleniumhq.selenium:selenium-edge-driver:" + SE_VERSION,
],
srcs = glob(["*.java"]),
deps = [
"//java/client/src/org/openqa/selenium/remote:remote",
"//third_party/java/guava:guava",
"//third_party/java/service",
],
visibility = [
"//visibility:public",
],
)
17 changes: 17 additions & 0 deletions java/client/src/org/openqa/selenium/firefox/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
load("//java:version.bzl", "SE_VERSION")

java_library(
name = "firefox",
tags = [
"maven_coordinates=org.seleniumhq.selenium:selenium-firefox-driver:" + SE_VERSION,
],
srcs = glob(["*.java"]),
deps = [
"//java/client/src/org/openqa/selenium/remote:remote",
"//third_party/java/guava:guava",
"//third_party/java/service",
],
visibility = [
"//visibility:public",
],
)
17 changes: 17 additions & 0 deletions java/client/src/org/openqa/selenium/ie/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
load("//java:version.bzl", "SE_VERSION")

java_library(
name = "ie",
tags = [
"maven_coordinates=org.seleniumhq.selenium:selenium-ie-driver:" + SE_VERSION,
],
srcs = glob(["*.java"]),
deps = [
"//java/client/src/org/openqa/selenium/remote:remote",
"//third_party/java/guava:guava",
"//third_party/java/service",
],
visibility = [
"//visibility:public",
],
)
17 changes: 17 additions & 0 deletions java/client/src/org/openqa/selenium/opera/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
load("//java:version.bzl", "SE_VERSION")

java_library(
name = "opera",
tags = [
"maven_coordinates=org.seleniumhq.selenium:selenium-opera-driver:" + SE_VERSION,
],
srcs = glob(["*.java"]),
deps = [
"//java/client/src/org/openqa/selenium/remote:remote",
"//third_party/java/guava:guava",
"//third_party/java/service",
],
visibility = [
"//visibility:public",
],
)
17 changes: 17 additions & 0 deletions java/client/src/org/openqa/selenium/safari/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
load("//java:version.bzl", "SE_VERSION")

java_library(
name = "safari",
tags = [
"maven_coordinates=org.seleniumhq.selenium:selenium-safari-driver:" + SE_VERSION,
],
srcs = glob(["*.java"]),
deps = [
"//java/client/src/org/openqa/selenium/remote:remote",
"//third_party/java/guava:guava",
"//third_party/java/service",
],
visibility = [
"//visibility:public",
],
)
1 change: 1 addition & 0 deletions third_party/java/service/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ java_library(
"notice", # Apache 2
],
visibility = [
"//java/client/src/org/openqa/selenium:__subpackages__",
"//java/server/src/org/openqa/selenium:__subpackages__",
],
)
Expand Down

0 comments on commit 444cea2

Please sign in to comment.