blob: a889f19a224dfd54ca04fe589f5d67d310ec8364 [file] [log] [blame]
# 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.20220520.1.1",
sha256 = {
"linux": "1700f5e03daeb34e950912f225cacf737f8ebcfef24dfe9051444a3c99e7e935",
"mac": "1503e6b4578073df6afcd4c7a9e3a58d747cd7a5b0ebb00f7602745f70d96eee",
},
)
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:f9c6208687e0d1796710d93862b170292c3e5ee1",
)