-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMODULE.bazel
More file actions
46 lines (40 loc) · 1.86 KB
/
MODULE.bazel
File metadata and controls
46 lines (40 loc) · 1.86 KB
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
bazel_dep(name = "ift_encoder", version = "git")
git_override(module_name = "ift_encoder", remote = "https://github.com/garretrieger/ift-encoder.git", commit = "7ef6fe73d886fabd8f0057fd5ac52b0e21bd8bcd")
git_override(module_name = "ift_encoder_data", remote = "https://github.com/w3c/ift-encoder-data.git", commit = "317ea02ac68d45004aa842f831c65ed33c891701")
bazel_dep(name = "platforms", version = "0.0.11")
bazel_dep(name = "glib", version = "2.82.2.bcr.5")
# Emscripten for WASM compilation
emsdk_version = "4.0.7"
bazel_dep(name = "emsdk", version = emsdk_version)
git_override(
module_name = "emsdk",
remote = "https://github.com/emscripten-core/emsdk.git",
strip_prefix = "bazel",
tag = emsdk_version,
)
### Non Bazel Modules ###
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# WOFF2 Decoder
http_archive(
name = "woff2",
build_file = "//third_party:woff2.BUILD",
sha256 = "730b7f9de381c7b5b09c81841604fa10c5dd67628822fa377b776ab7929fe18c",
strip_prefix = "woff2-c8c0d339131e8f1889ae8aac0075913d98d9a722",
url = "https://github.com/google/woff2/archive/c8c0d339131e8f1889ae8aac0075913d98d9a722.zip",
)
# Brotli Encoder/Decoder
http_archive(
name = "brotli",
build_file = "//third_party:brotli.BUILD",
sha256 = "3b90c83489879701c05f39b68402ab9e5c880ec26142b5447e73afdda62ce525",
strip_prefix = "brotli-71fe6cac061ac62c0241f410fbd43a04a6b4f303",
url = "https://github.com/google/brotli/archive/71fe6cac061ac62c0241f410fbd43a04a6b4f303.zip",
)
# Harfbuzz
http_archive(
name = "harfbuzz",
build_file = "//third_party:harfbuzz.BUILD",
integrity = "sha256-LwhLlBZXpUZKSXuC/wc0X2jNTkALysLYVxL7vHGG2R0=",
strip_prefix = "harfbuzz-87bbb9fadf45ee04c7425d7e8f22072fdd827edb",
urls = ["https://github.com/harfbuzz/harfbuzz/archive/87bbb9fadf45ee04c7425d7e8f22072fdd827edb.zip"],
)