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

Unified Diff: runtime/bin/builtin_no_io.cc

Issue 169753003: Don't depend on libdart_io in run_vm_tests and gen_snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Make run_vm_tests pass again. Note sure about run_vm_tests.host. Created 6 years, 10 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/builtin_no_io.cc
diff --git a/runtime/bin/io_natives.h b/runtime/bin/builtin_no_io.cc
similarity index 58%
copy from runtime/bin/io_natives.h
copy to runtime/bin/builtin_no_io.cc
index 7039234afc63b0fdc83c8b3e91607cac0e54a4af..883ad50214a7ee697ec50991b0b82850cf0d03a9 100644
--- a/runtime/bin/io_natives.h
+++ b/runtime/bin/builtin_no_io.cc
@@ -1,11 +1,9 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
Ivan Posva 2014/02/25 07:53:12 Do not change the copyright notices please. Especi
Anders Johnsen 2014/02/25 08:31:32 Yeah, wrong year was an oops. However, I was under
// 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.
-#ifndef BIN_IO_NATIVES_H_
-#define BIN_IO_NATIVES_H_
-
-#include "include/dart_api.h"
+#include "bin/io_natives.h"
+#include "platform/globals.h"
namespace dart {
@@ -13,9 +11,9 @@ namespace bin {
Dart_NativeFunction IONativeLookup(Dart_Handle name,
int argument_count,
- bool* auto_setup_scope);
+ bool* auto_setup_scope) {
+ return NULL;
+}
} // namespace bin
} // namespace dart
-
-#endif // BIN_IO_NATIVES_H_

Powered by Google App Engine
This is Rietveld 408576698