Skip to content

Integrate Rust updater build into GN/Ninja#120

Open
bdero wants to merge 1 commit intoshorebird/devfrom
bdero/shorebird-et
Open

Integrate Rust updater build into GN/Ninja#120
bdero wants to merge 1 commit intoshorebird/devfrom
bdero/shorebird-et

Conversation

@bdero
Copy link
Copy Markdown
Member

@bdero bdero commented Apr 1, 2026

Summary

  • Add a GN action() that invokes cargo build for the Rust updater library, so Ninja (and ET) can build the complete Shorebird engine without a separate shell script prerequisite step
  • Add build_rust_updater.py Python wrapper that handles cargo invocation and Android NDK cross-compilation setup
  • Simplify source_set("updater") in BUILD.gn to depend on the new action instead of hardcoding pre-built library paths

Test plan

  • et build -c host_debug (macOS host build)
  • et build -c ios_release (iOS cross-compile)
  • Android cross-compile
  • Linux CI
  • Windows CI

Add a GN action() that invokes cargo to build the Rust updater library,
so that Ninja (and ET) can build the complete Shorebird engine without
requiring a separate shell script prerequisite step.
@bdero bdero changed the title WIP: Integrate Rust updater build into GN/Ninja Integrate Rust updater build into GN/Ninja Apr 1, 2026
@bdero bdero marked this pull request as ready for review April 1, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant