-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE.bzlmod
63 lines (44 loc) · 1.64 KB
/
WORKSPACE.bzlmod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
"""
Donner Bazel workspace rules.
"""
workspace(name = "donner")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
##
## Development and test dependencies
##
new_local_repository(
name = "css-parsing-tests",
build_file = "//third_party:BUILD.css-parsing-tests",
path = "third_party/css-parsing-tests",
)
## Developer tools
git_repository(
name = "bazel_clang_tidy",
commit = "674fac7640ae0469b7a58017018cb1497c26e2bf",
remote = "https://github.com/erenon/bazel_clang_tidy.git",
)
# resvg test suite
new_git_repository(
name = "resvg-test-suite",
build_file = "@//third_party:BUILD.resvg-test-suite",
commit = "682a9c8da8c580ad59cba0ef8cb8a8fd5534022f",
remote = "https://github.com/RazrFalcon/resvg-test-suite.git",
)
# wasm build (emscripten)
http_archive(
name = "emsdk",
sha256 = "ea1bbd1974a3323710fc6e585aad20b056fed634df11db2ee3556bfd18e96afd",
strip_prefix = "emsdk-3.1.71/bazel",
url = "https://github.com/emscripten-core/emsdk/archive/refs/tags/3.1.71.tar.gz",
)
load("@emsdk//:deps.bzl", emsdk_deps = "deps")
emsdk_deps()
load("@emsdk//:emscripten_deps.bzl", emsdk_emscripten_deps = "emscripten_deps")
# Version should match "latest-arm64-linux" in https://github.com/emscripten-core/emsdk/blob/main/emscripten-releases-tags.json
emsdk_emscripten_deps(emscripten_version = "3.1.47")
load("@emsdk//:toolchains.bzl", "register_emscripten_toolchains")
register_emscripten_toolchains()
# scip-clang for Sourcegraph
load("//third_party/scip-clang:defs.bzl", "gen_scip_clang")
gen_scip_clang()