commit | ba431cbbb8c3cf1cd0e39401185bb8b6776c9ac5 | [log] [tgz] |
---|---|---|
author | Daco Harkes <dc.harkes@gmail.com> | Tue Mar 19 11:30:22 2024 +0100 |
committer | GitHub <noreply@github.com> | Tue Mar 19 10:30:22 2024 +0000 |
tree | 9152c39f06a6da86d2af7adc219cd55819523b39 | |
parent | 7d99cebe6e3e372903e627e48299608283ddfb3f [diff] |
[native_assets_builder] `build.dart` -> `hook/build.dart` (#1018) * https://github.com/dart-lang/native/issues/823 Notes: * Should keep existing toplevel `build.dart` scripts working by trying both `hook/build.dart` and `build.dart`. * Does not migrate the examples yet, so that we don't have to do `breaking-change` is true in the ci. * Will do this after rolling into Dart. * `native_toolchain_c` had a `this.dartBuildFiles = const ['build.dart'],`. Updating that to `hook/build.dart` would not work for unmigrated scripts, because files listed as dependencies that don't exist will also trigger a rebuild, e.g. it is considered deleting a file. It would also break on any kind of invocation from `hook/link.dart`. So, I've removed the default value for now. It's not pretty though. Ideas @mosuem?
This repository is home to Dart packages related to FFI and native assets building and bundling.
Package | Description | 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 top-level build.dart scripts. | |
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. |
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.