Index: runtime/bin/file_system_watcher_android.cc |
diff --git a/runtime/bin/file_system_watcher_android.cc b/runtime/bin/file_system_watcher_android.cc |
index ccf54da4fcb868c4ef2d54392e08f70d66a84294..4c0380ea2d19c83a6b5527c62f45419debe6b29e 100644 |
--- a/runtime/bin/file_system_watcher_android.cc |
+++ b/runtime/bin/file_system_watcher_android.cc |
@@ -2,6 +2,8 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+#if !defined(DART_IO_DISABLED) |
+ |
#include "platform/globals.h" |
#if defined(TARGET_OS_ANDROID) |
@@ -144,3 +146,5 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) { |
} // namespace dart |
#endif // defined(TARGET_OS_ANDROID) |
+ |
+#endif // !defined(DART_IO_DISABLED) |