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

Side by Side Diff: runtime/bin/dbg_connection_android.cc

Issue 10823209: Add support for building the Dart VM for Android OS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include <errno.h> 5 #include <errno.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <sys/epoll.h> 8 #include <sys/epoll.h>
9 9
10 #include "bin/dbg_connection.h" 10 #include "bin/dbg_connection.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 96
97 void DebuggerConnectionImpl::StartHandler(int port_number) { 97 void DebuggerConnectionImpl::StartHandler(int port_number) {
98 ASSERT(DebuggerConnectionHandler::listener_fd_ != -1); 98 ASSERT(DebuggerConnectionHandler::listener_fd_ != -1);
99 SetupPollQueue(); 99 SetupPollQueue();
100 int result = dart::Thread::Start(&DebuggerConnectionImpl::Handler, 0); 100 int result = dart::Thread::Start(&DebuggerConnectionImpl::Handler, 0);
101 if (result != 0) { 101 if (result != 0) {
102 FATAL1("Failed to start debugger connection handler thread: %d\n", result); 102 FATAL1("Failed to start debugger connection handler thread: %d\n", result);
103 } 103 }
104 } 104 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698