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

Commit f393da2

Browse files
authored
[fuchsia] copy over the cmx file (#10087)
1 parent 8ebd15d commit f393da2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tools/fuchsia/package_dir.gni

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,21 @@ template("package_dir") {
5151
copy_outputs += [ "$far_base_dir/lib/${lib.name}" ]
5252
}
5353

54+
flutter_meta_dir = "$flutter_root/shell/platform/fuchsia/flutter/meta"
55+
56+
copy("copy_cmx") {
57+
sources = [
58+
"${flutter_meta_dir}/${pkg_target_name}.cmx",
59+
]
60+
outputs = [
61+
"$far_base_dir/meta/{{source_file_part}}",
62+
]
63+
}
64+
5465
action(target_name) {
5566
script = "$flutter_root/tools/fuchsia/copy_path.py"
5667
response_file_contents = rebase_path(copy_sources + copy_outputs)
57-
deps = pkg.deps
68+
deps = pkg.deps + [ ":copy_cmx" ]
5869
args = [ "--file-list={{response_file_name}}" ]
5970
outputs = copy_outputs
6071
}

0 commit comments

Comments
 (0)