package(licenses = ["notice"])

config_setting(
    name = "gcloud_rule",
    values = {
        "define": "gcloud=off",
    },
)

py_binary(
    name = "benchmarks",
    srcs = ["run.py"],
    data = select({
        ":gcloud_rule": [],
        "//conditions:default": [
            "//tools/images:ubuntu1604",
            "//tools/images:zone",
        ],
    }),
    main = "run.py",
    python_version = "PY3",
    srcs_version = "PY3",
    tags = [
        "local",
        "manual",
    ],
    deps = ["//benchmarks/runner"],
)