[roll] Roll fuchsia [fidlc] Add "deprecated" JSON IR field This adds a boolean field "deprecated" to all FIDL declarations and members in the JSON IR. The compiler already tracked this information to enforce https://fuchsia.dev/fuchsia-src/error/fi-0055, but previously did not expose it in the IR. This will make it possible to emit deprecation annotations in generated bindings, e.g. [[deprecated]] in C++ and #[deprecated] in Rust. When compiling with --available PLATFORM:N, an element annotated with (or that inherits) @available(added=A, deprecated=D, removed=R) will behave as follows: Case In the IR? "deprecated" ========== ========== ============ N < A no n/a A <= N < D yes false D <= N < R yes true N >= R no n/a Once RFC-0232 is implemented and --available supports multiple target versions, "deprecated" will be true if D <= N < R for *any* targeted version N, as specified in https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0232_fidl_bindings_for_multiple_api_levels#details. Test: fx test fidlc-test Test: fx check-goldens fidl Original-Bug: 42085446 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1011080 Original-Revision: 127d67777a9ea7c72e66a5820d487eaaae10e6f1 GitOrigin-RevId: f1059553575fd9cc46a24f8372b66fb6258c8ca1 Change-Id: I81806fdce62f7ba60e0952b452e6da963e0f7ef5
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 via the IRC channel #fuchsia on Freenode.
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.