Remove dead legacy_builders code

Removes code from legacy_builders.star that is now unused.

Bug: 459517292
Change-Id: Id868bc4ff12288c4e2f2324eb854d75fc8e8ec8e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/302717
Commit-Queue: Brian Sheedy <bsheedy@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Auto-Submit: Brian Sheedy <bsheedy@google.com>
diff --git a/infra/config/global/legacy_builders.star b/infra/config/global/legacy_builders.star
index d3a56de..b6fc457 100644
--- a/infra/config/global/legacy_builders.star
+++ b/infra/config/global/legacy_builders.star
@@ -34,39 +34,6 @@
 
 load("//project.star", "ACTIVE_MILESTONES")
 
-os_category = struct(
-    LINUX = "Linux",
-    MAC = "Mac",
-    WINDOWS = "Windows",
-)
-
-def os_enum(category, console_name):
-    return struct(category = category, console_name = console_name)
-
-os = struct(
-    LINUX = os_enum(os_category.LINUX, "linux"),
-    MAC = os_enum(os_category.MAC, "mac"),
-    WINDOWS = os_enum(os_category.WINDOWS, "win"),
-)
-
-def get_dimension(os):
-    """Returns the dimension to use for the input os.
-
-    Args:
-        os: An os enum to check against.
-
-    Returns:
-        A string containing the dimensions the given OS should target.
-    """
-    if os.category == os_category.LINUX:
-        return "Ubuntu-24.04"
-    elif os.category == os_category.MAC:
-        return "Mac-12|Mac-13|Mac-14|Mac-15"
-    elif os.category == os_category.WINDOWS:
-        return "Windows-10"
-
-    return "Invalid Dimension"
-
 luci.notifier(
     name = "gardener-notifier",
     notify_rotation_urls = [