| OLD | NEW |
| 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(HOST_OS_ANDROID) |
| 7 | 7 |
| 8 #include <sys/syscall.h> // NOLINT | 8 #include <sys/syscall.h> // NOLINT |
| 9 #include <errno.h> // NOLINT | 9 #include <errno.h> // NOLINT |
| 10 | 10 |
| 11 #include "vm/flags.h" | 11 #include "vm/flags.h" |
| 12 #include "vm/os.h" | 12 #include "vm/os.h" |
| 13 #include "vm/profiler.h" | 13 #include "vm/profiler.h" |
| 14 #include "vm/signal_handler.h" | 14 #include "vm/signal_handler.h" |
| 15 #include "vm/thread_interrupter.h" | 15 #include "vm/thread_interrupter.h" |
| 16 | 16 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 | 70 |
| 71 void ThreadInterrupter::RemoveSignalHandler() { | 71 void ThreadInterrupter::RemoveSignalHandler() { |
| 72 SignalHandler::Remove(); | 72 SignalHandler::Remove(); |
| 73 } | 73 } |
| 74 | 74 |
| 75 #endif // !PRODUCT | 75 #endif // !PRODUCT |
| 76 | 76 |
| 77 } // namespace dart | 77 } // namespace dart |
| 78 | 78 |
| 79 #endif // defined(TARGET_OS_ANDROID) | 79 #endif // defined(HOST_OS_ANDROID) |
| OLD | NEW |