2022-07-05 16:22:08 +01:00
|
|
|
load("@py_dev_requirements//:requirements.bzl", "requirement")
|
2025-12-29 13:32:56 -06:00
|
|
|
load("@rules_python//python:defs.bzl", "py_binary")
|
2023-05-15 22:31:21 +01:00
|
|
|
load("//java:defs.bzl", "artifact")
|
2021-08-11 00:21:03 +01:00
|
|
|
|
|
|
|
|
py_binary(
|
|
|
|
|
name = "pinned_browsers",
|
|
|
|
|
srcs = ["pinned_browsers.py"],
|
|
|
|
|
deps = [
|
2023-06-14 15:47:15 +01:00
|
|
|
requirement("packaging"),
|
2021-09-27 16:49:07 +01:00
|
|
|
requirement("urllib3"),
|
2021-08-11 00:21:03 +01:00
|
|
|
],
|
|
|
|
|
)
|
2023-05-15 22:31:21 +01:00
|
|
|
|
2023-12-26 15:56:00 -06:00
|
|
|
py_binary(
|
|
|
|
|
name = "selenium_manager",
|
|
|
|
|
srcs = ["selenium_manager.py"],
|
|
|
|
|
deps = [
|
|
|
|
|
requirement("urllib3"),
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
|
2023-12-05 22:22:46 -06:00
|
|
|
py_binary(
|
|
|
|
|
name = "update_cdp",
|
|
|
|
|
srcs = ["update_cdp.py"],
|
|
|
|
|
deps = [
|
|
|
|
|
requirement("packaging"),
|
|
|
|
|
requirement("urllib3"),
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
|
2024-01-29 10:00:22 -05:00
|
|
|
py_binary(
|
|
|
|
|
name = "update_copyright",
|
|
|
|
|
srcs = ["update_copyright.py"],
|
|
|
|
|
)
|
|
|
|
|
|
2023-05-15 22:31:21 +01:00
|
|
|
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")],
|
|
|
|
|
)
|