google / flutter-mediapipe

Apache License 2.0
165 stars 7 forks source link

Add utility to collect headers from google/mediapipe #10

Closed craiglabenz closed 8 months ago

craiglabenz commented 9 months ago

Summary

Adds a script to crawl google/mediapipe for the headers necessary to run ffigen for the flutter_mediapipe packages. This command assumes the two repositories (this one, google/flutter-mediapipe, and the main one, google/mediapipe) are both checked out on the machine running the command. google/mediapipe is assumed to be adjacent to google/flutter-mediapipe, though a CLI option exists to override this assumption.

Usage

$ cd packages/build_cmd
$ dart bin/main.dart headers [-s /path/to/google/mediapipe]

TODOs:

craiglabenz commented 8 months ago

This PR is also ready for final review, @Piinks 🎉