Skip to content

Commit 8ed7b17

Browse files
committed
Extract the driver service from the main remote target
1 parent 7ee6d79 commit 8ed7b17

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

java/client/src/org/openqa/selenium/chrome/build.desc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ java_library(name = "chrome",
44
deps = [
55
"//java/client/src/org/openqa/selenium/net",
66
"//java/client/src/org/openqa/selenium/remote",
7+
"//java/client/src/org/openqa/selenium/remote/service",
78
"//third_party/java/guava-libraries",
89
"//third_party/java/json",
910
])

java/client/src/org/openqa/selenium/firefox/build.desc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ java_library(name = "firefox",
77
"//java/client/src/org/openqa/selenium/browserlaunchers:proxies",
88
"//java/client/src/org/openqa/selenium/io",
99
"//java/client/src/org/openqa/selenium/net",
10+
"//java/client/src/org/openqa/selenium/os",
1011
"//java/client/src/org/openqa/selenium/remote",
1112
"//third_party/java/commons-io",
1213
"//third_party/java/guava-libraries",

java/client/src/org/openqa/selenium/ie/build.desc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ java_library(name = "ie",
66
"//java/client/src/org/openqa/selenium/browserlaunchers:windows_proxy_manager",
77
"//java/client/src/org/openqa/selenium/net",
88
"//java/client/src/org/openqa/selenium/remote",
9+
"//java/client/src/org/openqa/selenium/remote/service",
910
"//third_party/java/jna",
1011
])

java/client/src/org/openqa/selenium/remote/build.desc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,12 @@ java_library(name = "remote",
9191
"internal/JsonToWebElementConverter.java",
9292
"internal/HttpClientFactory.java",
9393
"internal/WebElementToJsonConverter.java",
94-
"service/DriverCommandExecutor.java",
95-
"service/DriverService.java",
9694
],
9795
deps = [
9896
":common",
9997
":http-session-id",
10098
"//java/client/src/org/openqa/selenium/logging",
101-
"//java/client/src/org/openqa/selenium/net",
10299
"//java/client/src/org/openqa/selenium/io",
103-
"//java/client/src/org/openqa/selenium/os",
100+
"//java/client/src/org/openqa/selenium/net",
104101
"//third_party/java/apache-httpclient",
105102
])
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
java_library(name = "service",
3+
srcs = [ "*.java" ],
4+
deps = [
5+
"//java/client/src/org/openqa/selenium:webdriver-api",
6+
"//java/client/src/org/openqa/selenium/io",
7+
"//java/client/src/org/openqa/selenium/net",
8+
"//java/client/src/org/openqa/selenium/os",
9+
"//java/client/src/org/openqa/selenium/remote",
10+
"//third_party/java/guava-libraries",
11+
])

0 commit comments

Comments
 (0)