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

Side by Side Diff: runtime/vm/thread_interrupter_android.cc

Issue 116013003: Add missing include file for Android build (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 "platform/globals.h" 5 #include "platform/globals.h"
6 #if defined(TARGET_OS_ANDROID) 6 #if defined(TARGET_OS_ANDROID)
7 7
8 #include "vm/signal_handler.h"
8 #include "vm/thread_interrupter.h" 9 #include "vm/thread_interrupter.h"
9 10
10 namespace dart { 11 namespace dart {
11 12
12 DECLARE_FLAG(bool, thread_interrupter); 13 DECLARE_FLAG(bool, thread_interrupter);
13 DECLARE_FLAG(bool, trace_thread_interrupter); 14 DECLARE_FLAG(bool, trace_thread_interrupter);
14 15
15 class ThreadInterrupterAndroid : public AllStatic { 16 class ThreadInterrupterAndroid : public AllStatic {
16 public: 17 public:
17 static void ThreadInterruptSignalHandler(int signal, siginfo_t* info, 18 static void ThreadInterruptSignalHandler(int signal, siginfo_t* info,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 55
55 void ThreadInterrupter::InstallSignalHandler() { 56 void ThreadInterrupter::InstallSignalHandler() {
56 SignalHandler::Install( 57 SignalHandler::Install(
57 ThreadInterrupterAndroid::ThreadInterruptSignalHandler); 58 ThreadInterrupterAndroid::ThreadInterruptSignalHandler);
58 } 59 }
59 60
60 61
61 } // namespace dart 62 } // namespace dart
62 63
63 #endif // defined(TARGET_OS_ANDROID) 64 #endif // defined(TARGET_OS_ANDROID)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698