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

Commit 21c13fa

Browse files
authored
fix: include analyze_snapshot in mac engine artifacts (#90)
1 parent 4491830 commit 21c13fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build/archives/BUILD.gn

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ generated_file("artifacts_entitlement_config") {
2424
if (build_engine_artifacts && !is_android) {
2525
zip_bundle("artifacts") {
2626
deps = [
27+
"$dart_src/runtime/bin:analyze_snapshot",
2728
"$dart_src/runtime/bin:gen_snapshot",
2829
"//flutter/flutter_frontend_server:frontend_server",
2930
"//flutter/impeller/compiler:impellerc",
@@ -112,6 +113,10 @@ if (build_engine_artifacts && !is_android) {
112113
if (host_os == "mac") {
113114
deps += [ ":artifacts_entitlement_config" ]
114115
files += [
116+
{
117+
source = "$root_out_dir/analyze_snapshot$exe"
118+
destination = "analyze_snapshot$exe"
119+
},
115120
{
116121
source = "$target_gen_dir/entitlements.txt"
117122
destination = "entitlements.txt"

0 commit comments

Comments
 (0)