nanote/workspace.bazel
2024-02-27 16:02:36 -03:00

34 lines
932 B
Plaintext

workspace(name = "nanote")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Skia
http_archive(
name = "skia",
urls = ["https://skia.googlesource.com/skia/+archive/refs/heads/main.tar.gz"],
strip_prefix = "skia-main",
)
# rules_foreign_cc
http_archive(
name = "rules_foreign_cc",
urls = ["https://github.com/bazelbuild/rules_foreign_cc/archive/refs/tags/3.0.0.tar.gz"],
strip_prefix = "rules_foreign_cc-3.0.0",
)
load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies()
# SDL2
http_archive(
name = "sdl2",
sha256 = "e2abf22f2ec34d36d1714ff9d624d10b86c67cf3cb345131b44804d7cbe37fd5",
urls = ["https://github.com/bazelregistry/sdl2/archive/refs/tags/2.0.18.tar.gz"],
strip_prefix = "sdl2-2.0.18",
)
load("@sdl2//:workspace.bzl", "sdl2_repositories")
sdl2_repositories()