File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed
client/src/org/openqa/selenium/internal
server/src/org/openqa/grid/selenium Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,12 @@ public String getReleaseLabel() {
84
84
85
85
/** @return The embedded build revision or "unknown". */
86
86
public String getBuildRevision () {
87
- return BUILD_PROPERTIES .getProperty ("Selenium -Revision" , "unknown" );
87
+ return BUILD_PROPERTIES .getProperty ("Build -Revision" , "unknown" );
88
88
}
89
89
90
90
/** @return The embedded build time or "unknown". */
91
91
public String getBuildTime () {
92
- return BUILD_PROPERTIES .getProperty ("Selenium- Build-Time" , "unknown" );
92
+ return BUILD_PROPERTIES .getProperty ("Build-Time" , "unknown" );
93
93
}
94
94
95
95
@ Override
Original file line number Diff line number Diff line change
1
+ include_defs ('//SELENIUM_VERSION' )
2
+
3
+ # Force a rebuild every time we're parsed.
4
+
1
5
java_binary (name = 'selenium' ,
2
6
main_class = 'org.openqa.grid.selenium.GridLauncherV3' ,
7
+ manifest_file = ':manifest' ,
8
+ merge_manifests = True ,
3
9
deps = [
4
10
':classes' ,
5
11
],
6
12
)
7
13
14
+ genrule (name = 'manifest' ,
15
+ out = 'build-info.mf' ,
16
+ cmd = "$(exe :generate-build-info) %s > $OUT" % (SE_VERSION ),
17
+ )
18
+
19
+ python_binary (name = 'generate-build-info' ,
20
+ main = 'generate-build-info.py' ,
21
+ )
22
+
8
23
java_library (name = 'classes' ,
9
24
srcs = glob (['**/*.java' ]),
10
25
deps = [
Original file line number Diff line number Diff line change
1
+ import sys
2
+
3
+
4
+ def main (argv ):
5
+ print """
6
+ Name: Build-Info
7
+ Selenium-Version: %s
8
+ """ % (argv [1 ])
9
+
10
+
11
+ sys .exit (main (sys .argv ))
You can’t perform that action at this time.
0 commit comments