Run mac_chromium_compile on 12 cores machines.

Change-Id: I805ca9d24da91f661241d1e293ddb76ddfa038f8
Bug: webrtc:14984
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/296900
Reviewed-by: Christoffer Jansson <jansson@webrtc.org>
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Cr-Commit-Position: refs/heads/main@{#39523}
diff --git a/infra/config/config.star b/infra/config/config.star
index e544204..d10b781 100755
--- a/infra/config/config.star
+++ b/infra/config/config.star
@@ -656,18 +656,18 @@
     dimensions = {"os": "Linux"},
 )
 
-win_builder = normal_builder_factory(
+win_builder, win_try_job = normal_builder_factory(
     dimensions = {"os": "Windows"},
-)[0]
-
-win_try_job = normal_builder_factory(
-    dimensions = {"os": "Windows"},
-)[1]
+)
 
 mac_builder, mac_try_job = normal_builder_factory(
     dimensions = {"os": "Mac"},
 )
 
+mac_chromium_try_job = normal_builder_factory(
+    dimensions = {"os": "Mac", "cores": "12"},
+)[1]
+
 ios_builder, ios_try_job = normal_builder_factory(
     dimensions = {"os": "Mac"},
     properties = {"xcode_build_version": WEBRTC_XCODE13},
@@ -774,7 +774,7 @@
 
 mac_builder("Mac Asan", "Mac|x64|asan")
 mac_try_job("mac_asan")
-mac_try_job("mac_chromium_compile", recipe = "chromium_trybot", branch_cq = False)
+mac_chromium_try_job("mac_chromium_compile", recipe = "chromium_trybot", branch_cq = False)
 mac_builder("MacARM64 M1 Release", "Mac|arm64M1|rel", cpu = "arm64-64-Apple_M1")
 mac_try_job("mac_rel_m1")
 mac_try_job("mac_dbg_m1")
diff --git a/infra/config/cr-buildbucket.cfg b/infra/config/cr-buildbucket.cfg
index 089e0af..85b47c0 100644
--- a/infra/config/cr-buildbucket.cfg
+++ b/infra/config/cr-buildbucket.cfg
@@ -4618,6 +4618,7 @@
       name: "mac_chromium_compile"
       swarming_host: "chromium-swarm.appspot.com"
       swarming_tags: "vpython:native-python-wrapper"
+      dimensions: "cores:12"
       dimensions: "cpu:x86-64"
       dimensions: "os:Mac"
       dimensions: "pool:luci.webrtc.try"