diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-14 00:01:20 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-14 00:01:20 +0000 |
commit | 195290f41d40067aa7940563899f1b026213356a (patch) | |
tree | b36493336c42e7a1834ceb28be9ae43b3f127bd6 | |
parent | 87abbf7e8e66411aa90aca112b6aef901ef34e31 (diff) | |
parent | 7e1956b12869de1cf99e6ebc2c1500ce1cde04b1 (diff) | |
download | libbootloader-android14-qpr2-release.tar.gz |
Snap for 11216811 from 7e1956b12869de1cf99e6ebc2c1500ce1cde04b1 to 24Q1-releaseandroid-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-release
Change-Id: I06dad4fcb6846109a61e6e3899f5d8f652cd3563
-rw-r--r-- | gbl/integration/aosp_u-boot-mainline/workspace.bzl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gbl/integration/aosp_u-boot-mainline/workspace.bzl b/gbl/integration/aosp_u-boot-mainline/workspace.bzl index 111a1cb..bb92010 100644 --- a/gbl/integration/aosp_u-boot-mainline/workspace.bzl +++ b/gbl/integration/aosp_u-boot-mainline/workspace.bzl @@ -17,6 +17,7 @@ This file contains rules and logic for setting up GBL workspace dependencies in u-boot-mainline branch. """ +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@gbl//toolchain:gbl_workspace_util.bzl", "android_rust_prebuilts", "gbl_llvm_prebuilts") load("@kernel_toolchain_info//:dict.bzl", "CLANG_VERSION") @@ -29,12 +30,14 @@ def define_gbl_workspace(name = None): Args: name (String): Placeholder for buildifier check. """ - native.local_repository( + maybe( + repo_rule = native.local_repository, name = "rules_rust", path = "external/bazelbuild-rules_rust", ) - native.local_repository( + maybe( + repo_rule = native.local_repository, name = "rules_license", path = "external/bazelbuild-rules_license", ) |