[roll] Roll fuchsia [fx][target] Warn when fx set-device is shadowed.
Print a helpful warning when the default target set via `fx set-device`
will be shadowed by the ffx default target.
Also run the check when workspaces are switched via `fx use`.
Example message: """
❯ fx set-device fx-device
Default device for '/usr/local/google/home/chandarren/fuchsia/out/default' is now fx-device
WARNING: The build level device "fx-device" is being overridden by the user level device "ffx-device".
WARNING: Here are all of the ffx default values set: [
"ffx-device",
"global-device",
[
"fx-device"
]
]
WARNING: Please run `ffx target default unset; ffx target default unset --level global` to fix this.
❯ fx use out/default
WARNING: The build level device "fx-device" is being overridden by the user level device "ffx-device".
WARNING: Here are all of the ffx default values set: [
"ffx-device",
"global-device",
[
"fx-device"
]
]
WARNING: Please run `ffx target default unset; ffx target default unset --level global` to fix this.
"""
Original-Fixed: 396572767
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1209044
Original-Revision: 51303cc93307916f715359174615b89ee78043b8
GitOrigin-RevId: af132790b0046a4af5af52c541dd641852308fed
Change-Id: I30ce96387ddc890b331fa53b3efffcf39e1f219a
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.