File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import("//build/fuchsia/config.gni")
66import (" //flutter/tools/fuchsia/fuchsia_debug_symbols.gni" )
77import (" //flutter/tools/fuchsia/fuchsia_libs.gni" )
88import (" //flutter/tools/fuchsia/gn-sdk/src/cmc.gni" )
9+ import (" //flutter/tools/fuchsia/gn-sdk/src/package.gni" )
910import (" //flutter/tools/fuchsia/gn-sdk/src/gn_configs.gni" )
1011
1112# TODO(zijiehe ): May use fuchsia_package in gn-sdk if possible.
@@ -120,10 +121,20 @@ template("_fuchsia_archive") {
120121 }
121122
122123 manifest_json_file = " ${ root_out_dir } /${ target_name } _package_manifest.json"
124+
125+ prepare_package_inputs (" ${ target_name } _package_inputs" ) {
126+ deps = pkg .deps
127+ archive_manifest = " ${ root_out_dir } /${ target_name } .manifest"
128+ testonly = pkg_testonly
129+ pkg_out_dir = far_base_dir
130+ package_name = pkg .package_name
131+ }
132+
123133 action (target_name ) {
124134 script = " //flutter/tools/fuchsia/gen_package.py"
125135 deps = pkg_dir_deps + [
126136 " :${ target_name } _dir" ,
137+ " :${ target_name } _package_inputs" ,
127138 " :${ _dbg_symbols_target } " ,
128139 ]
129140
You can’t perform that action at this time.
0 commit comments