| commit | 329b975fc97ae6fd91245dae0c86637fc25b4300 | [log] [tgz] |
|---|---|---|
| author | Daco Harkes <dacoharkes@google.com> | Mon Mar 17 21:29:20 2025 +0100 |
| committer | GitHub <noreply@github.com> | Mon Mar 17 20:29:20 2025 +0000 |
| tree | 167ddff2b5d50f2fe85a82ac68a17e670ab52132 | |
| parent | a3aad77121aaf4d927818ed704fb39d741676391 [diff] |
[native_assets_cli] Make generated syntax files stand on their own (#2102) Bug: https://github.com/dart-lang/native/issues/1826 `package:json_syntax_generator` is only reusable if the files are self contained. _Alternatively, we could make the generator take a config option for a JSON import. However, the downside would be that we would need copy paste the library file to multiple places._ Additionally, this PR cleans up all other uses of the `utils/json.dart` in `package:native_assets_cli`. The only remaining JSON helper is `sortOnKey()` because the asset-extension touches JSON manually and needs to sort the keys. (This could be addressed when addressing https://github.com/dart-lang/native/issues/2090.)
This repository is home to Dart packages related to FFI and native assets building and bundling.
| Package | Description | Issues | Version |
|---|---|---|---|
| ffi | Utilities for working with Foreign Function Interface (FFI) code. | ||
| ffigen | Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. | ||
| jni | A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen. | ||
| jnigen | A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine. | ||
| native_assets_builder | This package is the backend that invokes build hooks. | ||
| native_assets_cli | A library that contains the argument and file formats for implementing a native assets CLI. | ||
| native_toolchain_c | A library to invoke the native C compiler installed on the host machine. | ||
| objective_c | A library to access Objective C from Flutter that acts as a support library for package:ffigen. | ||
| swift2objc | A tool for generating bindings that allow interop between Dart and Swift code. | ||
| swiftgen | A tool for generating bindings that allow interop between Dart and Swift code. |
Packages not on this repo but also related to FFI and native assets. ❤️
| Package | Description | Version |
|---|---|---|
| native_toolchain_cmake | A library to invoke CMake for Dart Native Assets. | |
| native_toolchain_go | A library to invoke the native Go compiler installed on the host machine. | |
| native_toolchain_rust | A library to invoke the native Rust compiler installed on the host machine. |
For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.
For additional information about contributing, see our contributing page.