| commit | fd264739df9bda9448816dae1e5053e4995fd1ed | [log] [tgz] |
|---|---|---|
| author | Mitchell Kember <mkember@fuchsia.infra.roller.google.com> | Wed Dec 21 03:36:34 2022 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Tue Dec 20 19:37:49 2022 -0800 |
| tree | ad0b5d99e40c96286e59888dbe75873d8de38440 | |
| parent | e2d440fe192e9f97df7c4f579d71cdf3085ae806 [diff] |
[roll] Roll fuchsia [gidl] Reorganize source code
This CL reorganizes the GIDL Go packages. Before, nearly all 20+ of them
were in //tools/fidl/gidl. Also, some shared code was factored out into
libraries, to avoid backends depending on each other, but this was done
inconsistently (librust, llcpp/lib, hlcpp). Now, the packages are
oragnized like this:
//tools/fidl/gidl/
cmd/ commands
gidl the main gidl command
gidl_audit
lib/ libraries
config general GIDL libraries
ir
mixer
parser
util
cpp language-specific, shared between backends
hlcpp
llcpp
rust
backend/ backend libraries
c
cpp
dart
...
empty_test/ test empty .gidl compilation
This also makes the build files follow the recommendations from
https://fuchsia.dev/fuchsia-src/development/build/build_system/best_practices_templates?hl=en.
Test: fx test gidl --host
Test: go test go.fuchsia.dev/fuchsia/tools/fidl/gidl/...
Test: fx test fidl_{rust,{,hl,ll}cpp,go}_conformance fidl-c-conformance dart-bindings-test
Multiply: host_x64/fidl-c-conformance-host-tests: 100
Multiply: host_x64/fidl_rust_conformance_tests: 100
Multiply: host_x64/fidl_cpp_conformance_tests: 100
Multiply: host_x64/fidl_hlcpp_conformance_tests: 100
Multiply: host_x64/fidl_llcpp_conformance_tests: 100
Multiply: host_x64/obj/src/tests/fidl/fidl_go_conformance/fidl_go_conformance_tests.sh: 100
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/780785
Original-Revision: a575216c8313a7ea676dfbca5cf6e6af53e3bc20
GitOrigin-RevId: f4b937de211402a718b0ca5014e348d8434eece2
Change-Id: I4b21f4cc1304dcb08d8464a9022e684e62d63917
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.