| commit | 68390a73acafb9da4b3eb1941c34c1fdbc34889b | [log] [tgz] |
|---|---|---|
| author | Felix Zhu <fcz@fuchsia.infra.roller.google.com> | Thu Jun 10 21:41:31 2021 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu Jun 10 14:42:45 2021 -0700 |
| tree | 13b1d9c8edfaac622997f7ec8fe9270616eaed89 | |
| parent | 392948bf4959c0ea68b86e9d7b02b246bf44eaea [diff] |
[roll] Roll fuchsia [fidlc] Implement --convert flag Updates fidlc to run the syntax conversion pipeline under the --convert flag, so that after compilation: * All FIDL files passed to fidlc are converted to the new syntax (we convert all files to best emulate the compilation process post migration, where all files are in the new syntax). * The converted files are compiled * For each specified compilation output (e.g. JSON IR, coding tables, C client/server), we ensure that the output from the converted library does not change relative to that from the unconverted library. Note: this means that --convert must be passed after any output flags. * If this succeeds, the converted FIDL files for only the final library is written into the specified output directory. The converted FIDL files keep the same names as before, but with a .fidl.new suffix Example usage: fidlc --json out.json --convert ./converted_out --files dep.fidl --files test.fidl Will output out.json and converted_out/test.fidl.new Test: run conversion pipeline on all FIDL files included in `kitchen_sink` (see Ifdf1da03e83e01cc71cb4d8d5fdfdde846f59e73) Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/539806 Original-Revision: d3ec4c5c5a04a68c2b87c4319d162a4d15482b88 GitOrigin-RevId: ef4110ae87dc8139bcc9920067b3deffa55da85a Change-Id: I2d110e0581a18757b903f76416698cdc950bc0e6
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.