commit | 9acf1ddae4093b4c202984e63fbee19482eb1367 | [log] [tgz] |
---|---|---|
author | Charles Celerier <chcl@google.com> | Fri Mar 14 23:29:19 2025 -0700 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 14 23:29:19 2025 -0700 |
tree | cf54ef643c1aba37efd732c0d6b33b3f04670e65 | |
parent | 571f0cf2e456d72136ab5c4dc388c2dc645d7ff8 [diff] |
[fidl][python] Initial creation and plumbing for fidlgen_python This change implements a basic fidlgen_python and plumbs a new fidl_python GN template through the fidl GN template so that FIDL targets can enable_python to generate Python FIDL bindings for testing. The initial implementation includes tests on a new conformance test suite limited to the portions of the full conformance test suite implemented by fidlgen_python. The limited conformance test suite depends on the test.conformance.python FIDL library generated at build time from a subset of the test.conformance FIDL library. I chose to generate the test.conformance.python FIDL library at build time to avoid duplicating test.conformance and being tempted to extend it without also modifying test.conformance. The overall goal of the initial fidlgen_python project is to have the static bindings pass the same full conformance test suite that the dynamic bindings pass without modifying the source code of the test suite. So far, this appears achievable by mererly swapping the fidl.test_conformance import at the top of the test suite with fidl_test_conformance_python. Test: Added fuchsia_controller_static_conformance_tests Bug: 355717613, 356216300 Fixed: 356194806, 356207485, 356210680 Change-Id: I943f40e7f4bdff11a28900e50d48a8e549ef682a Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1188515 Reviewed-by: Ian McKellar <ianloic@google.com> Reviewed-by: Christopher Johnson <crjohns@google.com> Fuchsia-Auto-Submit: Charles Celerier <chcl@google.com> Reviewed-by: Marc Khouri <mnck@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.