wyv | 156d9c0 | 2022-05-11 04:45:59 -0700 | [diff] [blame] | 1 | module( |
| 2 | name = "bazel_tools", |
| 3 | toolchains_to_register = [ |
wyv | 5d936d4 | 2022-05-24 04:09:26 -0700 | [diff] [blame] | 4 | "@local_config_cc_toolchains//:all", |
wyv | 156d9c0 | 2022-05-11 04:45:59 -0700 | [diff] [blame] | 5 | "@local_config_sh//:local_sh_toolchain", |
| 6 | ], |
| 7 | ) |
| 8 | |
| 9 | bazel_dep(name = "rules_cc", version = "0.0.1") |
| 10 | bazel_dep(name = "rules_java", version = "5.0.0") |
| 11 | bazel_dep(name = "rules_proto", version = "4.0.0") |
| 12 | bazel_dep(name = "rules_python", version = "0.4.0") |
| 13 | |
| 14 | bazel_dep(name = "platforms", version = "0.0.4") |
| 15 | bazel_dep(name = "protobuf", version = "3.19.0", repo_name = "com_google_protobuf") |
| 16 | |
wyv | 5d936d4 | 2022-05-24 04:09:26 -0700 | [diff] [blame] | 17 | cc_configure = use_extension("//tools/cpp:cc_configure.bzl", "cc_configure_extension") |
| 18 | use_repo(cc_configure, "local_config_cc", "local_config_cc_toolchains") |
| 19 | |
| 20 | xcode_configure = use_extension("//tools/osx:xcode_configure.bzl", "xcode_configure_extension") |
| 21 | use_repo(xcode_configure, "local_config_xcode") |
wyv | 156d9c0 | 2022-05-11 04:45:59 -0700 | [diff] [blame] | 22 | |
wyv | ee3637c | 2022-05-18 05:31:42 -0700 | [diff] [blame] | 23 | java_toolchains = use_extension("@rules_java//java:extensions.bzl", "toolchains") |
| 24 | use_repo( |
| 25 | java_toolchains, |
| 26 | "local_jdk", |
| 27 | "remote_java_tools", |
| 28 | "remote_java_tools_linux", |
| 29 | "remote_java_tools_windows", |
| 30 | "remote_java_tools_darwin", |
| 31 | ) |
| 32 | |
wyv | 156d9c0 | 2022-05-11 04:45:59 -0700 | [diff] [blame] | 33 | sh_configure_extension = use_extension("//tools/sh:sh_configure.bzl", "sh_configure_extension") |
| 34 | use_repo(sh_configure_extension, "local_config_sh") |
wyv | ee3637c | 2022-05-18 05:31:42 -0700 | [diff] [blame] | 35 | |
| 36 | remote_coverage_tools_extension = use_extension("//tools/test:extensions.bzl", "remote_coverage_tools_extension") |
| 37 | use_repo(remote_coverage_tools_extension, "remote_coverage_tools") |