1# Copyright (C) 2024 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15"""Remaining repositories not yet migrated to bzlmod.""" 16 17local_repository( 18 name = "gbl", 19 path = "bootable/libbootloader/gbl", 20) 21 22# buildifier: disable=load-on-top 23load("@gbl//integration/aosp_uefi-gbl-mainline:workspace.bzl", "define_gbl_workspace") 24 25define_gbl_workspace() 26 27load("@rules_rust//tools/rust_analyzer:deps.bzl", "rust_analyzer_dependencies") 28 29rust_analyzer_dependencies() 30 31load("@gbl//toolchain:gbl_workspace_util.bzl", "GBL_RUST_VERSION") 32load("@rules_rust//rust:repositories.bzl", "rust_analyzer_toolchain_repository") 33 34register_toolchains(rust_analyzer_toolchain_repository( 35 name = "rust_analyzer_toolchain", 36 version = GBL_RUST_VERSION, 37)) 38