display-client and input-client (files and module names), so a service, its wire contract, and its client never share a name: `display` the service, `display-protocol` the contract, `display-client` a program's view of it. The nine consumers' imports and their packages' declared lists follow (regenerated from the source scan); build-support's module_homes table carries the new names.
20 lines
760 B
Zig
20 lines
760 B
Zig
//! The usb-xhci-bus driver as a binary package (docs/build-packages-plan.md):
|
|
//! this file names the binary and EXACTLY the modules its source imports —
|
|
//! the shared recipe and the module-to-domain map live in build-support.
|
|
|
|
const std = @import("std");
|
|
const build_support = @import("build-support");
|
|
|
|
pub fn build(b: *std.Build) void {
|
|
const exe = build_support.userBinary(b, .{
|
|
.name = "usb-xhci-bus",
|
|
.root_source_file = b.path("usb-xhci-bus.zig"),
|
|
.imports = &.{
|
|
"device-manager-protocol", "driver", "input-client", "ipc", "logging", "memory",
|
|
"mmio", "pci", "process", "service", "time", "usb-abi", "usb-ids",
|
|
"usb-transfer-protocol",
|
|
},
|
|
});
|
|
b.installArtifact(exe);
|
|
}
|