mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 18:47:55 +00:00
4b2906cdc1
This will enable the standalone embedder to resolve uris in a follow up CL: https://dart-review.googlesource.com/c/sdk/+/361881 The implementation was using zones for allocation, this CL switches that to using `malloc`. The caller is responsible for freeing the memory if resolving succeeds. This CL removes `Dart_DefaultCanonicalizeUrl`. We don't have a run_platform_tests, so this CL keeps the tests in run_vm_tests. TEST=vm/cc/ParseUri TEST=vm/cc/ResolveUri TEST=tests/ffi/native_assets/asset_relative_test.dart Bug: https://github.com/dart-lang/sdk/issues/55523 Change-Id: Ifb300d8164eb50506f22ce619fad0811f74ef34c Cq-Include-Trybots: luci.dart.try:vm-aot-asan-linux-release-x64-try,vm-aot-msan-linux-release-x64-try,vm-asan-linux-release-arm64-try,vm-asan-linux-release-x64-try,vm-msan-linux-release-arm64-try,vm-msan-linux-release-x64-try,pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-try,pkg-mac-release-arm64-try,pkg-win-release-arm64-try,pkg-win-release-try,vm-aot-linux-debug-x64-try,vm-linux-debug-x64-try,vm-reload-linux-debug-x64-try,vm-reload-rollback-linux-debug-x64-try,vm-aot-win-debug-x64-try,vm-win-debug-arm64-try,vm-mac-debug-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368423 Reviewed-by: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
observatory | ||
platform | ||
tests | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
OWNERS | ||
PRESUBMIT.py | ||
runtime_args.gni | ||
vm-jit.shard.cml | ||
vm.shard.cml |