From 96eb609f6eb9558e2fab491a2c63a11bb0556471 Mon Sep 17 00:00:00 2001 From: Laura Peskin Date: Wed, 3 Jul 2024 14:15:53 -0700 Subject: pkg/build: add build command for starnix Co-authored-by: eep@google.com --- vm/starnix/starnix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vm') diff --git a/vm/starnix/starnix.go b/vm/starnix/starnix.go index 2876d42f9..a90cc9d96 100644 --- a/vm/starnix/starnix.go +++ b/vm/starnix/starnix.go @@ -116,7 +116,7 @@ func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { }() var err error - inst.ffxBinary, err = getToolPath(inst.fuchsiaDir, "ffx") + inst.ffxBinary, err = GetToolPath(inst.fuchsiaDir, "ffx") if err != nil { return nil, err } @@ -478,7 +478,7 @@ type toolMetadata struct { } // Resolve a tool by name using tool_paths.json in the build dir. -func getToolPath(fuchsiaDir, toolName string) (string, error) { +func GetToolPath(fuchsiaDir, toolName string) (string, error) { buildDir, err := getFuchsiaBuildDir(fuchsiaDir) if err != nil { return "", err -- cgit mrf-deployment