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