| module( | 
 |     name = "rule_based_toolchain", | 
 |     version = "0.0.1", | 
 | ) | 
 |  | 
 | bazel_dep(name = "platforms", version = "0.0.10") | 
 | bazel_dep(name = "googletest", version = "1.15.2") | 
 | bazel_dep(name = "bazel_skylib", version = "1.7.1") | 
 | bazel_dep(name = "rules_cc") | 
 | local_path_override( | 
 |     module_name = "rules_cc", | 
 |     path = "../..", | 
 | ) | 
 |  | 
 | http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | 
 |  | 
 | http_archive( | 
 |     name = "clang-linux-x86_64", | 
 |     build_file = "//toolchains/clang:clang.BUILD", | 
 |     sha256 = "9042f89df9c13a2bf28e16ce34dfe22934b59b5d8390e94b030bb378bdb3c898", | 
 |     type = "zip", | 
 |     url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/linux-amd64/+/git_revision:0cfd03ac0d3f9713090a581bda07584754c73a49", | 
 | ) | 
 |  | 
 | http_archive( | 
 |     name = "clang-linux-aarch64", | 
 |     build_file = "//toolchains/clang:clang.BUILD", | 
 |     sha256 = "61abb915821190baddafa973c69a9db9acda5a16ed3a89489ea2b3b030a2330b", | 
 |     type = "zip", | 
 |     url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/linux-arm64/+/git_revision:0cfd03ac0d3f9713090a581bda07584754c73a49", | 
 | ) | 
 |  | 
 | http_archive( | 
 |     name = "clang-macos-aarch64", | 
 |     build_file = "//toolchains/clang:clang.BUILD", | 
 |     sha256 = "3cc4425e1234b558adca120aa31abb994ed6b11e0f88e0f58c43ed1723e643a6", | 
 |     type = "zip", | 
 |     url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/mac-arm64/+/git_revision:0cfd03ac0d3f9713090a581bda07584754c73a49", | 
 | ) | 
 |  | 
 | http_archive( | 
 |     name = "clang-macos-x86_64", | 
 |     build_file = "//toolchains/clang:clang.BUILD", | 
 |     sha256 = "001d510113e3b24844f6b9959fcd37cc9bf7faeb966f910a592363be99d228ea", | 
 |     type = "zip", | 
 |     url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/mac-amd64/+/git_revision:0cfd03ac0d3f9713090a581bda07584754c73a49", | 
 | ) | 
 |  | 
 | http_archive( | 
 |     name = "linux_sysroot", | 
 |     build_file = "//toolchains/clang:linux_sysroot.BUILD", | 
 |     sha256 = "f45ca0d8b46810b94d2a7dbc65f9092337d6a9568b260b51173a5ab9314da25e", | 
 |     type = "zip", | 
 |     url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/sysroot/bionic/+/git_revision:702eb9654703a7cec1cadf93a7e3aa269d053943", | 
 | ) | 
 |  | 
 | http_archive( | 
 |     name = "gcc-linux-x86_64", | 
 |     build_file = "//toolchains/gcc:gcc.BUILD", | 
 |     integrity = "sha256-kygjypo+Bn5+KimBCmZtIMnMW7VQ3pR/aHnjis4aqVU=", | 
 |     strip_prefix = "x86-64--glibc--stable-2024.05-1", | 
 |     urls = ["https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs/x86-64--glibc--stable-2024.05-1.tar.xz"], | 
 | ) | 
 |  | 
 | register_toolchains( | 
 |     "//toolchains:host_toolchain", | 
 |     dev_dependency = True, | 
 | ) |