| # Copyright 2021 The Pigweed Authors |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| # use this file except in compliance with the License. You may obtain a copy of |
| # the License at |
| # |
| # https://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| # License for the specific language governing permissions and limitations under |
| # the License. |
| |
| workspace( |
| name = "pigweed", |
| ) |
| |
| load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") |
| |
| # Setup Fuchsia SDK. |
| # TODO: https://pwbug.dev/308624902 - This piece lacks bzlmod support. |
| git_repository( |
| name = "fuchsia_infra", |
| # ROLL: Warning: this entry is automatically updated. |
| # ROLL: Last updated 2025-06-30. |
| # ROLL: By https://cr-buildbucket.appspot.com/build/8710627795923559857. |
| commit = "59a6e83ebcfa32dc4316f280724ac1246f9e6298", |
| remote = "https://fuchsia.googlesource.com/fuchsia-infra-bazel-rules", |
| ) |
| |
| # fuchsia_infra_workspace is a macro, not a repository rule, so we can't call |
| # it from MODULE.bazel. |
| load("@fuchsia_infra//:workspace.bzl", "fuchsia_infra_workspace") |
| |
| fuchsia_infra_workspace() |