@@ -112,14 +112,10 @@ group("flutter") {
112112
113113 # path_ops
114114 " //flutter/tools/path_ops" ,
115- ]
116115
117- if (host_os == " linux" ) {
118- public_deps += [
119- # Built alongside gen_snapshot for 64 bit targets
120- " $dart_src /runtime/bin:analyze_snapshot" ,
121- ]
122- }
116+ # Built alongside gen_snapshot arm64 targets.
117+ " $dart_src /runtime/bin:analyze_snapshot" ,
118+ ]
123119
124120 if (full_dart_sdk ) {
125121 public_deps += [ " //flutter/web_sdk" ]
@@ -193,6 +189,7 @@ group("unittests") {
193189 " //flutter/runtime:no_dart_plugin_registrant_unittests" ,
194190 " //flutter/runtime:runtime_unittests" ,
195191 " //flutter/shell/common:shell_unittests" ,
192+ " //flutter/shell/common/shorebird:shorebird_unittests" ,
196193 " //flutter/shell/platform/embedder:embedder_a11y_unittests" ,
197194 " //flutter/shell/platform/embedder:embedder_proctable_unittests" ,
198195 " //flutter/shell/platform/embedder:embedder_unittests" ,
@@ -319,3 +316,19 @@ if (host_os == "win") {
319316 outputs = [ " $root_build_dir /gen_snapshot/gen_snapshot.exe" ]
320317 }
321318}
319+
320+ # A top-level target for analyze_snapshot, modeled after the gen_snapshot
321+ # target above.
322+ if (host_os == " win" ) {
323+ _analyze_snapshot_target =
324+ " $dart_src /runtime/bin:analyze_snapshot($host_toolchain )"
325+
326+ copy (" analyze_snapshot" ) {
327+ deps = [ _analyze_snapshot_target ]
328+
329+ analyze_snapshot_out_dir =
330+ get_label_info (_analyze_snapshot_target , " root_out_dir" )
331+ sources = [ " $analyze_snapshot_out_dir /analyze_snapshot.exe" ]
332+ outputs = [ " $root_build_dir /analyze_snapshot/analyze_snapshot.exe" ]
333+ }
334+ }
0 commit comments