build: remove earcut dependency

Related to hexops/mach#967

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-09-21 14:10:18 -07:00
parent 4d18ef54df
commit 26a9392188
2 changed files with 0 additions and 7 deletions

View file

@ -21,10 +21,6 @@ pub fn module(b: *std.Build, optimize: std.builtin.OptimizeMode, target: std.zig
.target = target,
.optimize = optimize,
});
const mach_earcut = b.dependency("mach_earcut", .{
.target = target,
.optimize = optimize,
});
const mach_basisu = b.dependency("mach_basisu", .{
.target = target,
.optimize = optimize,
@ -39,7 +35,6 @@ pub fn module(b: *std.Build, optimize: std.builtin.OptimizeMode, target: std.zig
.dependencies = &.{
.{ .name = "core", .module = core.module(mach_core.builder, optimize, target) },
.{ .name = "ecs", .module = mach_ecs.module("mach-ecs") },
.{ .name = "earcut", .module = mach_earcut.module("mach-earcut") },
.{ .name = "sysaudio", .module = sysaudio.module(mach_sysaudio.builder, optimize, target) },
.{ .name = "basisu", .module = mach_basisu.module("mach-basisu") },
.{ .name = "mach-freetype", .module = mach_freetype.module("mach-freetype") },

View file

@ -8,7 +8,6 @@ pub const gpu = core.gpu;
pub const sysjs = @import("sysjs");
pub const ecs = @import("ecs");
pub const sysaudio = @import("sysaudio");
pub const earcut = @import("earcut");
pub const gfx = @import("gfx/util.zig");
pub const gfx2d = struct {
pub const Sprite2D = @import("gfx2d/Sprite2D.zig");
@ -36,5 +35,4 @@ test {
std.testing.refAllDeclsRecursive(Atlas);
std.testing.refAllDeclsRecursive(math);
_ = ecs;
_ = earcut;
}