File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ template("_prebuilt_tool_action") {
132132 ])
133133 script = " $_dart_root /build/gn_run_binary.py"
134134
135- inputs = []
135+ inputs = [ invoker . binary ]
136136 if (defined (invoker .inputs )) {
137137 inputs += invoker .inputs
138138 }
@@ -210,7 +210,6 @@ template("prebuilt_dart_action") {
210210 _prebuilt_tool_action (target_name ) {
211211 forward_variables_from (invoker , " *" )
212212 binary = " $_dart_root /tools/sdks/dart-sdk/bin/dart$executable_suffix "
213- dfe = " $_dart_root /tools/sdks/dart-sdk/bin/snapshots/kernel-service.dart.snapshot"
214213 }
215214}
216215
Original file line number Diff line number Diff line change @@ -282,6 +282,13 @@ def parse_rewrapper(self):
282282 self .unsupported ('rewrapper' , arg )
283283
284284 def parse_dart (self ):
285+ self .extra_paths .add (
286+ self .rebase (os .path .join (self .dart_subdir , 'dartvm' )))
287+ self .extra_paths .add (
288+ self .rebase (
289+ os .path .join (self .dart_subdir ,
290+ 'snapshots/kernel-service.dart.snapshot' )))
291+
285292 while self .has_next_arg :
286293 arg = self .next_arg ()
287294 if self .get_option (['--dfe' ]):
You can’t perform that action at this time.
0 commit comments