b5ee6fa888
`ResolveUri` in the VM works on Uris, not on paths. Add `file://` to complete the uri with a schema, and remove `file://` again before calling dlopen. TEST=pkg/dartdev/test/native_assets/build_test.dart Added a relative path run. Closes: https://github.com/dart-lang/sdk/issues/52614 Change-Id: Ib253f530b9edecb69ba1ec2269874fdfc2693b37 Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/307460 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Hossein Yousefi <yousefi@google.com>