[roll] Roll fuchsia [ffx-emu] Add screenshot command interface

Adds the 'ffx emu screenshot' subcommand to capture the screen of a
running emulator instance.

The command supports an optional positional instance name and a
required output path via the --output (or -o) flag. This implementation
includes defensive checks for emulator state and hardware configuration,
automatic directory creation, and comprehensive unit tests for both
argument parsing and core logic.

Original-Bug: 492401744

Test: fx test src/developer/ffx/plugins/emulator/commands/screenshot
Test: ffx emu screenshot --output capture.png
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1580795
Original-Revision: b1923ec75278d6863c592c37962eda54545e9916
GitOrigin-RevId: 938d10433208f562af3c52c05909d10149bec8b0
Change-Id: Ia2efadf274d7d676fc01e922a7638f3e45fd1b6c
1 file changed
tree: 36f9d37591120b930860bf951f5f55c06f309f0e
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
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 in one of the communication channels documented at get involved.

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.