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

Unified Diff: runtime/bin/filter.cc

Issue 1839463002: Really remove io support when dart:io is unsupported. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
Index: runtime/bin/filter.cc
diff --git a/runtime/bin/filter.cc b/runtime/bin/filter.cc
index fb6c74b8a04fd9bf6e485711833d31eb97b360a2..60887ef4773a67bf4c75fa112f2edb8dcaa77ce0 100644
--- a/runtime/bin/filter.cc
+++ b/runtime/bin/filter.cc
@@ -2,8 +2,11 @@
// 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.
-#include "bin/dartutils.h"
+#if !defined(DART_IO_DISABLED)
+
#include "bin/filter.h"
+
+#include "bin/dartutils.h"
#include "bin/io_buffer.h"
#include "include/dart_api.h"
@@ -465,3 +468,5 @@ intptr_t ZLibInflateFilter::Processed(uint8_t* buffer,
} // namespace bin
} // namespace dart
+
+#endif // !defined(DART_IO_DISABLED)
« no previous file with comments | « runtime/bin/filter.h ('k') | runtime/bin/filter_unsupported.cc » ('j') | runtime/bin/socket.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698