load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "java_library")

java_library(
    name = "remote",
    srcs = glob(["*.java"]),
    visibility = [
        "//java/src/org/openqa/selenium/grid/distributor:__subpackages__",
        "//java/test/org/openqa/selenium/grid/node:__pkg__",
        "//java/test/org/openqa/selenium/grid/router:__pkg__",
    ],
    deps = [
        "//java/src/org/openqa/selenium/grid/component",
        "//java/src/org/openqa/selenium/grid/data",
        "//java/src/org/openqa/selenium/grid/node",
        "//java/src/org/openqa/selenium/grid/security",
        "//java/src/org/openqa/selenium/grid/web",
        "//java/src/org/openqa/selenium/json",
        "//java/src/org/openqa/selenium/remote",
        artifact("com.google.guava:guava"),
    ],
)
