This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 2 files changed +11
-7
lines changed 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,7 @@ group("flutter") {
76
76
77
77
# If enbaled, compile the SDK / snapshot.
78
78
if (! is_fuchsia ) {
79
- public_deps += [
80
- " //flutter/lib/snapshot:generate_snapshot_bin" ,
81
- " //flutter/lib/snapshot:kernel_platform_files" ,
82
- ]
79
+ public_deps += [ " //flutter/lib/snapshot:generate_snapshot_bins" ]
83
80
84
81
if (_build_engine_artifacts ) {
85
82
public_deps += [
Original file line number Diff line number Diff line change @@ -8,6 +8,16 @@ import("//flutter/common/config.gni")
8
8
import (" //flutter/lib/ui/dart_ui.gni" )
9
9
import (" //third_party/dart/utils/compile_platform.gni" )
10
10
11
+ group (" generate_snapshot_bins" ) {
12
+ deps = [
13
+ " :generate_snapshot_bin" ,
14
+ " :kernel_platform_files" ,
15
+ ]
16
+ if (host_os == " mac" && (target_cpu == " arm" || target_cpu == " arm64" )) {
17
+ deps += [ " :create_arm_gen_snapshot" ]
18
+ }
19
+ }
20
+
11
21
compiled_action (" generate_snapshot_bin" ) {
12
22
if (target_cpu == " x86" && host_os == " linux" ) {
13
23
# By default Dart will create a 32-bit gen_snapshot host binary if the target
@@ -221,9 +231,6 @@ source_set("snapshot") {
221
231
" :vm_snapshot_data_linkable" ,
222
232
" :vm_snapshot_instructions_linkable" ,
223
233
]
224
- if (host_os == " mac" && (target_cpu == " arm" || target_cpu == " arm64" )) {
225
- deps += [ " :create_arm_gen_snapshot" ]
226
- }
227
234
228
235
sources = get_target_outputs (" :isolate_snapshot_data_linkable" ) +
229
236
get_target_outputs (" :isolate_snapshot_instructions_linkable" ) +
You can’t perform that action at this time.
0 commit comments