Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(815)

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 2774993002: Standalone support for AOT as dylibs on Fuchsia. (Closed)
Patch Set: gn format Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/extensions_fuchsia.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « runtime/bin/extensions_fuchsia.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698