forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBUILD.bazel
46 lines (41 loc) · 1.19 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
load("@py_dev_requirements//:requirements.bzl", "requirement")
load("//java:defs.bzl", "artifact")
py_binary(
name = "pinned_browsers",
srcs = ["pinned_browsers.py"],
deps = [
requirement("packaging"),
requirement("urllib3"),
],
)
py_binary(
name = "selenium_manager",
srcs = ["selenium_manager.py"],
deps = [
requirement("urllib3"),
],
)
py_binary(
name = "update_cdp",
srcs = ["update_cdp.py"],
deps = [
requirement("packaging"),
requirement("urllib3"),
],
)
py_binary(
name = "update_copyright",
srcs = ["update_copyright.py"],
)
java_binary(
name = "google-java-format",
jvm_flags = [
"--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
"--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
"--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
"--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
"--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
],
main_class = "com.google.googlejavaformat.java.Main",
runtime_deps = [artifact("com.google.googlejavaformat:google-java-format")],
)