Skip to content

Commit

Permalink
[fuchsia] fuchsia_archive - Use the tools from the proper directory (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarchand authored Jun 24, 2022
1 parent 315c25e commit f8bf0a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/fuchsia/fuchsia_archive.gni
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import("//build/fuchsia/config.gni")
import("//flutter/tools/fuchsia/fuchsia_debug_symbols.gni")
import("//flutter/tools/fuchsia/fuchsia_libs.gni")
import("//flutter/tools/fuchsia/gn-sdk/config/config.gni")

# Compiles a CML file for a V2 component.
#
Expand All @@ -24,12 +25,12 @@ template("_compile_cml") {
])
script = "//flutter/tools/fuchsia/compile_cml.py"

inputs = [ "//fuchsia/sdk/$host_os/tools/cmc" ]
inputs = [ "$fuchsia_tool_dir/cmc" ]
sources = [ invoker.manifest ]

args = [
"--cmc-bin",
rebase_path("//fuchsia/sdk/$host_os/tools/cmc"),
rebase_path("$fuchsia_tool_dir/cmc"),
"--manifest-file",
rebase_path(invoker.manifest),
"--output",
Expand Down Expand Up @@ -163,7 +164,7 @@ template("_fuchsia_archive") {

args = [
"--pm-bin",
rebase_path("//fuchsia/sdk/$host_os/tools/pm"),
rebase_path("$fuchsia_tool_dir/pm"),
"--package-dir",
rebase_path(far_base_dir),
"--far-name",
Expand Down

0 comments on commit f8bf0a4

Please sign in to comment.