[M] Change in fuchsia/fuchsia[main]: [sdk][ffx] De-dup ffx_tool atom files entries

0 views
Skip to first unread message

Megan Batty (Gerrit)

unread,
Apr 17, 2023, 4:28:48 PM4/17/23
to sdk-dev+a...@fuchsia.dev

Megan Batty has uploaded this change for review.

View Change

[sdk][ffx] De-dup ffx_tool atom files entries

Based on feedback from the initial sdk metadata, change the files
section to be an object with three fields:

- executable: the binary, previously at the top level
- executable_metadata: the fho metadata file for the executable
- support (optional): other files the subtool uses

Previously the executable* items were at the top level, and then
duplicated in files. This was somewhat convenient for writing
distribution logic for the tools, since it's the same as host tools, but
this makes things a bit clearer and we can make the logic down the line
handle it.

Change-Id: Ibf39c89014d0747453cd4126a56877db8f4399df
---
M build/sdk/meta/ffx_tool.json
M build/sdk/meta/golden/ffx_tool.json.golden
M build/sdk/meta/src/ffx_tool.rs
M src/developer/ffx/build/ffx_tool.gni
M src/developer/ffx/lib/sdk/src/lib.rs
5 files changed, 79 insertions(+), 55 deletions(-)


To view, visit change 837997. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: fuchsia
Gerrit-Branch: main
Gerrit-Change-Id: Ibf39c89014d0747453cd4126a56877db8f4399df
Gerrit-Change-Number: 837997
Gerrit-PatchSet: 1
Gerrit-Owner: Megan Batty <mg...@google.com>
Gerrit-MessageType: newchange
Reply all
Reply to author
Forward
0 new messages