Skip to content

Commit

Permalink
Properly return VM service assets on Fuchsia. (flutter#3406)
Browse files Browse the repository at this point in the history
In a previous change I re-included the observatory assets in the Fuchsia build, but didn't notice this bit here.

After this, if Settings::enable_observatory can be set to true somehow, the Observatory will come up in Flutter apps on Fuchsia. Unfortunately, I'm not sure how to do that.
  • Loading branch information
zanderso authored Feb 9, 2017
1 parent 26beb34 commit f286614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/dart_init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ Dart_Isolate IsolateCreateCallback(const char* script_uri,
}

Dart_Handle GetVMServiceAssetsArchiveCallback() {
#if FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_RELEASE || defined(OS_FUCHSIA)
#if FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_RELEASE
return nullptr;
#else // FLUTTER_RUNTIME_MODE
return tonic::DartConverter<tonic::Uint8List>::ToDart(
Expand Down

0 comments on commit f286614

Please sign in to comment.