blob: 657606bf0fd8917e2d1c2bc05ec5a32ff332be0c [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 = "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.20220502.3.1",
sha256 = {
"linux": "3e1fb302eef98d4fc36041b6e76227025c54aab3d2950d99eae2784e0faf6894",
"mac": "ad41128af40330dbbcae2ce4c1eb8167561fe338e539d53dc504b947ec0c1686",
},
)
register_toolchains("@fuchsia_sdk//:fuchsia_toolchain_sdk")
fuchsia_clang_repository(
name = "fuchsia_clang",
cipd_tag = "git_revision:ec2de7490813a7593dad59f210c7ec41f1a29002",
sdk_root_label = "@fuchsia_sdk",
sha256 = {
"linux": "1a4ee70190a4e39c2804baa26c9aa58231a1ea67e16a5c5adc1dde2d7bada728",
"mac": "a5c681756e4f3db058ff451758962f9544f5993af38975c944eb82309222ce4f",
},
)
# gTest.
local_repository(
name = "com_google_googletest",
path = "third_party/googletest",
)