| # NOTE: When editing this file, also update the lockfile. |
| # bazel run //src/test/tools/bzlmod:update_default_lock_file |
| # bazel mod deps --lockfile_mode=update |
| |
| module(name = "bazel_tools") |
| |
| bazel_dep(name = "rules_cc", version = "0.0.9") |
| bazel_dep(name = "rules_java", version = "7.6.5") |
| bazel_dep(name = "rules_license", version = "0.0.3") |
| bazel_dep(name = "rules_proto", version = "4.0.0") |
| bazel_dep(name = "rules_python", version = "0.22.1") |
| |
| bazel_dep(name = "buildozer", version = "7.1.2") |
| bazel_dep(name = "platforms", version = "0.0.9") |
| bazel_dep(name = "protobuf", version = "3.19.6", repo_name = "com_google_protobuf") |
| bazel_dep(name = "zlib", version = "1.3.1.bcr.3") |
| |
| cc_configure = use_extension("//tools/cpp:cc_configure.bzl", "cc_configure_extension") |
| use_repo(cc_configure, "local_config_cc", "local_config_cc_toolchains") |
| register_toolchains("@local_config_cc_toolchains//:all") |
| |
| xcode_configure = use_extension("//tools/osx:xcode_configure.bzl", "xcode_configure_extension") |
| use_repo(xcode_configure, "local_config_xcode") |
| |
| java_toolchains = use_extension("@rules_java//java:extensions.bzl", "toolchains") |
| use_repo( |
| java_toolchains, |
| "local_jdk", |
| "remote_java_tools", |
| "remote_java_tools_linux", |
| "remote_java_tools_windows", |
| "remote_java_tools_darwin_x86_64", |
| "remote_java_tools_darwin_arm64", |
| ) |
| |
| sh_configure_extension = use_extension("//tools/sh:sh_configure.bzl", "sh_configure_extension") |
| use_repo(sh_configure_extension, "local_config_sh") |
| register_toolchains("@local_config_sh//:local_sh_toolchain") |
| |
| remote_coverage_tools_extension = use_extension("//tools/test:extensions.bzl", "remote_coverage_tools_extension") |
| use_repo(remote_coverage_tools_extension, "remote_coverage_tools") |
| |
| remote_android_extensions = use_extension("//tools/android:android_extensions.bzl", "remote_android_tools_extensions") |
| use_repo(remote_android_extensions, "android_gmaven_r8", "android_tools") |
| |
| # Used by bazel mod tidy (see BazelModTidyFunction). |
| buildozer_binary = use_extension("@buildozer//:buildozer_binary.bzl", "buildozer_binary") |
| use_repo(buildozer_binary, "buildozer_binary") |
| |
| # Platforms used by transitions in builtins |
| bazel_dep(name = "apple_support", version = "1.5.0", repo_name = "build_bazel_apple_support") |