| # Copyright 2022 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. | |
| local_repository( | |
| name = "rules_fuchsia", | |
| path = "third_party/sdk-integration/bazel_rules_fuchsia", | |
| ) | |
| load( | |
| "@rules_fuchsia//fuchsia:deps.bzl", | |
| "fuchsia_clang_repository", | |
| "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", | |
| cipd_tag = "version:8.20220516.2.1", | |
| sha256 = { | |
| "linux": "174fc1f1654a6201ff4080030b776a1b8b1aaaa3d0500ee3f3aa0068bb2a4de2", | |
| "mac": "b7f932f25ea76f163a74707de25f5fb83de81bb92edb57ab29f433601e6a839c", | |
| }, | |
| ) | |
| register_toolchains("@fuchsia_sdk//:fuchsia_toolchain_sdk") | |
| fuchsia_clang_repository( | |
| name = "fuchsia_clang", | |
| cipd_tag = "git_revision:80bebbc7cb77979ef9d229450b7ea84e3e9c6a5a", | |
| sdk_root_label = "@fuchsia_sdk", | |
| sha256 = { | |
| "linux": "3e1b7cacf697943aefc512f7cf4a4476e40a9dad937f268222ec5afd386d17a4", | |
| "mac": "76d64ec3daaeb72c01061817affdce3bdac37a5ec47d931a8cefdc807d0fad90", | |
| }, | |
| ) | |
| # gTest. | |
| local_repository( | |
| name = "com_google_googletest", | |
| path = "third_party/googletest", | |
| ) | |
| # Flutter. | |
| load( | |
| "@rules_fuchsia//flutter:deps.bzl", | |
| "flutter_register_toolchains", | |
| ) | |
| flutter_register_toolchains( | |
| dart_tag = "git_revision:e59c04ff550d5343f626a0fca4006e4b1e6c09da", | |
| flutter_tag = "git_revision:b42972f3c1bea9762774bd3b142e1b37fe65a485", | |
| ) |