native
native copied to clipboard
Dart packages related to FFI and native assets bundling.
Here is the error message. ``` bash (jnigen) INFO: ApiSummarizer.jar exists. Skipping build.. (jnigen) FINE: Set log level: ALL (jnigen) INFO: trying to obtain gradle dependencies [getReleaseCompileClasspath]... (jnigen) FINER: Writing...
Dry runs don't have to report `dependencies` right now. The rationale being that no assets are being built, and if for example some native compilation is happening a dry run...
We'd like to support the visionOS as SDK option when compiling with XCode. This should probably ~~either~~ be another `OS` ~~or another `IOSSdk`~~: https://github.com/dart-lang/native/blob/876f9a1948c1642a57640ef9b1526746042a17eb/pkgs/native_assets_cli/lib/src/api/target.dart#L36-L42 https://github.com/dart-lang/native/blob/876f9a1948c1642a57640ef9b1526746042a17eb/pkgs/native_assets_cli/lib/src/api/ios_sdk.dart#L10-L12 We need this in: *...
* [ ] Add a new `ProguardRulesAsset` in the API. * [ ] Consume that asset type in `flutter_tools`. This would address: * https://github.com/dart-lang/native/issues/681 We didn't have a tracking bug...
Adding all files in a directory as data assets seems to be a common use case. In Flutter, all files in a directory can be added as assets easily: https://docs.flutter.dev/ui/assets/assets-and-images#specifying-assets...
Currently we export everything. Before 1.0, it's best to at least separate them into libraries like Java packages. We would still export `java.lang.*` by default just like Java itself. *...
When using something like the camera on iOS/MacOS, the dylib needs to be bundled with a privacy manifest about why the permission is needed. We need some way to communicate...
Using the `CBuilder` in a build hook does currently not set an optimization flags for the C compiler. This means that by default C/C++ code gets compiled unoptimized, which is...
The default example is C, which doesn't need `extern "c"`, switching the compiler to cpp makes the symbol not resolve. Maybe we should add a CPP example.
https://github.com/dart-lang/native/actions/runs/9892410243/job/27325051731