blob: 36422e324c1ecf637159a86f291e4850438a8463 [file] [log] [blame]
# Copyright 2023 The Tint 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
#
# http://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.
################################################################################
# NOTE: The Bazel build is best-effort and currently only support Tint targets.#
# There is no support for Dawn targets at this time #
################################################################################
workspace(name = "dawn")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
local_repository(
name = "abseil_cpp",
path = "third_party/abseil-cpp",
)
local_repository(
name = "gtest",
path = "third_party/googletest",
)
local_repository(
name = "spirv_headers",
path = "third_party/vulkan-deps/spirv-headers/src",
)
local_repository(
name = "spirv_tools",
path = "third_party/vulkan-deps/spirv-tools/src",
)
http_archive(
name = "bazel_skylib",
sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
],
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()