-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMODULE.bazel
More file actions
106 lines (90 loc) · 3.86 KB
/
MODULE.bazel
File metadata and controls
106 lines (90 loc) · 3.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
module(
name = "ift_encoder",
repo_name = "ift_encoder",
)
# Bazel Modules
bazel_dep(name = "rules_cc", version = "0.2.16")
bazel_dep(name = "rules_python", version = "1.8.0")
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
bazel_dep(name = "abseil-cpp", version = "20260107.0")
bazel_dep(name = "protobuf", version = "33.4")
bazel_dep(name = "riegeli", version = "0.0.0-20250822-9f2744d")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "rules_rust", version = "0.68.1")
bazel_dep(name = "glib", version = "2.82.2.bcr.7")
bazel_dep(name = "brotli", version = "1.2.0")
bazel_dep(name = "bazel_skylib", version = "1.9.0")
# Frequency Data
bazel_dep(name = "ift_encoder_data", version = "git")
git_override(module_name = "ift_encoder_data", remote = "https://github.com/w3c/ift-encoder-data.git", commit = "8f50ef507feac8f8bdf6c39a92f95b7c991dcfda")
# Non Bazel Modules
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# WOFF2 Encoder/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",
)
# Harfbuzz
http_archive(
name = "harfbuzz",
build_file = "//third_party:harfbuzz.BUILD",
integrity = "sha256-L3SwHBRR3Leerxu4zmnOP6nKaZ5rp8fHJSxZ6iiDrIQ=",
strip_prefix = "harfbuzz-d4d4c635217d7e769b66f7d2cb7d528b4a534555",
urls = ["https://github.com/harfbuzz/harfbuzz/archive/d4d4c635217d7e769b66f7d2cb7d528b4a534555.zip"],
)
# Base 32 Hex
http_archive(
name = "cppcodec",
build_file = "//third_party:cppcodec.BUILD",
integrity = "sha256-abpzBt/WJEKA0os255vhquwnQd2njfw6RryLFWsMRU0=",
strip_prefix = "cppcodec-8019b8b580f8573c33c50372baec7039dfe5a8ce",
url = "https://github.com/tplgy/cppcodec/archive/8019b8b580f8573c33c50372baec7039dfe5a8ce.zip",
)
# IFT Specification - for Feature Registry
http_archive(
name = "ift_spec",
build_file = "//third_party:ift_spec.BUILD",
sha256 = "6c97f8da6a6997794da5417823711b54a7ace6ff8c7beb71824386d1e19a9ac5",
strip_prefix = "IFT-9594d696a6b35c22f97b072a1d64db603c204dfb",
urls = ["https://github.com/w3c/IFT/archive/9594d696a6b35c22f97b072a1d64db603c204dfb.zip"],
)
# Fontations
http_archive(
name = "fontations",
urls = ["https://github.com/googlefonts/fontations/archive/1a8baba89aa129a899bc83b0b610881190f8bbad.zip"],
strip_prefix = "fontations-1a8baba89aa129a899bc83b0b610881190f8bbad",
build_file = "//third_party:fontations.BUILD",
integrity = "sha256-vyDtQ7LJHdb+l0dz8IYs2jvw9bnQxNvhaZgyRLfnlTA=",
)
# Rust Deps Config
crate = use_extension("@rules_rust//crate_universe:extensions.bzl", "crate")
crate.from_cargo(
name = "fontations_deps",
cargo_lockfile = "//fontations:Cargo.lock",
manifests = [
"@fontations//:Cargo.toml",
"@fontations//:fauntlet/Cargo.toml",
"@fontations//:font-codegen/Cargo.toml",
"@fontations//:font-test-data/Cargo.toml",
"@fontations//:font-types/Cargo.toml",
"@fontations//:fuzz/Cargo.toml",
"@fontations//:incremental-font-transfer/Cargo.toml",
"@fontations//:klippa/Cargo.toml",
"@fontations//:otexplorer/Cargo.toml",
"@fontations//:read-fonts/Cargo.toml",
"@fontations//:shared-brotli-patch-decoder/Cargo.toml",
"@fontations//:skrifa/Cargo.toml",
"@fontations//:write-fonts/Cargo.toml",
],
)
use_repo(crate, "fontations_deps")
# Hedron - for generating compiles_commands.json
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
git_override(
module_name = "hedron_compile_commands",
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
commit = "f5fbd4cee671d8d908f37c83abaf70fba5928fc7",
)