[roll] Roll fuchsia [ffx][target] Clean up `ffx target default *`.

Remove --level and noop --build-dir arg from `ffx target default *`:
 - `default get` now always follows `ffx_target::get_target_specifier()`
   semantics for resolving the default target.
 - `default set` now always sets the default target at
   ConfigLevel::User.
 - `default unset` now always unsets the default target at all mutable
   ConfigLevels.
 - `default unset` now issues a warning if
   $FUCHSIA_NODENAME/$FUCHSIA_DEVICE_ADDR is set, fixing
   https://fxbug.dev/394386370.
 - Update warning emitted by `fx {set-device, use}` to omit `--level`.

Testing improvements:
 - Add unittests for `target {get, set, unset}`.
 - Support ConfigLevel::Build for EnvironmentKind::InTree TestEnvs.
 - Create ConfigError::UnconfiguredLevel error type to catch errors
   caused by attempting to unset default targets for ConfigLevel::Build
   in non in-tree environments.

Original-Fixed: 394386370, 407785436
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1244224
Original-Revision: bc122083f087e63ec686f10271bee8de29df84f6
GitOrigin-RevId: 5eb77c8d3028b4d28b48640d2cd76c8b07bac602
Change-Id: I20486fadfb123a2cd872eaaf00c7f243e77d00e2
1 file changed
tree: e17f8da6dbd759595316d424b7f2c289253b5292
  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.