xref: /aosp_15_r20/bootable/libbootloader/gbl/bazel.MODULE.bazel (revision 5225e6b173e52d2efc6bcf950c27374fd72adabc)
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"""Custom MODULE.bazel definition for GBL.
16
17This is a stripped down version of Kleaf's MODULE.bazel because this repository does not build
18kernel.
19"""
20
21module(
22    name = "uefi-gbl",
23    version = "0.0.0",
24)
25
26register_toolchains(
27    "//prebuilts/build-tools:py_toolchain",
28)
29
30bazel_dep(
31    name = "bazel_skylib",
32)
33bazel_dep(
34    name = "platforms",
35)
36bazel_dep(
37    name = "rules_cc",
38)
39bazel_dep(
40    name = "rules_pkg",
41)
42
43local_path_override(
44    module_name = "apple_support",
45    path = "external/bazelbuild-apple_support",
46)
47
48local_path_override(
49    module_name = "bazel_features",
50    path = "external/bazel-contrib-bazel_features",
51)
52
53local_path_override(
54    module_name = "bazel_skylib",
55    path = "external/bazel-skylib",
56)
57
58local_path_override(
59    module_name = "platforms",
60    path = "external/bazelbuild-platforms",
61)
62
63local_path_override(
64    module_name = "rules_cc",
65    path = "external/bazelbuild-rules_cc",
66)
67
68local_path_override(
69    module_name = "rules_java",
70    path = "external/bazelbuild-rules_java",
71)
72
73local_path_override(
74    module_name = "rules_license",
75    path = "external/bazelbuild-rules_license",
76)
77
78local_path_override(
79    module_name = "rules_pkg",
80    path = "external/bazelbuild-rules_pkg",
81)
82
83local_path_override(
84    module_name = "rules_python",
85    path = "external/bazelbuild-rules_python",
86)
87