[roll] Roll fuchsia [ffx]: introduce FfxCoreSubCommand and check_core_constraints

FfxCoreSubCommand wraps FfxSubCommand. Makes checks before command
execution to ensure:

1. The command is invoked with the machine interface.
2. The command has only one config flag passed
3. The config flag passed is a path to a file.
4. The target is specified from the CLI

This is checked via the check_core_constraints function.

libfho will also invoke check_core_constraints on the subtool before
execution of the subtool.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1109449
Original-Revision: bae57587bacbebb528aac42d170e0ad6177c0ef9
GitOrigin-RevId: e4b8f61a8be99411dc7c00784f6d25ec25b92d54
Change-Id: I786cc8b09c7d64872537314c234b444f81c9033c
1 file changed
tree: fac6471e5246edac4848777c421fe207e034c6a9
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.