| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index bd21c6389f0f9939bf4cfea4fc11d21a3cd2b8f7..979f1b88f146478df4c0a95c901c6df12bcb12e6 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -6703,6 +6703,9 @@ Dart_CreateAppAOTSnapshotAsBlobs(uint8_t** vm_snapshot_data_buffer,
|
| #elif !defined(DART_PRECOMPILER)
|
| return Api::NewError(
|
| "This VM was built without support for AOT compilation.");
|
| +#elif defined(TARGET_OS_FUCHSIA)
|
| + return Api::NewError(
|
| + "AOT as blobs is not supported on Fuchsia; use dylibs instead.");
|
| #else
|
| API_TIMELINE_DURATION;
|
| DARTSCOPE(Thread::Current());
|
|
|