| # Copyright 2021 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # Bazel workspace for building the Fuchsia Flutter embedder. |
| |
| workspace(name = "flutter-embedder") |
| |
| local_repository( |
| name = "rules_fuchsia", |
| path = "sdk-integration/bazel_rules_fuchsia", |
| ) |
| |
| load( |
| "@rules_fuchsia//fuchsia:deps.bzl", |
| "fuchsia_sdk_repository", |
| "rules_fuchsia_deps", |
| ) |
| |
| rules_fuchsia_deps() |
| |
| load( |
| "@rules_fuchsia//fuchsia:workspace_setup.bzl", |
| "rules_fuchsia_workspace_setup", |
| ) |
| |
| rules_fuchsia_workspace_setup() |
| |
| fuchsia_sdk_repository( |
| name = "fuchsia_sdk", |
| sha256 = { |
| "linux": "ffe0d1c48ddc300383f5b645ee0bd79229feccfd5f6c205e112fec2cf976be86", |
| "mac": "4c93c6a530354747d3de18804d420b2ed455f6dc943421b1497200331d5ab4cc", |
| }, |
| tag = "version:6.20211029.2.1", |
| ) |
| |
| register_toolchains("@fuchsia_sdk//:fuchsia_toolchain_sdk") |