File tree Expand file tree Collapse file tree 4 files changed +75
-2
lines changed
java/server/src/org/openqa/selenium/server Expand file tree Collapse file tree 4 files changed +75
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ java_library(name = 'server',
24
24
'//java/server/src/org/openqa/selenium/remote/server:server' ,
25
25
'//java/server/src/org/openqa/selenium/remote/server:sessions' ,
26
26
'//java/server/src/org/openqa/selenium/remote/server/log:log' ,
27
+ ':selenium-core' ,
27
28
'//third_party/java/commons-logging:commons-logging' ,
28
29
'//third_party/java/guava-libraries:guava-libraries' ,
29
30
'//third_party/java/gson:gson' ,
@@ -36,12 +37,16 @@ java_library(name = 'server',
36
37
],
37
38
)
38
39
40
+ prebuilt_jar (name = 'selenium-core' ,
41
+ binary_jar = '//javascript/selenium-core:selenium-core' ,
42
+ )
43
+
39
44
prebuilt_jar (name = 'resources' ,
40
45
binary_jar = ':resources-zip' ,
41
46
)
42
47
43
48
zip_file (name = 'resources-zip' ,
44
- out = 'resources.jar' ,
49
+ out = 'resources-sources .jar' ,
45
50
srcs = [
46
51
'VERSION.txt' ,
47
52
] + glob ([
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ js_binary(name = 'selenium-atoms',
22
22
flags = [
23
23
'--define=goog.NATIVE_ARRAY_PROTOTYPES=false' ,
24
24
],
25
+ visibility = [
26
+ '//javascript/selenium-core:atoms.js' ,
27
+ ],
25
28
)
26
29
27
30
Original file line number Diff line number Diff line change
1
+
2
+ zip_file (
3
+ name = 'selenium-core' ,
4
+ srcs = [
5
+ ':core' ,
6
+ ],
7
+ visibility = [
8
+ '//java/server/src/org/openqa/selenium/server:selenium-core' ,
9
+ ],
10
+ )
11
+
12
+ folder (
13
+ name = 'core' ,
14
+ srcs = glob ([
15
+ '*.css' ,
16
+ '*.html' ,
17
+ '*.png' ,
18
+ 'icons/*.png' ,
19
+ 'lib/**/*' ,
20
+ 'scripts/*' ,
21
+ 'xpath/*' ,
22
+ ]) + [
23
+ ':lib' ,
24
+ ':scripts' ,
25
+ ':TestRunner.hta' ,
26
+ ':RemoteRunner.hta' ,
27
+ ],
28
+ )
29
+
30
+ folder (
31
+ name = 'scripts' ,
32
+ srcs = [
33
+ ':atoms.js' ,
34
+ ],
35
+ )
36
+
37
+ export_file (
38
+ name = 'atoms.js' ,
39
+ src = '//javascript/selenium-atoms:selenium-atoms' ,
40
+ )
41
+
42
+ folder (
43
+ name = 'lib' ,
44
+ srcs = [
45
+ ':sizzle.js' ,
46
+ ],
47
+ )
48
+
49
+ export_file (
50
+ name = 'sizzle.js' ,
51
+ src = '//third_party/js/sizzle:sizzle' ,
52
+ )
53
+
54
+ export_file (
55
+ name = 'TestRunner.hta' ,
56
+ src = 'TestRunner.html' ,
57
+ )
58
+
59
+ export_file (
60
+ name = 'RemoteRunner.hta' ,
61
+ src = 'RemoteRunner.html' ,
62
+ )
Original file line number Diff line number Diff line change 2
2
export_file (name = 'sizzle' ,
3
3
src = 'sizzle.js' ,
4
4
out = 'sizzle.js' ,
5
- visibility = [ '//java/client/src/com/thoughtworks/selenium/webdriven:sizzle' ],
5
+ visibility = [
6
+ '//java/client/src/com/thoughtworks/selenium/webdriven:sizzle' ,
7
+ '//javascript/selenium-core:sizzle.js' ,
8
+ ],
6
9
)
You can’t perform that action at this time.
0 commit comments