nandi/jolt-nativepublic Fork 0
aabacba05769796ca2b8dde03e3f925d33ba6653
Commits
Clone
git clone https://git.rickub.com/nandi/jolt-native.git
git clone ssh://git@rickub.com/nandi/jolt-native.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

BUCK · 35 lines · 1.4 KBPython Blame HistoryRaw
Build under buck2, with the toolchain pinned rather than found 460541b nandi 19d ago1# The vendored cpal, which reindeer cannot generate a target for: it arrives as
2# a path patch rather than a registry or git source, and reindeer only emits
3# targets for sources it vendors. See the patch table in ../Cargo.toml for why
4# the copy exists at all, and fixups/moq-media for what points at this.
5#
6# Without the `pipewire` feature, matching how ../Cargo.toml declares it, and
7# without `jack`, which is optional and off.
8rust_library(
9 name = "cpal",
10 srcs = glob(["src/**/*.rs"]),
11 crate = "cpal",
12 crate_root = "src/lib.rs",
13 edition = "2021",
14 visibility = ["PUBLIC"],
15 deps = ["//third-party/rust:dasp_sample"] + select({
16 # The ALSA host. Mirrors cpal's linux/*bsd target table.
17 "DEFAULT": [
18 "//third-party/rust:alsa",
19 "//third-party/rust:libc",
20 ],
21 # CoreAudio. The objc2 rows are pinned to the versions cpal asks for
22 # rather than the older ones winit drags into the same graph.
23 "prelude//os:macos": [
24 "//third-party/rust:coreaudio-rs",
25 "//third-party/rust:libc",
26 "//third-party/rust:mach2",
27 "//third-party/rust:objc2",
28 "//third-party/rust:objc2-audio-toolbox",
29 "//third-party/rust:objc2-core-audio",
30 "//third-party/rust:objc2-core-audio-types",
31 "//third-party/rust:objc2-core-foundation",
32 "//third-party/rust:objc2-foundation",
33 ],
34 }),
35)