[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.

This also updates the build and ffx sdk tests to correct for changes in the
metadata formats.

Change-Id: Ibf39c89014d0747453cd4126a56877db8f4399df
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/837997
Fuchsia-Auto-Submit: Megan Batty <mgnb@google.com>
Reviewed-by: Dave Schuyler <dschuyler@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
11 files changed
tree: d8b06a589f0d4602fd5a2919c5bc39822daf0134
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. infra/
  7. products/
  8. scripts/
  9. sdk/
  10. src/
  11. third_party/
  12. tools/
  13. zircon/
  14. .clang-format
  15. .clang-tidy
  16. .editorconfig
  17. .git-blame-ignore-revs
  18. .gitattributes
  19. .gitignore
  20. .gitmodules
  21. .gn
  22. .ignore
  23. .style.yapf
  24. analysis_options.yaml
  25. AUTHORS
  26. BUILD.gn
  27. CODE_OF_CONDUCT.md
  28. CONTRIBUTING.md
  29. fuchsia.code-workspace
  30. LICENSE
  31. OWNERS
  32. PATENTS
  33. pyrightconfig.json
  34. README.md
  35. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.