@@ -14,9 +14,7 @@ copy("generate_dart_ui") {
1414 visibility = [ " :*" ]
1515 sources = dart_ui_files
1616
17- outputs = [
18- " $bindings_output_dir /dart_ui/{{source_file_part}}" ,
19- ]
17+ outputs = [ " $bindings_output_dir /dart_ui/{{source_file_part}}" ]
2018}
2119
2220compiled_action (" generate_snapshot_bin" ) {
@@ -32,12 +30,8 @@ compiled_action("generate_snapshot_bin") {
3230
3331 platform_kernel = " $root_out_dir /flutter_patched_sdk/platform_strong.dill"
3432
35- inputs = [
36- platform_kernel ,
37- ]
38- deps = [
39- " :kernel_platform_files" ,
40- ]
33+ inputs = [ platform_kernel ]
34+ deps = [ " :kernel_platform_files" ]
4135
4236 vm_snapshot_data = " $target_gen_dir /vm_isolate_snapshot.bin"
4337 vm_snapshot_instructions = " $target_gen_dir /vm_snapshot_instructions.bin"
@@ -109,9 +103,7 @@ template("bin_to_assembly") {
109103 script ,
110104 invoker .input ,
111105 ]
112- outputs = [
113- output ,
114- ]
106+ outputs = [ output ]
115107 }
116108}
117109
@@ -150,12 +142,8 @@ template("bin_to_coff") {
150142 if (current_cpu == " x64" ) {
151143 args += [ " --64-bit" ]
152144 }
153- inputs = [
154- invoker .input ,
155- ]
156- outputs = [
157- output ,
158- ]
145+ inputs = [ invoker .input ]
146+ outputs = [ output ]
159147 }
160148}
161149
@@ -174,45 +162,35 @@ template("bin_to_linkable") {
174162}
175163
176164bin_to_linkable (" vm_snapshot_data_linkable" ) {
177- deps = [
178- " :generate_snapshot_bin" ,
179- ]
165+ deps = [ " :generate_snapshot_bin" ]
180166 input = " $target_gen_dir /vm_isolate_snapshot.bin"
181167 symbol = " kDartVmSnapshotData"
182168 executable = false
183169}
184170
185171bin_to_linkable (" vm_snapshot_instructions_linkable" ) {
186- deps = [
187- " :generate_snapshot_bin" ,
188- ]
172+ deps = [ " :generate_snapshot_bin" ]
189173 input = " $target_gen_dir /vm_snapshot_instructions.bin"
190174 symbol = " kDartVmSnapshotInstructions"
191175 executable = true
192176}
193177
194178bin_to_linkable (" isolate_snapshot_data_linkable" ) {
195- deps = [
196- " :generate_snapshot_bin" ,
197- ]
179+ deps = [ " :generate_snapshot_bin" ]
198180 input = " $target_gen_dir /isolate_snapshot.bin"
199181 symbol = " kDartIsolateSnapshotData"
200182 executable = false
201183}
202184
203185bin_to_linkable (" isolate_snapshot_instructions_linkable" ) {
204- deps = [
205- " :generate_snapshot_bin" ,
206- ]
186+ deps = [ " :generate_snapshot_bin" ]
207187 input = " $target_gen_dir /isolate_snapshot_instructions.bin"
208188 symbol = " kDartIsolateSnapshotInstructions"
209189 executable = true
210190}
211191
212192bin_to_linkable (" platform_strong_dill_linkable" ) {
213- deps = [
214- " :kernel_platform_files" ,
215- ]
193+ deps = [ " :kernel_platform_files" ]
216194 input = " $root_out_dir /flutter_patched_sdk/platform_strong.dill"
217195 symbol = " kPlatformStrongDill"
218196 size_symbol = " kPlatformStrongDillSize"
@@ -261,7 +239,5 @@ compile_platform("strong_platform") {
261239
262240# Fuchsia's snapshot requires a different platform with extra dart: libraries.
263241group (" kernel_platform_files" ) {
264- public_deps = [
265- " :strong_platform" ,
266- ]
242+ public_deps = [ " :strong_platform" ]
267243}
0 commit comments