[roll] Roll fuchsia [python] Simplify self extracting binary build

The original way of doing self extraction was to embed the ZIP file to
be extracted as a data field in a Rust binary, where there is one binary
built per test. This required a full rebuild of the Rust binary for each
test change.

Two features of ELF and ZIP formats allow us to simplify the
construction of these binaries:
1. ELF files can have arbitrary data appended, which does not affect
   their execution.
2. ZIP files can have arbitrary data prepended, which does not affect
   extraction.

Instead of creating a separate binary for each test, we instead create a
base binary, and for each test we create a new copy of that binary with
the ZIP file for the test concatenated.

This speeds up local builds of the RTC test by over 65%, representing a
reduction in development cycles of over 60 seconds.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1174973
Original-Revision: 13951f3a8d3da798614a69b86306200dbed61caa
GitOrigin-RevId: d7111b7e0c4fa0692abdb5dc5c455eef385058b5
Change-Id: I5b4ed91929944854031a2581c40305775434259c
1 file changed
tree: 2e036af1a30f9f0ce564a4f2f213a6eadf66a21d
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.