[roll] Roll fuchsia [fx][flash] Fix `fx flash` " Unknown Ninja path" error.

Fix an annoying error when invoking `fx flash` that looks like:

```
ERROR: Unknown Ninja path: products/minimal:product_bundle.vim3
```

- Since `fx build <label>` now works properly use it. The error
  came from the use of <label_without_slash_slash_prefix>, which is
  a GN "convenience alias" in the Ninja build that is no longer
  supported.

+ Fix parsing of product_bundles.json to extract the right label
  when a main_pb_label is set in args.gn.

+ Remove an un-necessary call to `fx-run-command build <artifact_path>`
  since the script already calls `fx get-flash-source --build` when
  `$build` is `true`, which already ensures that the artifacts are
  refreshed / built.

+ Minor shellcheck issues addressed:

  - Use fx-command-stdout-to-array to preserve spaces in line
    outputs, for safety and properly handle errors.

  - Fix problematic quoting of jq_filter value that could break
    on spaces.

  - Removed now unused variables, add directives to ignore
    source inclusion warnings.

Original-Fixed: 407107908
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1238368
Original-Revision: c0bce28ca81ac4177eeb1daa337eabe0e89a2f7d
GitOrigin-RevId: ec66cdcc892dc3f352e090e4f74f996bf195be09
Change-Id: Ie1234a40017541c4ae67dde4cc495387b624a196
1 file changed
tree: b41b517be2214843e352ca06e73d103e03180dfd
  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 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.