Index: runtime/bin/main.cc |
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc |
index 072b0534051cf26bac86975c489f8584e54eeb6b..cf9f202d2f99300a4d5a5493103c73242d0cd5ea 100644 |
--- a/runtime/bin/main.cc |
+++ b/runtime/bin/main.cc |
@@ -1499,7 +1499,7 @@ bool RunMainIsolate(const char* script_name, |
// Observatory assets are only needed in the regular dart binary. |
-#if !defined(DART_PRECOMPILER) |
+#if !defined(DART_PRECOMPILER) || !defined(NO_OBSERVATORY) |
extern unsigned int observatory_assets_archive_len; |
extern const uint8_t* observatory_assets_archive; |