Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit d5c77fe

Browse files
bryanoltmanfelangel
authored andcommitted
fix: generate analyze snapshot for arm builds
1 parent e140099 commit d5c77fe

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/snapshot/BUILD.gn

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ group("generate_snapshot_bins") {
3737
deps += [ ":create_macos_gen_snapshots" ]
3838
} else if (host_os == "mac" &&
3939
(target_cpu == "arm" || target_cpu == "arm64")) {
40-
deps += [
41-
":create_arm_analyze_snapshot",
42-
":create_arm_gen_snapshot",
43-
]
40+
deps += [ ":create_arm_gen_snapshot" ]
41+
}
42+
43+
if (host_os == "mac" && target_os != "mac" && (target_cpu == "arm" || target_cpu == "arm64")) {
44+
deps += [ ":create_arm_analyze_snapshot" ]
4445
}
4546

4647
# Build analyze_snapshot for 64-bit target CPUs.

0 commit comments

Comments
 (0)